Implement Pricerunner tracking
Guide to implementing Pricerunner conversion tracking on your Shoporama online shop with proper Smarty code.
To track your sales in Pricerunner, you need to implement a conversion pixel on your order confirmation page. Here's a guide to do it on Shoporama.
The code
Paste the following code on your /thanks page(or in your order tracking code if you have it separate). Replace [MERCHANTID] with your Pricerunner Merchant ID:
<{if $order && !$order->getTrackingCalled()}> <img width="1" height="1" style="display:none" src="https://www.pricerunner.dk/track/pixel/[MERCHANTID]?OrderTotalInclVat=<{$order->getPrice()|number_format:2:": ""}>&OrderCurrencyISO=<{$webshop->getCurrency()}>" alt="" /> <{/if}>
What does the code do?
{if $order && !$order->getTrackingCalled()}- Ensures that the pixel is only fired once per order$order->getPrice()- Gets the order price including VAT$webshop->getCurrency()- Gets the shop currency (e.g. DKK)
Where do I find my Merchant ID?
You can find your Merchant ID in your Pricerunner dashboard under the integration or tracking settings.
Placement in theme
The code should be placed in the thanks.html file in your theme, or in the common tracking snippet included on the order confirmation page.
Need help with implementation? Contact us at support@shoporama.dk.