Posts tagged with google-analytics

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

Android code for sending data to firebase analytics:-

FirebaseAnalytics logger = FirebaseAnalytics.getInstance(activity); Bundle bundle = new Bundle(); bundle.putString("Type", type); logger.logEvent("RazorPay", bundle); 

This event is correctly recorded in Firebase Analytics but in Campaign section it have displayed as (not set) https://i.sstatic.net/X8E7i.png

I have also check log in Firebase debug view all data are correctly recorded https://i.sstatic.net/YfZ1Z.png

Does anyone understand what wrong is going here, why display (not set) value?, what exactly show instead of (not set)

Thank you in advance

I'm using Google Analytics to add data to the corresponding and connected Google Ads campaign, visible in the Googla Ads backend.

Connecting Analytics UA with Google Ads worked fine, but the user data delivered by GA4 does not appear in Google Ads.

I connected the new GA4 account with the matching Google Ads account.

The data, that should appear as columns in the Ads campaign data, can be found in the settings for the columns. Go to "Campaigns", then "Columns" - Modify columns - Google Analytics.

Here should appear "% Engaged sessions (GA4)", "Events/session (GA4)", "Avg. session duration (seconds) (GA4)".

In some cases it does, but mostly not. (2 out of 6 it works)

I tried to find differences or similarities to get to the bottom of the problem. Although some of the installations are using GTM and some are not the ones with the problem do not correlate to the one with or without GTM.

Settings and connection in Google Ads and GA4 should be similar as far as I can see. GA4 accounts are listed under the "tools and settings" - "setup" - "linked accounts" in Google Ads.

In "Google Analytics (GA4) & Firebase" - "Manage & Link" I can see a difference in the columns. The accounts with the correct data have the entry "Linked: App and web metrics activated" in Status and an extra column "Apps and web metrics", where it says "Deactivate".

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.

How do I report conversion from gtag on server side back to google ads?

My current setup is that I report events from gtag back to google analytics 4 using unique userId (generated in my database and it's unique for each user)

    let data = {         client_id: this.getDeviceId(),         user_id: this.userId,         events: [{             name: eventName,             params: props,         }]     }     ... then send it as payload to the tracking url to the ga4 tracking url:     https://www.google-analytics.com/mp/collect?measurement_id=...&api_secret=... 

Now I launched google ads and want to report purchase and renewals as conversion.

So I imported my target event from GA4 to google ads as an offline event.

But to my understanding, in order to properly link the user back to google ads, I also need to pass gclid in gtag when I report the event/conversion, but how to do that?

Should I just add gclid as property in data? Is it documented anywhere?

I was using the below doc link in order to setup gtag tracking on the server: https://developers.google.com/analytics/devguides/collection/protocol/ga4/user-properties?client_type=gtag