Free 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.

💡 Optional but recommended: For those who want to simplify server-side tagging and make the most of your setup, I personally recommend using Stape.

It offers a managed server-side GTM container that integrates well with Shopify and helps streamline tracking implementation.

This is a referral link — if you sign up through it, I may earn a small commission at no extra cost to you. It helps support the free guides and tools I provide.

👉 Try Stape

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://feedarmy.io/product/enhanced-tracking-pixel-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 Conersion Tracking By FeedArmy

Edit Tag Details

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)

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

Support My Work!

My conversion tracking code is constantly updated and provided free for anyone to use. As I don’t ask for any monitary value in return, I would be grateful if you consider leaving a review: https://www.trustpilot.com/review/feedarmy.com

Additional Scripts

Supported Functions

  • Automatically supports multi currencies.
  • Automatically converts European prices with commas to dots.
  • Optional choice for disabling tax and shipping in your checkout value.
  • Includes the new Google Ads enhanced conversion option

Requirements

  • Access to Google Ads > Conversions
  • Access to Shopify > Settings

Step 1: Open Shopify Checkout Settings

Open a new tab in your browser and log in to your Shopify Admin Panel

Navigate to Settings (Gear Icon) and choose Checkout

Shopify Checkout

Step 2: Setup & Copy Your Google Ads Conversion Code

In a second browser tab, login to Google Ads and click on the tools and settings menu in the top right corner and select Conversions under the Measurement column.

Google Ads Conversion

Click on the big blue plus sign (New Conversion Action).

Now select website as your tracking template.

It will now ask you to scan your website URL. Enter your URL and click on scan.

Scroll to the bottom and choose to install the conversion action manually.

Then do the following :

  • Conversion name
    • enter any name
  • Category
    • Purchase / Sale
  • Value
    • Use different values for each conversion
  • Attribution model
    • Choose Position-Based (recommended for growth based businesses)
  • The rest can be as default

I have written a great article on how to choose your attribution model.

Click on Create and continue

Create your website conversion action

Now you can click on Save And Continue

Google Ads Continue Conversion Action

Click on See Event Tag

Google Ads See Event Tag

Copy your Event Snippet and save it in a temporary file, for later use.

Google Ads Copy Event Snippet

Click on Done

Google Ads Conversion Action Done

Click on the recently added conversion action

Google Ads Conversion Action

Enabling Enhanced Conversions is optional and not required. Some accounts may not see this option yet. So you can continue the steps below, excluding those related to enhanced conversions. (Skip to Step 3)

Now go to Tools and Settings > conversions > settings or click here: https://ads.google.com/aw/conversions/customersettings

By enabling enhanced conversions you allow Google to improve its accuracy to track conversions. This seems to be required due to Apple’s IOS14 no tracking prompt.

After you have checked the box and clicked on save, you will get a terms and conditions prompt, read it and confirm.

Turn on Google Ads Enhanced Conversions

Now choose Google Tag and click on Tag Details.

Turn on Google Tag and View Tag Details

Now check the box next to Specify CSS selectors or JavaScript variables

  • Change CSS selector to Global Javascript variable
  • Enter the following values for Email
    • enhanced_conversion_data.email

Repeat the steps for Phone number and Name and Address

  • Phone
    • enhanced_conversion_data.phone_number
  • First name
    • enhanced_conversion_data.first_name
  • Last name
    • enhanced_conversion_data.last_name
  • Street address
    • enhanced_conversion_data.home_address.street
  • City
    • enhanced_conversion_data.home_address.city
  • State
    • enhanced_conversion_data.home_address.region
  • Country
    • enhanced_conversion_data.home_address.country
  • Postal code
    • enhanced_conversion_data.home_address.postal_code
Google Ads Javascript Conversion Tracking Variables

You might ask, why the javascript values? Well on your thank you page, the javascript selector for all the values is added as a javascript variable when using the conversion tracking code below (From V1.5). This will only work if you use the code below.

