Add conversion script to thank you page

Solved
Highlighted
New Member
2 0 0

I have script from advertiser company to track number of conversions in thank you page, and below is the script, can anyone teach me how to do this

 

<script type="text/javascript">
window._pop = window._pop || [];
window._pop.push(["_set_conversion_id","Bangkokbanana_th"]);
window._pop.push(["_set_action","cv"]);
(function() {
var el = document.createElement("script"); el.type = "text/javascript"; el.async = true;
el.src=(("https:" == document.location.protocol) ? "https://" : "http://") + "api.popin.cc/conversion2.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(el, s);
})();
</script>

0 Likes
Highlighted

Success.

Shopify Partner
851 185 315

@emgdt 

 

1. After you have your tracking code, copy it to your clipboard with cmd + c on a Mac or ctrl + c on a PC.

2. From your Shopify admin, go to Settings > Checkout.

3. Under Order processing, go to the Additional scripts text box. It would be like following:

appdevsm2   Checkout   Shopify (1).png

 

4. Paste your tracking code from your clipboard with cmd + v on a Mac or ctrl + v on a PC.

 

Thank you,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
1 Like
Highlighted
New Member
2 0 0

thanks for help, it means that the script I add in order processing will be processed in thank you page am i correct?
I dont need to add additional code on my script

0 Likes
Highlighted
Shopify Partner
851 185 315

@emgdt 

 

Yes, this script will trigger on thank you page.

 

Thank you,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
1 Like
Highlighted
Tourist
3 0 1

I'm looking to set up goal tracking on Google analytics but having trouble identifying a thank you page on Shopify. It appears that there isn't a standard /thank_you URL that I can add to GA. Please advise. Thank you!

0 Likes