Can I set a dynamic value for my conversions?

ClickMeter provides users with dynamic conversion tracking capabilities. This means is users can include specific syntax in the ClickMeter HTML conversion codes variables to record additional information like shopping cart value. The required syntax is not universal and is specific to the checkout platform (See our FAQ about Shopify Conversion Tracking). Users will need to contact their shopping cart platform support to obtain the correct syntax. 

After creating the ClickMeter conversion code in the dashboard and embedding into the appropriate area of the checkout platform users will need to update the (var ClickMeter_conversion_value = '0.00';) with the respective checkout platforms syntax.  In the example below we've updated the conversion code that can be used with Shopify.  

<!--ClickMeter.com code for conversion: Purchase -->

<script type='text/javascript'>
var ClickMeter_conversion_id = '6307E3114AB3441DD8ED02B1ABC3EFND';
var ClickMeter_conversion_value = '{{ total_price | money_without_currency }}';
var ClickMeter_conversion_commission = '0.00';
var ClickMeter_conversion_commission_percentage = '0.00';
var ClickMeter_conversion_parameter = 'empty';
</script>
<script type='text/javascript' id='cmconvscript' src='//s3.amazonaws.com/scripts-clickmeter-com/js/conversion.js'></script>
<noscript>
<img height='0' width='0' alt='' src='//www.clickmeter.com/conversion.aspx?id= '6307E3114AB3441DD8ED02B1ABC3EFND'&val=0.00&param=empty&com=0.00&comperc=0.00' />
</noscript>

 

Here are some common examples of the correct syntax used to record values as provided by Facebook Business

Shopify:

'{{ total_price | money_without_currency }}','currency':'USD'

Magento:

<?php echo $amount; ?> 

WooCommerce:

<?php echo $order->get_order_total(); ?> 

Squarespace:

{orderGrandTotal} 

BigCommerce:

%%ORDER_SUBTOTAL%%;

 

Shopify has been by far the most forward in providing their users with the correct syntax for conversion tracking. If you're a Shopify user please view our Shopify Conversion Tracking FAQ's: 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.