Google Tag Manager Shopify Integration with App . Check if a Shopify discount code is valid from the storefront or Script Tag by Joshua Harms If you're building a custom shopping cart page, you might want to add a discount code textbox which customers can use to enter a discount code before they check out. You're free to use other Liquid variables in your targeting. It's added in between the script tags in theme.liquid. This object can be useful when debugging scripts. Add a new page Login to your Shopify store > Online store > Pages > Add pages Add title > Save changes Insert track button Under "Snippets", find the bold-common.liquid file: If it doesn't currently exist: Select Add a new snippet. 7 Paste the exact code from below just before the [/head] tag In the current theme you’re using, click Actions and Edit Code. Login to your Shopify store.In the left menu, click Online StoreFor the theme you would like to edit, expand the Actions menu and choose Edit Code. Insert the following code just above the

tag: Step 2 - Install the order confirmation script. Not dependant on {{ 'customer_area.js' | shopify_asset_url | script_tag }} to avoid being restricted to just toggling visibility of address forms rather than opening a popup or anything else. When you create or edit a script, you choose whether it will run in your online store only, or in your online store and in the following apps: ... Update your Liquid template files to take advantage of your scripts. In the same "theme.liquid" HTML template where you have pasted the Shoutbox script, paste the Cue script right beneath it. Enter the following