Tracking orders in various currencies

Tracking orders in various currencies

If it is possible to buy in various currencies at your e-shop, then the currency of values needs to be defined while entering an order.

To define currency, it suffices to add in tracking a single line – sale.setCurrency

General tracking code:

<script type="text/javascript" id="pap_x2s6df8d" src="https://login.dognet.sk/scripts/fj27g82d"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('XXXXXXXXXXXXXX');
var sale = PostAffTracker.createSale();
sale.setCampaignID('YYYYYYYY');
sale.setTotalCost('123.45'); 
sale.setOrderID('12345XYZ'); 
sale.setProductID('paralen complex 250mg 30 tbl, žuvačky orbit'); 

PostAffTracker.register();
</script>

 

Code upon addition of the line to define currency:

<script type="text/javascript" id="pap_x2s6df8d" src="https://login.dognet.sk/scripts/fj27g82d"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('XXXXXXXXXXXXXX');
var sale = PostAffTracker.createSale();
sale.setCampaignID('YYYYYYYY');
sale.setTotalCost('123.45'); 
sale.setOrderID('12345XYZ'); 
sale.setProductID('paralen complex 250mg 30 tbl, žuvačky orbit'); 
sale.setCurrency('CZK');

PostAffTracker.register();
</script>

 

Possible values in the line sale.setCurrency are:

Katka Novotná
Katka Novotná

Viac ako dva roky som pracovala na pozícií e-commerce marketér a zvyšovala som obraty rôznym eshopom. Niektoré z nich sa vyšplhali až na Shop Roku (ocenenie od Heureka.sk). Mám skúsenosti s PPC Adwords aj Facebook. Analytics mi je veľmi blízky. Pre reklamnú agentúru Wiktor Leo Burnett som pomáhala s UX/UI webových projektov a aplikácií pre veľkých klientov. Vo voľnom čase tvorím webové stránky založené prevažne na WordPresse.

More articles that might interest you

Which campaigns are available in our network?