Step 3: Editing and Pasting Your Google Ads Conversion Tracking

Go back to Shopify and scroll down until you see Order Processing (from step 1), at the bottom of this section you will have a field where you can paste code that is labeled Additional Scripts.

If you have two fields such as post purchase and order status, then add the code to the order status field.

Shopify Additional Scripts

Copy the send_to value (image below) and replace fa_send_to value with your value in the code template below.

  1. replace the value for fa_send_to
    • replace the value AW-123456789/abcdefghijlklmnopq with your event snippet send_to value
  2. Choose yes or no for fa_include_tax_and_shipping
    • choose yes if you want to include tax and shipping in the checkout value or no to not include tax and shipping values.

Sometimes on rare occasions, when you set fa_include_tax_and_shipping to no, it would still include the shipping. I’m not sure why this sometimes happens, but it might have to do with the account country. So if you notice shipping is included, set the value to yes, and it will remove shipping.

Code Template (change the fa_send_to value with your code snippet send_to value)

<!-- FEEDARMY START Global site tag (gtag.js) - Google Ads V2.2 -->
<!-- For the latest and updated code or tutorial: https://feedarmy.com/kb/adding-adwords-conversion-tracking-to-shopify/ -->
{% assign fa_send_to = 'AW-123456789/abcdefghijlklmnopq' %}

{% comment %}DO NOT EDIT BELOW{% endcomment %}
{% if fa_google_coding %}{% assign fa_google_coding = true %}{%- else -%}{% assign fa_google_coding = false %}{%- endif -%}
{% assign fa_google_ids = fa_send_to | split: "/"  %}

{% if fa_google_coding == false %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{fa_google_ids[0]}}"></script>
{%- endif -%}
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', '{{fa_google_ids[0]}}', {'allow_enhanced_conversions':true});
  var checkout = window.Shopify.checkout;
</script>
{% if first_time_accessed %}
<script>
  gtag('event', 'conversion', {
      'send_to': '{{ fa_send_to }}',
      'value': checkout.total_price_set.presentment_money.amount,
      'currency': checkout.total_price_set.presentment_money.currency_code,
      'transaction_id': '{{ order_id }}',
  });
  var enhanced_conversion_data = {
    {% unless billing_address.first_name == blank %}"first_name": "{{ billing_address.first_name }}",{% endunless %}
    {% unless billing_address.last_name == blank %}"last_name": "{{ billing_address.last_name }}",{% endunless %}
    {% unless checkout.email == blank %}"email": "{{ checkout.email }}",{% endunless %}
    {% unless billing_address.phone == blank %}"phone_number": "{{ billing_address.phone }}",{% endunless %}
    "home_address": {
      {% unless billing_address.street == blank %}"street": "{{ billing_address.street }}",{% endunless %}
      {% unless billing_address.city == blank %}"city": "{{ billing_address.city }}",{% endunless %}
      {% unless billing_address.province_code == blank %}"region": "{{ billing_address.province_code }}",{% endunless %}
      {% unless billing_address.zip == blank %}"postal_code": "{{ billing_address.zip }}",{% endunless %}
      {% unless billing_address.country_code == blank %}"country": "{{ billing_address.country_code }}"{% endunless %}
    }
  };
</script>
{% endif %}
<!-- FEEDARMY END Global site tag (gtag.js) - Google Ads V2.2 -->

Verifying and Testing

Verifying

You can verify if the code is working if you go to Google Ads > Tools and Settings > Conversions > here check if the status is verified.

Testing

First open up Tag Assistant when the new window opens up make a test payment to check if the conversion tracking is correctly installed. When you are on the final thank you page check the data within Tag Assistant.

Tip:
first_time_accessed is for the page, not for the customer. Subsequent orders will run a first_time_access again for the same person if it is a new browser session.

Trouble Shooting Enhanced Conversions

Make sure you have waited at least 3 to 7 days. Google requires time to compile the data.

Coverage:

You may encounter issues with regard to coverage. This can happen when customers pay through a third-party payment processor (PayPal), which may require that they enter customer data on a different domain instead of directly on your website like they do when they do not use a third-party payment processor. 

Google Ads Enhanced Conversion By Tags

Match status:

If you are having issues with the match status, not all users fill out all the fields in your checkout. What you could do is remove the attributes in your Google Ads conversion list to only track emails or only track mandatory fields in your checkout.

By removing non-mandatory fields, you will avoid submitting empty fields to Google.

Google Ads Enhanced Conversions Match Status Issues

Change Log

  • 8th September 2023 – updated the steps for enhanced conversion tracking
  • V2.2 – 11 July 2023 – updated code to validate every value
  • V2.1 – 24 June 2023 – updated checkout price to use presentment_money
  • V1.8 – 10 August 2022 – Added enhanced conversion checks for email and phone number
  • V1.7 – 07 June 2022 – Fixed incorrect total value when changing shipping and tax settings
  • V1.6 – 28 April 2022 – Fixed the country code not adding the value correctly as highlighted by Jon Yildiz
  • V1.5 – 27 July 2021 – Added Enhanced Conversions using Javascript and removed CSS
  • V1.4 – 21 July 2021 – Added Enhanced Conversions using CSS
  • Due to server migration, older changes are not listed

Support My Work!

My conversion tracking code is constantly updated and provided free for anyone to use. As I don’t ask for anything in return, I would be grateful if you consider leaving a review: https://www.trustpilot.com/review/feedarmy.com

Need Help?
Do you have a question or need specialist support? Get in touch!

Subscribe
Notify of
guest
697 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Gabriel
Gabriel
19 days 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
19 days 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 month 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 month 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 month 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 month ago

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

Milen
Milen
1 month 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 month ago by Milen
Daniel
Daniel
1 month ago

Hi!, does this new set of tags includes the parameters needed for Google Ads to count the COGs? Thanks!

https://support.google.com/sa360/answer/9455407?hl=en#:~:text=In%20Google%20Tag%20Manager%2C%20navigate,sales%20data%E2%80%8B%20check%20box.

Daniel
Daniel
Reply to  Emmanuel Flossie
1 month ago

thank you! and would it be possible to give Purchase the value of the order deducting shipping and taxes? in my case would be (order total – shipping) / 1.21

Zersoy Azda
Zersoy Azda
2 months ago

How will we import updates to the json file in the future? Overwrite or merge?

Zersoy Azda
Zersoy Azda
Reply to  Emmanuel Flossie
2 months ago

There are 2 files in the json file we received, how do we use the update one?

Ahmad Raza
Ahmad Raza
2 months ago

Hi Emmanuel Flossie,

I am using your gtm setup to google ads tracking. I want to send a shipping cost with order value on purchase event in google ads. Can we do it?
If yes what changes I have to do it? Can you share some steps

Thanks In advance

Mykyta
Mykyta
2 months ago

Hello Emmanuel!

And thanks for all you are doing!

qq – do I need to set up GTM container code in theme.liquid or just your script in the custom pixel section?

Thank you!

Maxim
Maxim
2 months ago

Hi there,

I installed the custom pixel Google Ads conversion tag here: https://share.cleanshot.com/3zQZHqQv.

A few days ago, I realized that enhanced conversions weren’t working, so I installed and imported the GTM purchase conversion action here: https://share.cleanshot.com/fz0902zK.

Just to confirm, this won’t duplicate the purchase conversion action, right?

Also, I installed GTM a few years ago via the theme (theme.liquid), so I’m wondering if this setup will still work or if I need to reinstall GTM via the custom pixel as well.

Finally, I followed your other tutorial to install the dynamic remarketing tag via the custom pixel. This means I no longer need to keep the dynamic remarketing GTM tag imported via the JSON file, correct?

Maxim
Maxim
Reply to  Emmanuel Flossie
2 months ago

