Shopify Enhanced Conversion Tracking Pixel For Google Ads + Micro Conversions + GA4

Add Google Ads conversion tracking to Shopify quickly. Choose from three versions:

  1. Additional Scripts: Deprecated but still installable.
  2. Shopify Pixel: Direct installation with Google Ads, excluding enhanced conversions.
  3. Shopify Pixel with Enhanced Conversion & Micro Conversions + GA4: Available when installing via Google Tag Manager.

The Shopify Pixel Code is compatible with Shopify checkout extensibility.

Please note that users checking the code with Tag Assistant or developer tools will not be able to see the code, as Shopify pixels run in sandbox mode, which is not viewable.

Please also note that if you are installing this with Google Analtyics 4, that you will not be able to view the debug mode in GA4. But you can view the realtime data to verify it’s tracking.

Enhanced conversions will be reflected in the status details within a week, depending on your sales volume.

V2 Shopify Pixel + Enhanced Tracking + Micro Conversions + GA4

What is New?

  • V1.05+ now supports cart data, for using cost of goods based bidding strategy in Google Ads
  • V1.07+ now supports micro conversions + bug fixes
  • V1.08+ now supports Google Analtyics 4 (optional)
  • V2+ now supports remarketing & remove from cart

What is the difference between Micro and Macro Conversions?

When it comes to advertising, we have two types of conversions. Macro and Micro conversions. Macro conversions are the website’s primary conversions, such as completing an order or submitting a lead form. Micro conversions are smaller actions such as add to cart, view cart, add a delivery address, etc.

Requirements

You need access to the following accounts.

Let’s get started!

If you have not yet created a Google Tag Manager account, create one now.

Once the account is created, you should see a popup with your GTM tag, if you don’t see this, don’t worry, simply go to Admin > Install Google Tag Manager

Install Google Tag Manager

Copy the tag id without GTM- as highlighted in the image below

Copy GTM ID

Replace the following values in the settings:

  • GOOGLE_TAG_MANAGER_ID
    • Add your GTM tag ID
  • GOOGLE_MERCHANT_CENTER_ID
    • Add your Google Merchant Center account ID
  • PRODUCT_COUNTRY_CODE
    • Set your default country ISO2 code, for usage in product IDs
  • ESTIMATED_SHIPPING_TIME
    • Add your estimated shipping time
  • GRANT_CONSENT
    • Defaulted to false, if you set it to true, you are forcing to set consent_mode v2 to true, regardless what the use selected (not recommended)
  • ID_TYPE
    • Set your Google Merchant Center product ID format
  • CAPITALIZE_SKU
    • If you are not using the default Shopify IDs and you are using SKUs, you can choose to uppercase the value

In the code replace GTM-123456 with your GTM tag ID

You can get the code by registering here: https://merchantcodex.com/advanced-google-ads-tracking-for-shopify/

Go to Shopify > Settings > Customer Events

Shopify Customer Events

Click on add custom pixel

Shopify Add Custom Pixel

Paste your code, click on save and then connect.

In Google Tag Manager, go to admin > and click on import container.

Google Tag Manager Import Container

GTM JSON File

In Google Tag Manager select the json file (you can find it in the downloaded file).

Chosing your workspace, click on existing and choose default workspace

Select Merge as the import option

Google Tag Manager Import JSON

Click on confirm

GTM Confirm Import

Go to Workspace > Tags > Click on Google Ads Shopify Pixel [Purchase] Tracking By FeedArmy

Google Ads Purchase

Hover over the tag and click on edit

Edit GTM Tag

Add your Google Ads conversion ID and Label when creating a new conversion.

Add Google Ads Conversion ID and Label

In Google Ads go to Goals > Summary > Click on New Conversion Action

Google Ads Create New Conversion

Select website

Enter any website domain, and click on scan

Scroll to the bottom of the page and click on Add a conversion action manually

start tracking conversion

Add your conversion action details:

For Goal and action optimization select purchase

For Conersion name, add any name, I recommend Shopify GTM Pixel

For the Value select Use different values for each conversion

Click on Done, then click on save and continue

conversion action details

Select Google Tag Manager and copy your id and label from Google Ads and paste it in Google Tag Manager

Conversion Action ID and Label

Now repeat the steps for the micro tracking (optional) (view the instructions video for more details) and ensure everything is set to secondary as goal, unless you know what you are doing:

  • Add To Cart
  • Remove From Cart
  • Cart Viewed
  • Begin Checkout
  • Add Shipping Info
  • Payment Submitted
  • Search
  • View Collection

