Home5 Conversions5 How to set a dynamic value for your conversions

How to set a dynamic value for your conversions

Jul 3, 2019 | Conversions, JotURL, Tracking Links

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&param=’/>
</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}

Share

Tags

Featured posts

THE EASIEST WAY TO CREATE A DEEP LINK TO TARGET

THE EASIEST WAY TO CREATE A DEEP LINK TO TARGET

In 2023, mobile marketing continues to soar to greater heights as digitization and the rise of online shops become more prevalent in people's global habits, for this reason, it is important to understand the benefits of new technologies to improve the use of these...

THE EASIEST WAY TO CREATE A DEEP LINK TO LTK

THE EASIEST WAY TO CREATE A DEEP LINK TO LTK

As the digital marketplace expands more and more, in 2023 this phenomenon is pushing harder than ever, more and more users are resorting to online shops or merchants to buy items of all kinds: clothes, home décor items, personal hygiene care items, and pet care items....

Your All-In-One Link Management Solution

Everything you need to brand, track, and grow your business in one easy-to-use platform.