Home5 Conversions5 How to set a dynamic value for your conversions

How to set a dynamic value for your conversions

Jul 3, 2019 | Conversions, Conversions Tracking, 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

LinkedIn URL Shortener

LinkedIn URL Shortener

LinkedIn is one of the platforms that have been developing the most in recent times. Born as a social network created and designed exclusively for work, it ended up evolving rapidly.Social media has had a huge impact on the way people present their companies, their...

Six Creative Ways to Improve your Conversion Rate

Six Creative Ways to Improve your Conversion Rate

Hey, you—look at us! No—we want your attention! Don’t focus on them—see how much better we are! Though the average person might not be cognizant of it, this is exactly what it’s like online these days. Marketers are puppeteers, traffic directors, pilots, etc....

Your All-In-One Link Management Solution

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