Save the tag, and now lets publish the GTM container by clicking on Submit

Save and Submit your GTM

Add a version name and click on publish

Publish GTM

Let’s enable enhanced conversions in Google ads by clicking on done, then select your conversion action and click on ehanced conversions.

Check the box next to Turn on enhanced coversions

Check the radio button for Google tag or Googel Tag Manager and select next

Enter just a letter d, and click on check URL, as we want to force an error.

We can now click on select one manually

Google Ads Enable Enhanced Conversions

Click on Google Tag Manager > Next and click on save

Google Ads Finish

Google Ads Remarketing

To enable the Google Ads Remarketing setup, we only need to copy the Google Ads conversion ID. You can find this by going to Goals > Select any website conversion action, such as the ones you just created, and copy the id.

Google Ads Remarketing ID

And paste the conversion ID in the remarketing tag inside Google Tag Manager.

Add Google Ads Conversion ID in GTM

Google Analytics 4 Setup

Continue GA4 Installation: We now need to add our Measurement ID

  • Tags:
    • Google Analytics 4 Data
    • Google Analytics 4 Page View
Google Analtyics Tag For Google Tag Manager

You can find your Google Analytics Measurement ID by going to:

  1. Google Analytics
  2. Cog Icon (admin)
  3. Under Data collection and modification, choose Data Streams
  4. Click on your data stream
  5. Now you can view and copy your measurement id
Google Analytics Measurement ID

Now click on both tags, and add replace the G-1234 that I added, with your own measurement ID.

Add Google Analytics Measurement ID

Support My Work!

https://www.trustpilot.com/review/feedarmy.com

or here : https://g.page/r/CbGZ-JICOoh1EAg/review

Trouble Shooting

Can Not See Data Layers

Because Shopify pixels run in sandbox mode, for privacy reasons, you cannot view data layers in your browser using conventional tools.

You will need to use a Chrome extension such as https://chromewebstore.google.com/detail/datalayer-checker-plus/blglfmihmnbhfgfbomofeljmididgfhe

Even then, it is only sometimes 100% working.

Zero Tracking

If nothing is working, even adding to the cart, that signals more serious issues. This means there is possibly a third-party app blocking pixels from working.

It’s also possible that your cookie consent is not enabling tracking, you can test by forcing the consent to be set as accurate in the code settings.

Some Conversions Are Tracking

If you notice that not all conversions are tracked in Google Ads, this signals that the payment method you are using is not sending back the correct data to Shopify. This is a known issue with third-party payment methods, even with the old additional script method.

Conversion Not Working

If your conversions are not working, then most likely your theme checkout and thank you page are not published.

Go to Shopify > Online Store > Themes > Click on Customize

Click on the home page drop down and select Checkout and new customer accounts

Click on checkout drop down and choose thank you and or checkout (whichever says unpublished)

Click on the sections button and publish.

You can also check if your checkout domain matches your domain. In some cases the domain name is myshopify.com instead of your domain.

Google Analytics Average Engagement Time Per Session

When using Shopify Pixels / Customer Events, and due to Shopify using sandbox environment, automatic events, including engagement event for Google Analytics aren’t triggered.

Google Analytics Average Engagement Time Per Session

Change Log

  • 18 January 2025: V2.0026 Updated remarketing tags (they where not complete before)
  • 29 October 2024: V2 Includes remarketing, remove from cart micro conversion.
  • 6th October 2024: V1.0816 Fixed purchase report issue in GA4 (just update the pixel code in Shopify)
  • 2nd September 2024: v1.0814 Fixed the pixel code to correctly show the item_id instead of the id (For GA4).
  • 2nd September 2024: V1.0813 Fixed an issue with event naming convention
  • 25th August 2024: V1.08+ now supports Google Analytics 4
  • 8th August 2024: V1.07+ now supports micro conversions + bug fixes
  • 16th July 2024: Updated GTM enhanced conversion data to be lowercase, as per documentation and highlighted by Lowie Verschelden
  • 14th July 2024: Added V1.05 cart data, so that you can use Google Ads cost of goods based bidding.
  • 18th June 2024: Added conditional checks for enhanced data to avoid listing empty values
  • 10th June 2024 : Updated GTM Container, incorrect mapping of some variables (to update please delete all variables in GTM, and re-import with merge option)

V3: Local Inventory Feed Support

Version 3 includes everything from Version 2, plus full local inventory feed support for Google Merchant Center.

