All things Shopify and commerce
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>
Solved! Go to the solution
This is an accepted solution.
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:
4. Paste your tracking code from your clipboard with cmd + v on a Mac or ctrl + v on a PC.
Thank you,
Tejas
This is an accepted solution.
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:
4. Paste your tracking code from your clipboard with cmd + v on a Mac or ctrl + v on a PC.
Thank you,
Tejas
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
Yes, this script will trigger on thank you page.
Thank you,
Tejas
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!
This answer seems to be outdated. There is no "additional scripts" field under the Order processing heading anymore. I see these fields only under the "Order status" or "Post purchase" pages. Which one qualifies as the "Thank you" page?
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024