The Complete Guide to Analytics Tagging Plans for Shopify Stores
If you run a Shopify store and struggle to trust your analytics data, a tagging plan is the fix you have been missing. A tagging plan — sometimes called a tracking plan or measurement plan — is the single document that defines exactly what events to track, how to name them, and what data to collect with each one. Without it, your Google Analytics 4 reports are full of duplicates, your Meta Pixel fires at the wrong moments, and your conversion rate data cannot be trusted.
This guide explains what a tagging plan is, why every Shopify merchant needs one, and how to build and maintain one that scales with your store. Whether you are setting up analytics from scratch or auditing a messy existing implementation, this article covers everything.
What Is a Tagging Plan?
A tagging plan is a structured document — usually a spreadsheet or a database — that lists every tracking event your website or app should fire, along with all the properties (parameters) that should be sent with each event. Think of it as a contract between your marketing team, developers, and analytics platforms.
Each row in a tagging plan typically describes one event. Columns define the event name, the trigger condition (what user action or page state causes it), the properties attached to it, their data types, and whether they are required or optional. For a Shopify store, a well-built tagging plan covers every step of the customer journey: from landing page views to product impressions, add-to-cart actions, checkout steps, and post-purchase confirmations.
Tagging Plan vs. Tracking Plan vs. Measurement Plan
These three terms are used interchangeably in the industry, and all refer to the same concept. Some teams prefer ‘measurement plan’ because it emphasizes business goals over technical implementation. Others say ‘tracking plan’ to focus on the technical layer. ‘Tagging plan’ is the most common term among Google Tag Manager users because tags are the mechanism that sends data. In this guide, all three terms mean the same thing.
Why Shopify Stores Need a Tagging Plan
Shopify is the most popular e-commerce platform in the world, which means it is also one of the most over-tagged. Store owners add apps from the Shopify App Store, each of which injects its own scripts. Developers install Google Tag Manager and create tags without documentation. Marketing agencies connect ad platforms directly through the Shopify admin. Over time, the result is a pile of conflicting, duplicate, and incorrect data.
A tagging plan solves this by creating a single, agreed-upon list of what should and should not fire. It prevents duplicate events, ensures consistent naming, and gives every team member — marketing, development, and analytics — the same reference point.
Business Benefits of a Tagging Plan
- Accurate conversion tracking: Know exactly how many purchases, sign-ups, or add-to-cart events occurred — without double-counting.
- Better ad optimisation: Google Ads, Meta, and TikTok all depend on clean event data to optimise bidding. Garbage in means wasted ad spend.
- Faster onboarding: New developers and agencies can understand your tracking setup in minutes, not weeks.
- Audit-ready data: When a stakeholder questions a metric, you can trace every data point back to its source.
- Compliance support: GDPR and CCPA require you to know exactly what data you collect. A tagging plan makes that documentation straightforward.
Core Components of a Shopify Tagging Plan
A complete tagging plan for a Shopify store contains several key sections. Understanding what belongs in each section is the foundation of building one correctly.
1. Event Inventory
This is the main table in your tagging plan. Each row is one trackable event. For a Shopify store, your event inventory should cover at least these categories:
- Page views and virtual pageviews (collection pages, product pages, blog posts, etc.)
- Product interactions (view_item, select_item, view_item_list)
- Cart events (add_to_cart, remove_from_cart, view_cart)
- Checkout funnel events (begin_checkout, add_payment_info, add_shipping_info)
- Purchase confirmation (purchase)
- Marketing interactions (newsletter sign-up, discount code application, wishlist add)
- User account events (login, sign_up, profile update)
- Search events (search, view_search_results)
2. Event Properties (Parameters)
Each event carries properties that add context. For the purchase event on Shopify, for example, you need to pass transaction_id, value, currency, items (an array of product objects), coupon, and shipping. Your tagging plan defines each property, its data type (string, number, array), whether it is required, and the source of the data in your Shopify store.
3. Trigger Conditions
The trigger column explains what user action or page condition causes the event to fire. This is critical for implementation. ‘Fires on the order confirmation page’ is not specific enough. A good trigger description reads: ‘Fires on /thank_you page, once per session, when window.Shopify.checkout.order_id is present.’
4. Platform Mapping
Your tagging plan should map each event to every analytics platform that needs to receive it. A purchase event, for example, might need to go to Google Analytics 4, the Google Ads conversion tag, the Meta Pixel, the TikTok Pixel, and your email marketing platform. Documenting this in the plan prevents missed implementations.
5. Data Layer Specification
For Shopify stores using Google Tag Manager, the tagging plan should include a data layer spec — the exact object structure that Shopify themes or custom code will push to dataLayer. This is the bridge between your Shopify store and your GTM container.
The Standard Tagging Plan for Shopify: A Template
Here is the recommended event set for a Shopify store following the Google Analytics 4 e-commerce specification. This covers the standard purchase funnel and maps directly to Shopify’s checkout flow.
| Event Name | Trigger | Key Properties |
| page_view | Every page load | page_title, page_location, page_path |
| view_item_list | Collection page load | item_list_name, items[] |
| select_item | Product click from list | item_list_name, items[] |
| view_item | Product page load | currency, value, items[] |
| add_to_cart | Add to Cart button click | currency, value, items[] |
| view_cart | Cart page or drawer open | currency, value, items[] |
| remove_from_cart | Remove item from cart | currency, value, items[] |
| begin_checkout | Checkout button click | currency, value, coupon, items[] |
| add_shipping_info | Shipping step complete | currency, value, shipping_tier, items[] |
| add_payment_info | Payment step complete | currency, value, payment_type, items[] |
| purchase | Order confirmation page | transaction_id, value, tax, shipping, currency, items[] |
| search | Search form submission | search_term |
| sign_up | Account creation form | method |
| login | Account login success | method |
How to Build a Tagging Plan for Your Shopify Store
Building a tagging plan from scratch takes about four to eight hours for a typical Shopify store. Here is the process step by step.
Step 1: Define Your Measurement Goals
Before listing a single event, clarify what business questions your analytics data needs to answer. Common goals for Shopify stores include: measuring marketing channel ROI, identifying checkout drop-off points, understanding product discovery paths, and tracking the impact of promotions. Each goal maps to specific events and properties.
Step 2: Audit Your Existing Tracking
If your store already has analytics code installed, audit it first. Use Google Tag Manager’s Preview mode to see which tags fire on each page. Use browser developer tools to check what dataLayer pushes occur. Use GA4 DebugView to see events in real time. Document what is currently firing, identify duplicates, and flag any missing events.
Step 3: Map Your Customer Journey
Draw a simple flowchart of how a customer moves through your Shopify store: from landing page to collection page, product page, cart, checkout (contact, shipping, payment), and order confirmation. Each step in this journey is a candidate for a tracking event. Add any off-funnel interactions that matter, such as search, wishlist, and account creation.
Step 4: Create the Event Inventory
In a spreadsheet (Google Sheets or Notion work well), create a table with these columns: Event Name, Category, Description, Trigger, Page/Location, Properties, Platform Destinations, Priority, and Status. Fill in one row per event. Use GA4 recommended event names where possible — this ensures compatibility with GA4 reports and Google Ads smart bidding.
Step 5: Write the Data Layer Specification
For each event that requires data from Shopify (such as product details, cart contents, or order information), write the exact dataLayer.push() object that your theme or app should generate. Include all required properties, their data types, and example values. This spec is what your developer will implement.
Step 6: Define Naming Conventions
Consistent naming is one of the highest-value things a tagging plan provides. Agree on a naming convention before you start and document it. GA4 uses snake_case for event names (add_to_cart, not AddToCart or add-to-cart). Custom events should follow a pattern such as [category]_[action], for example: promo_banner_click or filter_applied.
Step 7: Assign Ownership and Status
Each event in the plan should have a status column: Planned, In Development, Live, or Deprecated. Assign an owner to each event — the person responsible for ensuring it is implemented correctly. Review the status column at least monthly.
Pro tip: Use color coding in your tagging plan spreadsheet to show status at a glance. Green = Live and verified, Yellow = In development, Red = Broken or missing, Grey = Deprecated.
Tagging Plan for Google Tag Manager on Shopify
Most Shopify stores that need advanced tracking use Google Tag Manager. GTM sits between your Shopify store and your analytics platforms, acting as a container for all your tracking tags. Your tagging plan and your GTM setup should mirror each other exactly.
GTM Data Layer and Shopify
Shopify’s native checkout process limits what you can customise, which complicates data layer implementation. In the pre-checkout steps (cart, product pages, collection pages), you have full control over the theme and can push to dataLayer freely. In the checkout itself (which runs on checkout.shopify.com for most plans), you are limited to Shopify’s Web Pixels API or the checkout.liquid file (on Shopify Plus only).
For standard Shopify plans, use Shopify’s Customer Events and Web Pixels API to fire events during checkout. For Shopify Plus stores, you can add custom JavaScript in checkout.liquid, giving you full dataLayer access throughout the funnel.
Matching GTM Tags to Your Tagging Plan
Each row in your tagging plan that has a ‘Live’ status should correspond to exactly one or more tags in GTM (one per destination platform). Name your GTM tags to match your event names: the purchase event tag for GA4 should be named something like ‘GA4 – purchase’. This makes auditing fast and transparent.
Tagging Plan for Shopify and Meta Pixel
Meta Pixel (formerly Facebook Pixel) uses its own event naming schema that does not match GA4 exactly. Your tagging plan should include a Meta Pixel column that maps your standard events to their Meta equivalents.
The key Meta standard events for Shopify are: ViewContent (product page), AddToCart, InitiateCheckout, AddPaymentInfo, and Purchase. Your tagging plan should document whether these fire via the Shopify Meta sales channel integration, via GTM, or both — and make sure they do not fire twice, which is one of the most common sources of inflated conversion data.
Maintaining and Updating Your Tagging Plan
A tagging plan is only as valuable as it is current. Out-of-date plans are worse than no plan because they create a false sense of security. Build a maintenance routine into your team’s workflow.
When to Update Your Tagging Plan
- Any new Shopify app is installed that injects scripts
- A theme change or redesign is deployed
- A new marketing channel is added (TikTok Ads, Pinterest, etc.)
- A new business process is introduced (subscriptions, bundles, loyalty programme)
- An analytics platform is added or removed
- A QA audit reveals data discrepancies
Regular QA Checks
Set a recurring calendar event — monthly works for most stores, weekly for high-traffic stores — to QA the most critical events. Check that purchase event transaction IDs match your Shopify order IDs. Verify that the number of purchases in GA4 matches Shopify’s order count within a reasonable margin. Check for duplicate events using GA4’s DebugView or a tool like Avo Inspector.
Common Tagging Plan Mistakes to Avoid
Mistake 1: No Naming Conventions
Without a naming convention, your event list becomes add_to_cart, AddToCart, and addToCart all in the same property. GA4 treats these as three separate events. Establish snake_case naming before you start and enforce it strictly.
Mistake 2: Tracking Everything
More data is not always better. Tracking every micro-interaction floods your analytics with noise and makes it harder to find meaningful signals. Start with the standard e-commerce funnel events and add custom events only when there is a specific business question that requires them.
Mistake 3: Not Documenting the Data Source
Your tagging plan must specify where each property value comes from in Shopify. ‘Item price’ is ambiguous — is it the original price, the sale price, or the price after discounts? Document the exact Liquid variable or API field that feeds each property.
Mistake 4: Ignoring Checkout Limitations
Many Shopify tracking setups have a complete data layer on product and collection pages but a gap during checkout. This is usually because developers did not account for Shopify’s checkout restrictions. Your tagging plan should explicitly note which events occur inside the checkout flow and flag the implementation approach required.
Mistake 5: Never Auditing
Tagging plans that are written once and never reviewed quickly become obsolete. Apps get installed and add their own events. Themes get updated and break dataLayer pushes. Build regular audits into your process — at minimum once per quarter.
Tools for Building and Managing Your Tagging Plan
You do not need specialised software to create a tagging plan — a well-structured Google Sheet is the most common approach and works for most stores. That said, several tools can make the process faster and more maintainable.
- Google Sheets or Notion: Best for simple to mid-complexity stores. Free and easy to share with your team.
- Avo: A dedicated tracking planning tool that can generate type-safe analytics code and connect to your analytics platforms.
- Iteratively (now part of Amplitude): Offers a collaborative tracking plan with SDK support for validation.
- Segment Protocols: If you use Segment as a CDP, Protocols lets you define and enforce your event schema programmatically.
- GTM itself: While not a planning tool, GTM’s workspace and version history serve as a de facto record of what has been implemented.
Tagging Plan Template: What to Include in Your Spreadsheet
If you are starting from scratch, here are the columns to include in your tagging plan spreadsheet. You can add or remove columns based on your team size and complexity.
- Event Name: The exact event name as it will appear in your analytics platforms.
- Event Category: Grouping (e.g., E-commerce, Navigation, Engagement, Account).
- Description: Plain-language explanation of what the event tracks.
- Trigger: The specific user action or page condition that fires the event.
- Page(s): URL pattern or page type where the event fires.
- Platform Destinations: GA4, Meta Pixel, Google Ads, etc.
- Properties: List of all parameters with name, type, example value, and required/optional status.
- Data Source: Where each property value comes from (dataLayer variable, URL parameter, Shopify object).
- GTM Tag Name: Corresponding GTM tag identifier.
- Status: Planned / In Dev / Live / Deprecated.
- Owner: The team member responsible for this event.
- Last Verified: Date of most recent QA check.
- Notes: Any implementation quirks, exceptions, or known issues.
Summary
A tagging plan is not a luxury for large e-commerce teams — it is a foundational requirement for any Shopify store that wants to make data-driven decisions. It brings order to a chaotic tracking environment, ensures every analytics platform receives clean and consistent data, and makes your team faster and more confident when working with data.
Start with the GA4 recommended e-commerce events, document your data layer specification, map each event to every platform that needs it, and build a regular QA habit. With a solid tagging plan in place, your Shopify analytics will finally tell you the truth about your business.
Ready to build your tagging plan? Start with a copy of Google’s GA4 e-commerce event specification, map it to your Shopify theme’s data layer, and create one row per event in a shared spreadsheet. Your future self — and every analyst who works on your store — will thank you.