You can get the code here. Begin by adding the code to Shopify, then follow the Version 2 steps before updating your local settings as shown below.

Local Settings Setup

Add your local configuration values in the pixel code:

const LOCAL_TARGET_COUNTRY_CODE = 'US';   // ISO2 country code (e.g. "GB" for United Kingdom)
const LOCAL_LANGUAGE = 'en';              // Alpha-2 language code (e.g. "de" for German)
const LOCAL_STORE_CODE = '1234';          // Google Business Profile store code
  • Country Code (ISO2): If unsure, search online (example: United Kingdom ISO2 code = GB).
  • Language Code (Alpha-2): Again, search online if needed (example: Germany alpha2 code = de).
  • Store Code: Your Google Business Profile store code.

Upgrading from Version 2

  • If you are already using Version 2, upgrade to Version 3 by importing the V3 update file in Google Tag Manager.
  • If you have never installed FeedArmy tracking before, follow the Version 2 tutorial first. Once complete, continue with the V3 setup.

Be sure to save your Shopify pixel once all changes are applied.

Once installed and you have waited 2 days, fill out this form: https://support.google.com/merchants/contact/website_reported_product_feeds#

To get your API Key.

Full Documentation: https://support.google.com/merchants/answer/15845643

Shopify Pixel

This Shopify Pixel / Customer Event code, has been tested and verified as working for Shopify merchants that have enabled Checkout Extensibility.

The first step is to get your conversion id and label.

Log in to Google Ads and go to Goals > Conversions > Summery

Google Ads Conversions

Click on the blue button that says + New conversion action

Google Ads New Conversion Action

Select Website as your conversion method.

Google Ads Website Conversions

Enter your website address, and scan.

Google Ads Convesrion Scan Website

If you see a banner that says to use Google Analytics, then click on Use Google Ads only

Google Ads Only

Click on +Add conversion action manually.

Google Ads Add A Conversion Action Manually
  • Choose Purchase as your Goal and action optimization
  • Enter any conversion name, I will call it Shopify Pixel
  • Select Use different values for each conversion
  • Leave the rest unchanged and click on done
Google Ads Conversion Settings

Click on See event snippet

Google Ads Conversion Event Snippet

Copy the code and paste in a temporary text file, we will copy some details at a later stage.

Google Ads Copy Conversion Code

Click on Done.

Now go to Shopify > Settings > Customer Events

And click on Add custom pixel

Shopify Add Custom Event

You can give it any pixel name, but I will call it Google Ads Conversion. Now click on Add pixel.

Shopify Add Custom Pixel Name

When editing the code below, please do not remove or change the author, and respect who built it.

// Created by FeedArmy V1.04

Paste the below code in the Shopify pixel.

// Created by FeedArmy V1.05
const script = document.createElement('script');
script.setAttribute('src', 'https://www.googletagmanager.com/gtag/js?id=AW-123456789');
script.setAttribute('async', '');
document.head.appendChild(script);

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-123456789', {'allow_enhanced_conversions':true});

analytics.subscribe("checkout_completed", (event) => {
  gtag('set', 'user_data', {
    email: event.data?.checkout?.email,
    phone: event.data?.checkout?.phone,
    address: {
      first_name: event.data?.checkout?.shippingAddress?.firstName,
      last_name: event.data?.checkout?.shippingAddress?.lastName,
      street: event.data?.checkout?.shippingAddress?.address1,
      city: event.data?.checkout?.shippingAddress?.city,
      region: event.data?.checkout?.shippingAddress?.province,
      postal_code: event.data?.checkout?.shippingAddress?.zip,
      provinceCode: event.data?.checkout?.shippingAddress?.provinceCode,
      country: event.data?.checkout?.shippingAddress?.country,
      countryCode: event.data?.checkout?.shippingAddress?.countryCode,
    }
  });

  gtag('event', 'conversion', {
    send_to: 'AW-123456789/abcdefg123456789',
    transaction_id: event.data?.checkout?.order?.id,
    value: event.data?.checkout?.subtotalPrice?.amount,
    currency: event.data?.checkout?.subtotalPrice?.currencyCode,
  });
});
Shopify Add and Modify Conversion Code

From your previously copied code from Google Ads, copy the AW-123456789 id highlighted in the image below.

Google Ads Conversion ID

And paste it twice on row 3, and row 10, by replacing the existing ID AW-123456789 (shown in red in the image above)

Go back to your Google Ads code and now copy the full ID and Label as highlighted in the image below.

