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. 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.  

<! 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 type='text/javascript' id='cmconvscript' src='//'></script>
<img height='0' width='0' alt='' src='// '6307E3114AB3441DD8ED02B1ABC3EFND'&val=0.00&param=empty&com=0.00&comperc=0.00' />


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


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


<?php echo $amount; ?> 


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






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


Article is closed for comments.