For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hi everyone - we maintain a 7 year old app installed by about 800 shops that does affiliate tracking. Currently, upon install, the app installs a ScriptTag which calls JS that reads the URL and stores any "clickId" parameter it finds in a cookie that we read later upon purchase. Now that ScriptTags are going away, what is the official supported method to perform this function?
I had hoped that we might be able to use "landing_site" property in the API order record to get this info but, after some study, only a small fraction of our affiliate conversions have this field populated with the clickId we need.
I imagine we can't be the only folks running into this problem so I'm hoping there's some extension based solution or other method that has been tested and blessed already.
Solved! Go to the solution
This is an accepted solution.
App blocks can bring in javascript.
ScriptTags are not going away they are merely recommended to be used to support vintage themes for NEW apps.
It's checkout-scripts that are being depreciated.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
App blocks can bring in javascript.
ScriptTags are not going away they are merely recommended to be used to support vintage themes for NEW apps.
It's checkout-scripts that are being depreciated.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi Paul - thank you for the quick and thorough response. This is indeed good news as we were originally contacted by Shopify saying that ScriptTags would definitely be replaced on the Order Status/Thank You page. We inferred that they would be replaced everywhere.
Just so I'm totally clear, has Shopify walked back the deprecation of ScriptTags on the Order Status/Thank You page as well? This is where our ScriptTag reads the data back in from the cookie and contacts our servers to complete the conversion.
Hi @dougbright,
You are right, ScriptTags will be deprecated and will not work once a merchant has upgraded the order status and thank you pages to checkout extensibility. We have seen this with a few Shopify Plus merchants which performed the upgrade and where the tracking broke afterwards as the script was no longer injected.
They can still revert those pages back for now.
For apps the long-term solution will be to look at Shopify's web or server pixels.
https://shopify.dev/docs/apps/marketing/pixels
ScriptTags and Additional scripts on the Order Status Page (OSP) and Thank You page (TYP) will be completely deprecated Aug 12, 2025.