Google Ads Conversion ID and Label

Replace the send_to value between the quotes on row 14. (shown in red in the above image)

Now click on save in the top right corner followed by clicking on Connect, accept Shopify terms and conditions. And you are all done.

Testing


You can’t test code on Shopify’s checkout thank you page because it’s in sandbox mode, meaning tools like Google Tag Assistant or GTM Preview Mode won’t work. If you want to check data layers, you need to use a chrome extension such as https://chromewebstore.google.com/detail/datalayer-checker-plus/blglfmihmnbhfgfbomofeljmididgfhe

Change Log

  • V1.05 – 20 May 2024: Changed the order of gtags
  • V1.04 – 20 May 2024: Added user_data values after Sve (comment below) confirmed Google’s own version. I already built this months ago, but needed confirmation it’s correct.
  • V1.03 – 02 March 2024 : Supports multicurrency and used subtotal price instead of total
  • V1.02 – 27 February 2024 : Public Release

🙋Questions or Need Help?
Do you have a question or need specialist support? Get in touch! I’m happy to help you optimize your Google Shopping listings for the best performance.

Subscribe
Notify of
guest
770 Comments
Newest
Oldest Most Voted
Juan Pablo Aguilar LLiguin
22 days ago

HI, how deal with multiple countries?
the variable PRODUCT_COUNTRY_CODE is for one country but what happens if the sales and ads comme from different countries?



Daniel
5 months ago

Hi, how do i use your code together with stape?

Daniel
Reply to  Emmanuel Flossie
5 months ago

I looked at their gtm-file and its not as complete, but thanks for the answer.

André
6 months ago

Hi,

In GTM we have the variable ecommerce.aw_merchant_id, shouldn’t it be included in the dataLayer?
aw_merchant_id: “123456789”

Last edited 6 months ago by André
Paul B
7 months ago

The FeedArmy GTM script is being sandboxed by Shopify’s new checkout system, so your custom purchase dataLayer event isn’t firing reliably anymore. I’m losing conversions in Google Ads. Should i remove the setup in GTM and switch to Google/Youtube app so that it is compatible with Shopify’s new native pixel events instead of legacy DOM/dataLayer methods?

Maria Rolles
7 months ago

Hello, I am having issues with a client on shopify with the tracking, no parameters are populating even though the remarketing code looks like its tracking right up to the checkout. I’ve installed the remarketing code and the conversions on customer events under two custom pixels. we also have the Google and Youtube app, and my client has added the app Pandectes GDPR for Google Consent V2 as well. We are not currently using GTM. Do we need to change our settings to this tutorial instead? I am a bit lost in terms of why the tracking isn’t working. We’ve not run ads yet.

Tukay
7 months ago

Hello Emmanuel,

We setit up everything. All the tracking shows active, however after 24 hours we can see add to cart and begin checkout values but purchase shows 0. Any idea what could be the reason? I run some test with Chatgpt help, and according to chatgpt:

Your thank-you page is not sending any hits. That means GTM is not loading there and your Purchase tag never fires. Add-to-cart works because it fires on storefront pages where GTM loads. Checkout/thank-you is the blocker.

We inspect the thank you page through the developer/network tab.

Thanks.

Tukay
Reply to  Emmanuel Flossie
7 months ago

We actually tried that first, due to the unmatching product ID issue, we wanted to try your way. Google and the YouTube app were working. I mean, it was showing the total conversion value, but not individual SKU sales. So, not sure what we did wrong here.

Tukay
Reply to  Emmanuel Flossie
7 months ago

Sent you guys an email through the pricing page!

John
John
8 months ago

If we already have the say “Google shopping add to cart” before this whole shopify mirgration thing. And then we followed the guide line on the video, would that make “Google shopping add to cart”. duplicated with “Shopify GMT Add to cart”? Do we even have to turn on the google tag manager on shopify? Love your content thanks a lot.

Alanni
Alanni
8 months ago

Hi, will the Google & YouTube plugin conflict with the Shopify pixel? I set up the Shopify pixel according to your instructions, but I’m using the Google & YouTube plugin to sync my feed to Google Merchant Center. However, I removed “app purchase” from my Google Ads dashboard. Will this cause a conflict? Do I need to uninstall the Google & YouTube plugin if I want to use the Shopify pixel?

Evelyn
Evelyn
Reply to  Emmanuel Flossie
8 months ago

If I want to use Shopify pixel, is it better to uninstall ” Google & YouTube” App?

