Install a Tracker: Hybrid
For a Shopify store that uses Google Tag Manager: the Hybrid method, a Tag Manager tag for the storefront and a Shopify custom pixel for checkout.
Use Hybrid for a Shopify store that also uses Google Tag Manager. Get the code first: in the campaign's Conversion Tracking card, click Get install code, pick Hybrid — see Conversion Tracking.
For a Shopify store that also uses Google Tag Manager, you get two pieces of code: For Google Tag Manager, which covers your storefront, and For Shopify, which covers checkout. Each has its own Copy code.
- 1In Google Tag Manager, open Admin → Install Google Tag Manager and copy the install code. Depending on your container, it's one Google tag snippet, or a head snippet and a noscript snippet. Skip to step 5 if Tag Manager is already in your theme.
- 2In Shopify, go to Online Store → Themes, click ⋯ beside your current theme, then Edit code.
- 3Open layout/theme.liquid and paste the head snippet right after <head>.
- 4If there's a noscript snippet, paste it right after <body>. Then click Save.
- 5In Google Tag Manager, go to Tags → New → Tag Configuration and choose Custom HTML. Name the tag and paste the For Google Tag Manager code.
- 6Under Triggering, add a Page View trigger set to Some Page Views, firing where Page URL contains your tracker's page (for example, /pages/spring-sale).
- 7Save the tag, then click Submit and Publish.
- 8In Shopify, open Settings → Customer events, click Add custom pixel, name it Blockboard, paste the For Shopify code, click Save, then Connect — see Install a Tracker: Shopify.
- 9If Shopify asks for permissions, accept the defaults.
NoteBoth halves are needed: Tag Manager covers the storefront, the Shopify custom pixel covers checkout. Installing only one leaves a gap where the conversion is.
Next: Check It's Tracking
Back in BlockVantage, press the tracker's status, or Check status in your tracking checklist. See Check It's Tracking in Conversion Tracking.