I wanted to implement a third-party product to handle user consent with my website that uses Shopify. This requires that I add a script tag to my website and Shopify store that loads the software to handle the user consent. It's easy enough to get it working on my website and Shopify theme, but the checkout is a different story.
Old stores that use checkout.liquid are very easy to get it working, we simply can add the script tag to our checkout.liquid. However, newer stores do not use checkout.liquid and I am having hard time finding resources online that describe how to inject a script into our checkout using Checkout UI Extensions/Checkout Extensibility.
Does anyone have any guidance on how this would be done? Or is it not currently possible? Thanks
Solved! Go to the solution
@SBD_ Thanks for that input, would a Shopify App or something else be capable of adding behaviors of a third-party script tag to the checkout? Im just trying to see if this is even possible on the new style stores regardless of the method.
If anyone was curious, due to the limitations of the sandbox environment of custom pixels, the custom pixel would not be suitable for my use case because I need user interface elements to be rendered. However, this should work well for any 3rd party scripts that fit the intended use of the custom pixel, to hook into the analytics events provided by Shopify and report on those.
Pixels overview · Sandbox Limitations
hi @IQAir_Developer Did you find a way to implement this? I am also trying to figure out how to add a live chat snippet into the checkout extensibility. I don't find any instructions regarding how to add those...
I have created shopify checkout extension and calculating recurring total, However there is question when I installing app on live store shopify automatically adding recurring subtotal which is I don't want to add it.