Posts tagged with google-analytics

Note - Below all these points I am doing manually, I want to make it automatically with programming.

I have several questions regarding "google-cloud-iam"

Are these below points are possible programmatically via "google-cloud-iam" any type of API?

  1. Do Link Google Adwords account with Google analytics (User is using the same Gmail account for AdWords and Analytics account)
  2. Create a project in the cloud google console, enable "Analytics API", create a service account, and download the P12 Key at the server-side or client-side.
  3. Add Service account id in Google Analytics user management

Created App Campaign for an Android app that has Firebase(Google) Analytics SDK added. We're generating a couple of events and we're able to get conversions based on user usage.

Example of conversion:

  • User clicks on ad
  • Is redirected on try-app landing page on our website
  • Clicks on google play store
  • Installs app
  • Do a certain action for N times
  • Success: we have a conversion.

Everything works as expected for App Campaigns. The problem that I've encountered is with Video and Display Campaigns. I can't seem to replicate the same behaviour as for app campaigns. I'm not recording any conversions.

Has anyone run into the same problem? I've been struggling for two weeks now and I don't see the light at the end of the tunnel.

I'm currently trying to track form submissions on a site that has forms all over it as well as user accounts. We want to track the first form submission (a new lead) then nothing else. Because of the platform (I don't have access to the backend) it's causing every form submission to be tracked. Is there a way to limit it to user or session?

In this instance I'm wanting to fire conversion pixels for adwords and it's firing every time a form is filled out.

I've looked at Simo's guide on this that was written 6 years ago but it doesn't seem to be working.

What I did as a stopgap is identify the most common single use form (the registration form) and use that as the conversion method. However, there are other forms that are meant to be used by logged in users that get submitted over and over again. If a non-logged-in user uses this form an account is automatically created. These are the form submissions I'm trying to track.

We have a problem with E-Commerce transactions sometimes not beeing set in relation to an ad click ("cpc"). They appear instead with the Channel/Medium "direct". This is a problem as we cannot correctly link our revenue to the costs spend on Google Ads.

We got a payment system that allows buyers to safely pay to sellers, and we get a fee percentage of the payment volume (similar like PayPal). We get our fees as soon as a pay-in is successful. Because our users can pay via bank wire as well it may take one or two days until we actually get our fee. This is why ecommerce transactions are not sent from the frontend to GA (on a thank-you page like in online shops), but from our server directly to GA as soon as a payment succeeds.

This is the GET call our server does when a payment succeeds:

GET https://www.google-analytics.com/collect?v=1&tid=UA-XXXXXX-1&cid=1746XXXXX.1593XXXXXXX&t=transaction&ti=mytransactionID&tr=1&cu=USD

Here is a small diagram that explains the process:

We use cross-domain tracking, and the GA Client ID of the users stay the same when they get redirected from mydomain.com to app.mydomain.com, so this should not be the problem. What I assume is, that when a user clicks on an ad, the gclid of the ad is lost. Is there a way to manually send the gclid ID to Google Analytics? I would store the gclid then as well in our payment. Or is there another (maybe better way) to send transactions to GA?

I have a project on the Firebase, which contains both iOS and Android apps, which are tracking as expected in the Firebase and Analytics.

My next goal was to set up an ad campaign on the Google Ads website. I have linked both Firebase and Analytics accounts with my Google Ads account. Android is doing well and right after the linking conversions appeared and ad campaigns are running successfully. But with the iOS app I have problems - first_open conversion is not showing anywhere in the Google Ads console, and if I try to reimport conversions it shows, that I've already imported all of them. Because of that, I am not able to run iOS ad campaigns which are quite disappointing.

I saw a lot of requests like that on the web, but on all of them "Google GOLD Experts" are saying to recheck linking, which makes no sense.

Does anyone was able to fix this bug? I have found that MAYBE we should use Google Tag Manager and connect it with the Google Ads to track iOS conversations.