Ok, and regarding enhanced conversions, do I still need to re-add GTM using your script or can I let the default one added in theme.liquid, in order for enhanced conversions to work ?

Piotr
Piotr
2 months ago

Hi! Thank you for sharing the work. I want to ask about URL. Now, by implementing it through GTM, the pixel path is added, like:

wpm@xxx/custom/web-pixel-xxx@xxx/sandbox/modern/

However, I cannot locate the option to overwrite the default Page URL in Conversion Tracking tags. Can you help?

André
3 months ago

Hello,
Something wrong happens if I leave the Merchant Center connected to Shopify, the data is not sent to the ADS remarketing, I believe that tags in the container conflict with tags on the page, I would like to know if there is a way to leave the Merchant connected through the App, as I also have a store on YT

Daniel
Daniel
Reply to  Emmanuel Flossie
27 days ago

Can I delete the google and youtube app or is it needed for the custom pixel to work? And I assume you have a new data feed app, in that case yes as well.

Stef
3 months ago

I did everything, but after 3 weeks I still only see ‘Requires Attention’ or ‘No Conversions’ and some say ‘inactive’ in google ads, what should I do?

Last edited 3 months ago by Stef
David
David
3 months ago

Hi. I appreciate the work you do. I was installing the full version. I’m looking at the remarketing tag and have a couple of questions.

First, it looks like it should work with dynamic remarketing, correct?

Second, it looks like it’s triggered on all events you set up, but the variable for the items looks to only be items from a purchase. If so, is there a way for it to pull in the items from the other events to use the for dynamic remarketing?

Thanks.

marcelo
3 months ago

Hello, in this step: [Go to Workspace > Tags > Click on Google Ads Shopify Pixel Conersion Tracking By FeedArmy]

I see 12 tags instead of 1 (ATC, Begin checkout, cart viewed, etc). Should I do the next steps for each of the 12 or only the purchase one?

Ali
Ali
3 months ago

Hi Emmanuel,
I truly appreciate the hard work you’ve put into this project—it’s impressive! Thank you for sharing it. I’d love to contribute if possible. Do you have a GitHub repository or any version control system where I can collaborate and contribute?
Looking forward to your response!
Best regards,

Ali
Ali
Reply to  Emmanuel Flossie
3 months ago

Thank you for response Emmanuel, I will reach out to you via email.

August
August
3 months ago

Hello Emmanuel,

I hope you are well!

Initially I got some tracked purchase conversion in google but today I had 2 sales and they are not showing up in google conversion, is that normal that some purchases not getting tracked or is there something I should to do check so that the tags are running correctly? I have not changed anything.

Daniel
Reply to  Emmanuel Flossie
3 months ago

ok, i will check with them.

Daniel
3 months ago

Hi, thank you very much for the code. But i am getting a warning in google analytics that the cookie consent is not working. What can i have done wrong?

Daniel
Reply to  Emmanuel Flossie
3 months ago

Hi, i use shopify built in-function.

Daniel
Reply to  Emmanuel Flossie
3 months ago

Shopify says that i should check tags with https://chrome.google.com/webstore/detail/tag-assistant-legacy-by-g/ but that dont wotk with your code.

Daniel
Reply to  Emmanuel Flossie
3 months ago

thanks, will test that one.

Daniel
Reply to  Emmanuel Flossie
3 months ago

Shopify says its not possible with your code to use shopify cookie consent. To bad but i will have to move on to other tracking solutions. Best of luck to you.

Daniel
Reply to  Emmanuel Flossie
3 months ago

Yes,probably, but it works with gtm installed in liquid. For the moment i dont have much time over to do more tests now but might look in to it later.

Daniel
Reply to  Emmanuel Flossie
3 months ago

Yes, that also possible. I have triple checked the install and all stuff i can think of but it dont work as it should with consent.

I changed a couple of shops to wetracked.io for a test and everything works there.

André
3 months ago

Thanks for the reply, it clarified a lot for me. We wish you all the best in your work!

