Jump to content

Conversion tag - probelm


Recommended Posts

I need to add the following script to the order confirmation page. When I add to the end / beginning of the order_confirmation.tpl file after placing the order a blank page loads.


 

<script>

(function (c,o,n,v,e,r,t){c['TouchPointObject']=e;c[e]=c[e] || function (){

(c[e].q=c[e].q || []).push(arguments)},r=o.createElement(n),t=o.getElementsByTagName(n)[0];

r.async=1;r.src=v;t.parentNode.insertBefore(r,t)

})(window,document,'script','https://tp.convertiser.com/touchpoint.js','touchpoint');


touchpoint('conversion',

{

  'goal_id': 'adc8dedsdsds2d-3da8c700-9ef3481c83e6',

  'order_id': 'TRACKING_ID',

  'order_amount': 'AMOUNT'

}

);

</script>

 

Edited by Tomasz Jarka (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...