Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

Set up Daisycon tracking in your online store

How to implement Daisycon conversion tracking in your Shoporama store with the correct Smarty code, so each order is only counted once.

Reading time: about 3 minutes
Store owner

If you use Daisycon for affiliate marketing, you need to add a tracking pixel to your order confirmation page. This guide shows you how to adapt Daisycon's conversion tracking code to Shoporama.

Implementation

The code must be added to thanks.html in your theme. You will need a developer to do this.

Daisycon gives you code with placeholders such as [amount], [transaction_id], and so on. Replace them with Smarty variables:

Daisycon variableShoporama Smarty code
[amount]<{math equation=x*0.8 x=$order->getPrice()}>
[transaction_id]<{$order->getWebshopOrderId()}>
[revenue]<{math equation=x*0.8 x=$order->getPrice()}>
[description]<{$order->getWebshopOrderId()}>

The finished code (wrapped in a Smarty if block so it only fires on a purchase, and only once per order):

<{if $order && !$order->getTrackingCalled()}>
  <{math assign="daisycon_amount" equation=x*0.8 x=$order->getPrice()}>
  <img src="https://jdt8.net/t/?ci=YOUR_CAMPAIGN_ID&a=<{$daisycon_amount}>&ti=<{$order->getWebshopOrderId()}>&r=<{$daisycon_amount}>&pn=<{$order->getWebshopOrderId()}>"
    style="border:0; height:1px; width:1px;" alt="" />
<{/if}>

Note

Replace YOUR_CAMPAIGN_ID with your Daisycon campaign ID. The factor 0.8 in the calculation removes VAT, because getPrice() returns the price of the products incl. VAT but without shipping. Adjust as needed.

Only one conversion per order

The check !$order->getTrackingCalled() makes sure the pixel only fires once per order. If the customer reloads the receipt page, the conversion is not sent to Daisycon again. Without the check, you risk the same order being registered several times in Daisycon.

The flag is set by the theme's built-in tracking code once it has sent its own purchase events. If your theme does not use Shoporama's built-in tracking code, you must mark the order yourself by adding <{$order->setTrackingCalled()}> as the last line just before <{/if}>. Otherwise the check has no effect.

Need help? Contact us at support@shoporama.dk.