André
3 months ago

Just complementing the doubt and demonstrating my case. The variables that are being blocked are country 30, shipping 29, returning-customer 24, city 34, phone 22 and postal code 25 from the code of the imported container JSON file.

André
3 months ago

Hello friends! Interaction here is always very good!
When viewing my tags in GTM (debug) I find the following blocks that are from variables in the JSON file.
“Tag blocked: {function: “__ogt_cross_domain”, instance_name: “_Tagging Activity Tag 24 Named Tagging Activity 10”, priority: 15, vtp_rules: [“list”, “^decoronline.com.br$”, “^decoronline -co.myshopify.com$”], tag_id: 24}” there are a total of 6 errors in the console, do you have any idea what is causing it?

André
3 months ago

Hello Emmanuel, Thank you for your services and I can see that your community is gaining more and more authority. It seems that my “google_business_vertical” is related to GA4 “ecomm_prodid” and “ecomm_totalvalue”, but I have more data received in “value” and “id”, do you think this circumstance is possible and would there be an option to change it?

André
3 months ago

Hello Emmanoel, congratulations on your work! I hope to also be contributing with my humble questions. I had problems with my optimized conversions and I managed to fix the “Purchase” but it is no longer causing problems (I also have not been able to collect specific data from the optimized conversions). Google is now requesting optimized conversations from the entire account. I added the optimized conversions to my checkout and cart tags, but when deploying the data layers I am not sure if they have a SHA-256, so I used automatic ones to test. Could you tell me if the data collection variable has a SHA-256 or if I can set it automatically for cart and checkout or if there is a specific one that you can pass on to us. All settings refer to GTM

August
August
3 months ago

Hello Emmanuel!

Using your custom pixel now, seems to work well though I have little data yet but they all seem to be installed and not in “inactive mode”

I got an automatic suggestion to add xxxxx.myshopify.com as a link cross domain together with shop URL. Is that neccessary? And if I do can that mess with your pixel code?

Thank you for all the help!

/August

Diwakar
Diwakar
3 months ago

Once we install this manual pixel conversion, can we uninstall google channel app or leave it as it is installed in Shopify. Please confirm.

Diwakar
Diwakar
Reply to  Emmanuel Flossie
3 months ago

I actually don’t use merchant center hence have not used it.

Diwakar
Diwakar
Reply to  Emmanuel Flossie
3 months ago

Thanks much for sparing time and helping millions.

Benjamin
Benjamin
3 months ago

Hello Emmanuel,
Just installed v2.0026, do I need to delete the remarketing pixel I have installed from your remarketing pixel guid below
https://feedarmy.com/kb/adding-google-adwords-remarketing-tag-to-shopify/
Thanks for your helpful tutorials.

Fabrizio
Fabrizio
3 months ago

Hi Emmanuel,

I set up the “Shopify Pixel with Enhanced Conversion & Micro Conversions + GA4” and deleted the GTM script by “theme.liquid” file. I installed the Clarity code, some customs micro conversions, and the cookie banner script in the GTM, but now I can’t see the cookie banner, ie. Do I need to use the GTM script in the theme.liquid file to use cookie banner script and other scripts in GTM? I appreciate your help!

Ally
Ally
3 months ago

Hi there! I’ve used your work before to help setup someone’s conversion tracking and it worked perfectly, unfortunately when I go to set it up this time when assigning conversion id to the tags in tag manager. I get an error message for: The value must be a positive integer or 0.

I know this is something on my end that i’ve forgotten to do separately from your setup but my brain won’t function today and wonder if you know the issue.

Diwakar
Diwakar
3 months ago

Hi, Thank you for helping most of us here.

1.What if we dont have or want to have merchant center, should we delete the line itself. We dont always connect merchant center.
2 Like if we only want to setup add to cart and purchase, can we just ignore all others and use only add to cart and delete the rest from tag manager ?

Thanks in advance

697
0
Would love your thoughts, please comment.x
()
x