Evelyn
Evelyn
Reply to  Emmanuel Flossie
8 months ago

I would also like to ask, when using Shopify pixel, in addition to adding the code in the customer event according to the above steps, do I also need to add the “google tag” between the <head> and </head> of the Shopify backend theme liquid?

Evelyn
Evelyn
Reply to  Emmanuel Flossie
8 months ago

Hi Emmanuel,

I add the Shopify pixel in the Customer Event section, but it only runs when specific events (like a purchase) occur, so it doesn’t load the Google tag on all pages. If I want the Google tag to run sitewide while using Shopify pixel, should I add the google tag in the theme.liquid file, or is there another way to make it load on every page?

Daniel
9 months ago

Hi, great info… What cookie-consent do you recommend? i use shopify.

Daniel
Reply to  Emmanuel Flossie
9 months ago

Yes, i know the laws, its a jungle with rules… I have been controlled by google three times already. Its so much info that google wants if you use ads 🙂

And then the app need to do its thing 🙂

Simone
Simone
9 months ago

Hello and thanks for the tutorial. I have two questions:

  • Can you confirm that the code generated by Google Tag Manager should not be pasted after <head> and <body> in the Shopify theme? This part isn’t included in the tutorial.
  • There are some unclear points in the Feedarmy script related to the presence of “?” Are these correct or are they syntax errors? Specifically:

ecommerce: {
currency: event.data?.productVariant?.price?.currencyCode,
value: event.data?.productVariant?.price?.amount,
google_business_vertical: ‘retail’,
items: [items]
}

Simone
Simone
Reply to  Emmanuel Flossie
8 months ago

Thanks for your feedback 🙂

Unfortunately, when I import the Feedarmy json container into Google Tag Manager, I get this error message: “No Google tags found in this container.”

I’ve carefully checked and applied all the settings in the tutorial. Do I need to manually create a Google tag into Google Tag Manager? By creating a Google tag, I no longer get the error message.

Felix
9 months ago

Its great that you recommend stape, could you do a video on how to setup conversion tracking with stape please?

Michael Stecchini
Michael Stecchini
9 months ago

Hi Emmanuel, with this string of code you are using to tack value
value: event.data?.checkout?.subtotalPrice?.amount

are you only sending the value of the products included into the cart or the full amount paid by the customer, shipping costs included?
Thank you

Mykyta
Mykyta
9 months ago

Hey Emmanuel,

If the setup is now done through the Google and YouTube app, I’m concerned that the app is sending ecomm_prodid for dynamic remarketing instead of the new id parameter, and at the same time the match rate shows 0%. I can’t understand if the default app doesn’t work with dynamic remarketing at all and if your solution needs to be installed instead? Thanks for the feedback!

Mykyta
Mykyta
Reply to  Emmanuel Flossie
9 months ago

I also think so, but every time with this app it shows 0% match rate in every account I see and that’s strange. Or do you think Google still matches them with old parameter ecomm_prodid  but shows match rate only for the new “id” parameter?

André
10 months ago

Hello, I hope you are well, can you tell me if you have any information for ecomm_prodid to appear with “ZZ” instead of “BR” (shopify_BR_806****872_4870******12) in my products?

Dusticelli
Dusticelli
10 months ago

Hey, Emmanuel,

I have followed your tutorial and everything went flawlessly, however my google ads shows “misconfigured” on all the conversions.

Do you have any idea what might be the reason? Actually I not yet have any ads active. But it might not be this, does it?

Dusticelli
Dusticelli
Reply to  Emmanuel Flossie
10 months ago

Thank you for your reply. After a testorder the “purchase” conversion goal changed to “active”. But the 3 other goals (add to basket, begin checkout, pageview) still show “misconfigured”, saying

Make at least one conversion action primary to optimise for this goal.”

But your video shows to set all expect of “purchase” to secondary. Do I need to connect the 4 goals in some kind together?

thank you in advance for a short reply.

Sabuj Ali
Sabuj Ali
10 months ago

How to get the FeedArmy script code

Taha
Taha
11 months ago

Hey Emmanuel,

What do you think of the message everyone has been getting regarding migrating the tags?

Are you going to be migrating?
This means losing on the manual conversion tracking and solely depending on the Google & YouTube App on Shopify

Taha
Taha
Reply to  Emmanuel Flossie
11 months ago

Thank you!

Daniel
Daniel
11 months ago

Just imported JSON and following the setup instruction, unfortunately, there is noGoogle Ads Shopify Pixel Conersion Tracking By FeedArmy

