How to Implement Shopify Markets on an Existing Shopify Source
Overview
The Shopify Market's feature allows you to use different pixels per Shopify Market with your tracking setup. To use this feature, you will need to have different GTM containers per market group you define during your setup. Web and server-side events will then be routed to the appropriate pixels by Shopify Market once you have updated your destinations after enabling.
To enable this feature, the following items need to be true:
- On a Growth, Business, or Enterprise plan. [Explore Plans]
- Your Shopify Source is up to date using the Custom Pixel for your checkout tracking. [Upgrade Guide]
- Requires the use of Shopify Checkout extensibility. If you have not upgraded, Shopify will automatically upgrade your store on August 13th, 2024.
How to Implement Shopify Markets on an Existing Shopify Source
Headless Shopify Stores require additional steps!
For the headless portion of your store you'll need to load different GTM containers per Shopify Market and pass valid market ids [How do I pass market ID?] in addition to these configurations.
Access Shopify Source:
- Begin on your Elevar homepage and use the left-hand menu to click on the "My Tracking" tab.
- Navigate to the section of the page titled "Sources". Locate and click on the Shopify source.
- (See Figure 1)
Figure 1
Allow Different Pixels per Shopify Market:
- Once in the Shopify source, navigate to the box titled "Setup Steps" and click on the tab labeled "GTM & Events".
- Locate and click on the box next to the text that reads "Allow different pixels per Shopify Market" to enable Shopify Markets.
- An additional pop-up window will appear titled "Approve Permissions" where you have the option to approve or deny the permissions needed. Follow this guide for an in depth-guide on how to approve permissions in Shopify for Shopify Markets.
- (See Figure 2)
Figure 2
Add Market Groups:
- To add a market group, click on the "+ Add Another" button.
- Navigate to the box titled "GTM Container ID" and use the text box enter the Container ID for the desired market you are adding. Here, you can add up to five Google Tag Manager containers. Follow this guide to learn how to locate your Google Tag Manager Container ID.
- Once you have entered the desired Google Tag Manager Container ID, navigate to the box titled "Market Group" and use the drop-down menu to select the desired Market(s) to include in the each Market Group.
- (See Figure 3)
_Figure 3_
Select Event Settings and Save Changes:
- Navigate to the section of the page titled "Event Settings" and either click on the "Use best practices" or "Customize settings" button. By default, we select the most common data layer events.
- Here, you can expand the Event "Breakdown" button and review if you would like to make any adjustments to the events being tracked.
- After reviewing and entering any required information for your enabling Markets and the Events settings, click on the "Save" button located at the bottom of this section.
- (See Figure 4)
Figure 4
Markets Heads Up Warning
If you have selected to start allowing different pixels per Shopify Market with Consent Mode already enabled, we will set the consent fallbacks for the new Market Group(s) to the same as those already selected. This is to ensure that your tracking doesn't change unexpectedly,
If you need to set different consent fallbacks for different Market Groups, you can change these in the "Consent Mode" step within this Source.
Please review the changes carefully to ensure that all destinations are correctly updated and that any necessary adjustments to destination names are made.
(Optional) Review Consent Mode Settings:
- If you have Consent Mode enabled, and selected to start allowing different pixels per Shopify Market within the Google Tag Manager and Events settings, you should review your consent fallbacks in the Consent Mode step. If you have previously set consent fallbacks, those selections have been applied to all new market groups to ensure your tracking does not change unexpectedly. You may have different preferences for different regions and you can make adjustments in the Consent Mode step.
- Once in the Shopify source, navigate to the box titled "Setup Steps" and click on the tab labeled "Consent Mode".
- Then, navigate to the section of the page titled "What categories would you like to grant if no consent is provided?" and select what consent categories your server-side events will view as granted by the shopper per market.
- Once you have selected all of the information for enabling and updating Consent Mode, click on the "Save and Continue" button located at the bottom of this section.
- (See Figure 5)
Figure 5
Legal requirements will vary by regions and if you have opt-in or opt-out requirements. Elevar does not offer legal advice regarding GDPR or any consent compliance. Please consult your legal team if unsure if you should make fallback selections.
Updated 2 days ago