Navegg for websites, blogs and e-commerces and Navegg for big agencies and advertisers’ customers can implement the conversion tag to monitor sales conversions. The javascript conversion tag that must be inserted in the conversion page, which is usually the sale’ confirmation page. Please find below the conversion’s tag template:
try{ nvgID.conversion( "0.00" ); }catch(err){}
- The ID code refers to your account’s ID. This value varies according to each account.
- The “0.00” value must be substituted for the purchase’s value, in order for our system to receive and process the conversion value information.
Note that conversion call has, as a prerequisite, the implementation of the Javascript Tag, as specific documentation.
Technical Examples
Two examples of how this integration can be done, with JavaScript and PHP:
JavaScript – If you have access to the purchase’s value in a javascript variable, you must substitute “0,00” for “sale_value”
<script type="text/javascript"> var sale_value = "98.99"; try { nvgID.conversion(sale_value); } catch (err) {} </script>
- The “98.99” value must be substituted for the purchase’s value, in order for our system to receive and process the conversion value information.
PHP – If you have access to the purchase’s value in PHP variable, you must substitute “0,00” for “$sale_value”
<script type="text/javascript"> try { nvgID.conversion("<?php echo $sale_value;?>"); } catch (err) {} </script>