Last edited 11 months ago by Daniel
André
Reply to  Emmanuel Flossie
11 months ago

Hello dear, When was the update made?

André
Reply to  Emmanuel Flossie
11 months ago

I used this version: Full Import V2.0026.json. Is it correct?

André
11 months ago

In my begin_checkout event the products array (items) is equal to [{0: “[object Object]”}]

André
11 months ago

My ADS TAG only sends Remarketing TAG until add to cart, what could it be? Retail hits % is 0%, is there anything I can do to solve this?

André
11 months ago

Sorry, just to know if it’s up to date, as I’m having trouble sending data to ADS, even though everything is ok in the GA4 live view.

André
1 year ago

This is Over?

Nick
Nick
1 year ago

Hey, what do we do if checkout domain is the shopify domain. what’s the fix?

cassandra
1 year ago

Hi Emmanuel,
Thank you for taking my question. I previously had your Google Tag Manager (GTM) set up for Shopify, and it was functioning well. However, after Shopify made some changes, it stopped working. I had to delete everything and start over. This time, when I set up the tags, it required an aw-xxxxxx tag, which I added. 

I have waited a week, and while some of the tags are active, there haven’t been any recent conversions. Today, I received a notification from Google stating that Enhanced Conversions are not set up and that I should schedule an appointment. Should I wait, or is something wrong?
I tested the pixel, and all seems to be fine. The checkout and thank you page are published.
I would appreciate any help or guidance you can give me.

cassandra
Reply to  Emmanuel Flossie
1 year ago

I did do this as well, and the purchase tag went from inactive to no recent conversions. Today, the add to cart finally had 1 conversion from another item. So maybe working?
Thanks for all your hard work in making this happen for all of us. I appreciate it.

Gabriel
Gabriel
1 year ago

Hi Emmanuel. Thank you very much for the content!

I went through the entire process, but when I go to Audience manager>Your data sources, it shows that the Google Ads Tag has not yet been added to my website and gives me the option to start configuring the Tag.

Can you tell me why?

Aileen
1 year ago

Hello, I have installed the pixel on my website as per your instructions, and it works perfectly on the desktop. However, it fails on mobile. During my test checkout, I noticed that my domain changed to shop.app, which is Shopify’s domain, and subsequently, all tracking became invalid.

Nora
1 year ago

Hi!
We’ve installed your pixel successfully some weeks ago. Now we do encounter issues a) in the tag manager, saying GTM tag can not be found on checkout pages (others yes) and b) in Google Ads, saying enhanced conversions are set up but no attributes for enhanced conversions come with the tag. So, I’m wondering, could this be related to the V2 consent mode? Or do you have any idea what we might need to change in the setup?

Nora
Reply to  Emmanuel Flossie
1 year ago

Ok, thank you. But we actually didn’t have the issue after switching from the standard Shopify Google channel to your script. So I was wondering what initiated the change… Other than that – Can you imagine why the tag can’t be detected on the checkout page? All other tags (Adwords, Analytics) are present there…

Natalia
Natalia
1 year ago

Hi Emmanuel,
First of all, thank you for the solution – I’ve implemented your script using Shopify’s Custom Pixels, and I can confirm that ecommerce events are working properly in the GA4 real-time report.
However, I also need to track additional events on my website, such as form submissions and email signups, and I want to set those up using GTM
Here’s where I’m running into some issues:

  • Since GTM is loaded dynamically through your script, GTM debug mode and tag assistant are not detecting the GTM container.
  • Because of that, I’m unable to use preview mode to debug or configure new tags/triggers for form events.

Can you advise what would be the best way to proceed in this case?
Should I add the standard GTM snippet manually in the theme.liquid file to enable Debug Mode and still keep your eCommerce tracking? Or is there a way to adapt your solution so I can work with other events via GTM?

Daniel
1 year ago

Hi, does it work with the dynamic buybuttons in shopify?

Milen
Milen
1 year ago

Hi Manuel,
I hope you’re doing well! I noticed a message in GTM that says:

“Container quality – Needs Attention – Missing Google tags”

Ensure accurate and privacy-safe measurement by adding a Google tag to your container for each destination where you’re sending data.



Could you please help me understand why this is showing up?
Is there a Google tag missing or something that still needs to be configured?

I have implemented – 18 January 2025: V2.0026 Updated remarketing tags (they where not complete before)

Last edited 1 year ago by Milen
770
0
Would love your thoughts, please comment.x
()
x