JotUrl provides users with dynamic conversion tracking capabilities.
This means that if you have multiple values that you want to track (for example, you’re selling multiple items with different prices), you can make the conversion value dynamic and you can include specific syntax in the JotUrl HTML conversion codes variables to record additional information. Adding dynamic values allows you to accurately track the cost of each purchase.
Unfortunately, the required syntax is not universal and it is specific to the shopping platform.
Therefore, we recommend asking your website developer to dynamically pass the value of the purchase: instead of adding a set value to the code, such as 0.00, your developer will add dynamic code that automatically determines the correct price of the sale
After creating the JotUrl conversion code on your dashboard and embedding it into the appropriate area of the shopping platform (usually, on the thank-you page), you will need to update the var joturl_conversion_value = ‘0.00’; with the respective syntax provided by you shopping platform. In the example below we’ve updated the value of the conversion with the syntax that can be used within Shopify.
<script type=’text/javascript’>
var joturl_conversion_id = ‘0123456789abcdef0123456789abcdef0123456789abcdef’;
var joturl_conversion_value = ‘{{ total_price | money_without_currency }}‘;
var joturl_conversion_commission = ‘0’;
var joturl_conversion_param = ”;
var joturl_domain_value = ‘www.joturl.com’;
</script>
<script type=’text/javascript’ src=’https://static.joturl.com/js/conversion.js’></script>
<noscript>
<img height=’0′ width=’0′ alt=” src=’https://www.joturl.com/c/?id=0123456789abcdef0123456789abcdef0123456789abcdef&val={{ total_price | money_without_currency }}&comm=0¶m=’/>
</noscript>
Purchase variables vary from site to site, so you’ll have to work with your developer to understand your site’s variables. Here are some common examples:
Shopify:
{{ total_price | money_without_currency }}
Magento:
<?php echo $amount; ?>
WooCommerce:
<?php echo $order->get_total(); ?>
BigCommerce:
%%ORDER_SUBTOTAL%%
Squarespace:
{orderGrandTotal}