Posts tagged with google-tag-manager

I am having an issue with connecting my Google Tag Manager tag to my Google Display Ad Campaign for retargeting purposes.

The end goal is to make retargeting to website users that visited our website but did not press the contact us button, request a callback button, request a quote, etc. I have made a Google Tag as "Google Analytics Event" and it is being fired when a user clicks the buttons I mentioned earlier. Everything is working correctly with regards to the Google Tag.

Then I connected it to Google Analytics. I made this by using the same Measurement ID. So I assume that it has been connected.

Now this is where I am stuck. I am trying to connect this to my Google Display Ad Campaign. In "Linked Accounts", the Google Analytics 4 and UA is connected to Google Ads but I want my Google Display Ad Campaign to show only to users who did NOT press the contact us button, request a callback button, and request a quote button.

It would be very helpful if you can help me out regarding this issue.

Thanks, Daniel Schembri

I have set up my Google Tag Manager Tag and everything is working as it should. The Tag is being fired when a user press the contact us button, request a callback button, and request a quote. Therefore, the GTM tag is working correctly.

The problem is when I try to connect the GTM tag to Google Ads for retargeting purposes.

I have tried to follow a lot of Youtube tutorials and small online courses but nothing did work out.

It would be very much appreciated for someone to help me out.

Thank you, Daniel Schembri

I'm trying to finish my analytics setup and I've got a bit confused what is the best way forward. The end goal is to have tracking setup that enables me to optimize my Google and Facebook campaigns towards approved users instead of just signed up users. Our product has the following funnel:

  1. User visits our website
  2. He signs up for our product using website lead form (at this moment I have user's email, name, phone number etc.)
  3. Based on our evaluation (that can take hours or days) the user is approved or disapproved in our CRM

I want to provide the advertising systems (mainly Google Ads and Facebook Ads) with an information when the user was approved with all the required ids so the system can trace the event back to the ad the user clicked.

I have the following analytical stack that I am working with:

  • Website GTM container
  • Server GTM container (GA4+ UA clients, GA4 + UA + FCAPI tags)
  • Facebook Conversion API implemented in sGTM

What would be the best way in your opinion to implement the tracking of the event that is fired from our CRM when user is approved? I was thinking about using Measurement Protocol to send the event to sGTM/GA4 or Enhanced conversions for leads for Google Ads but neither solutions seems to fit 100 % to my scenario. What would you recommend? Thank you for any inputs.

I have a website hosted in AWS with a NodeJS backend.

I have Google Ads conversion events being sent from the frontend using gtag.js, but I noticed missing events and a lot of duplication (even if I use transaction IDs with my events)

I had similar issues with Facebook Pixel and was able to resolve the problem by sending simple vanilla http calls from my backend server.

Is it possible to do the same with Google Ads? I have not been able to find any documentation for server side APIs for Javascript. This documentation here seems promising, but no Javascript SDK exists. That's is why I would like to know what vanilla http calls to make.

I have seen documentation about GTM server side, but it seems I need to host a GTM container (server?) which I would prefer not to have to. Unless I misunderstood what hosting a GTM container means in the context of a AWS cloud solution.

I've been trying to create conversions on Google Ads after implementing small fixes to my site on Netlify. The fixes include changing button colors, adding a new button, etc. So there was no change on the GTM script. However, conversion steps were changed after a successful build on Netlify. I tried to go back to the 3-step-conversion-creation which is the way I used before the fix, I also tried to add a GTAG script to do that. I couldn't find an answer to why it has changed steps on conversion creation, because it doesn't allow me to create conversion via Google Tag Manager. I managed to go back to 3-steps-method before, I had created a new Google Ads account, but I can't use that method this time. Why it has changed? Is it about react or netlify or something else? You can view the screenshots and index.html below:

Before fix:

After fix (Website already has GTAG and GTM):

index.html:

<!DOCTYPE html> <html lang="en"> <head>   <!-- Global site tag (gtag.js) -->   <script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXXXX"></script>   <script>window.dataLayer = window.dataLayer || [];     function gtag() { dataLayer.push(arguments); }     gtag('js', new Date());     gtag('config', 'AW-XXXXXXXXXXX');</script>   <!-- Google Tag Manager -->   <script>(function (w, d, s, l, i) {       w[l] = w[l] || []; w[l].push({         'gtm.start':           new Date().getTime(), event: 'gtm.js'       }); var f = d.getElementsByTagName(s)[0],         j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =           'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);     })(window, document, 'script', 'dataLayer', 'GTM-XXXXXXX');</script>   <!-- End Google Tag Manager -->   <title>Website</title>   <!-- Meta Pixel Code -->   <!-- End Meta Pixel Code --> </head> <body>   <div id="root"></div> </body> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXXX" height="0" width="0"     style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> </html>

Possible solutions to go back to 3-steps-conversion:

  • Delete BULK_ from the URL and press enter, it will direct there
  • Create a new Google Ads account but it is inconvenient and doesn't makes sense if you have balance, outsource data, etc. in that Google Ads account

Still, I have no idea why it has changed in that fix. It didn't happen on previous updates. I couldn't find any information about this. So I thought it might be related to the code. Thanks in advance.

I'm using Google Tag Manager to set a Google Ads conversion tag in my website. When I was debugging using the Tag Assistant window from GTM, my conversion tag was fired successful. When I opened the Tag Assistant Legacy extension from Chrome, I found two error messages related to the "Google Ads Conversion Tracking" tag:

  • "An error occured while the tag was fired: net::ERR_ABORTED"
  • "Error while sending request: net::ERR_ABORTED"

How can I solve this error messages?

Other tags such as "Google Tag Manager", "Global Site Tag (gtag.js)" or "Remarketing Tag" had no errors.

My site is https://mardemor.com.br

Thanks