Questions tagged [measurement-protocol]

The Google Analytics Measurement Protocol allows developers to make HTTP requests to send raw user interaction data directly to Google Analytics servers.

This allows developers to measure how users interact with their business from almost any environment. Developers can then use the Measurement Protocol to:

  • Measure user activity in new environments.
  • Tie online to offline behavior.
  • Send data from both the web and server.

Links

351 questions
2
votes
1 answer

How to fill the Tech Overview data in Google Analytics 4 (GA4)?

I'm using GA4 Measurement Protocol to record events from a Roku application. This is not a web or Android/iOS app and there's no SDK for GA4, so I need to record events the same way I would do from a server: HTTP requests using the Measurement…
2
votes
0 answers

Is there a way to access event data generated by Firebase Analytics in order to send it to third-party analytics solutions?

I am setting up analytics for my mobile app and already have Firebase Analytics implemented. I want to catch the event data generated by Firebase Analytics and re-send it to third-party tracking solutions (like Amplitude). Is there a way to access…
2
votes
1 answer

Cannot find measurement protocol in GA4 data stream to create api-secret for sending events

Initially, I had set up Universal Analytics to track some user activity on my web application but I then realized that I cannot generate reports(get data back from the dashboard for further analysis) and then decided to switch to google analytics 4…
2
votes
0 answers

How to send Server-originated events to Google Analytics 4 today?

What is a reliable way to send server-originated events (like purchase and refund) about specific mobile app users to Google Analytics 4 today? As far as I can see, GA 4 Measurement protocol is still in the alpha stage. I've tried to implement it,…
2
votes
2 answers

Measurement Protocol Google Analytics Post request not registering page views

I'm trying to register source and medium impressions using the Google Analytics Measurement Protocol. I'm not seeing pageviews or source/mediums being recorded in the GA dashboard. I'm running this snippet in my head tag.
cwmacken
  • 355
  • 1
  • 3
  • 12
2
votes
1 answer

Google Analytics - Measurement Protocol - Hits not recognized/visible in Enhanced Ecommerce Reports

Google referred me to this forum, since they did not have a solution to the following issue. So the issue we are facing is that hits send via the measurement protocol are registered by Google Analytics in the real-time- and events reports, but those…
2
votes
2 answers

Google Anlytics/Google Ads adding a conversion

Information: I'm working on a phone-tracking project that uses the Google Analytics measurement protocol, that should do the following when finished: Add a event/hit to a goal in Google Analytics (predefined category/action) Add a conversion in…
Mac
  • 334
  • 1
  • 3
  • 13
2
votes
0 answers

Google App Engine Exception - Current thread is not associated with any request and is not a background thread

I am trying to hit google analytics through GAE APIs from a cross platform Java desktop application. I followed sample code from github but due to threading problem the request isn't being executed.…
2
votes
1 answer

Some Google Analytics events sent through Measurement Protocol disappearing after a day

As of September 10, 2019, we are seeing some of the events we send to Google Analytics for multiple accounts register in Real Time events then show in Events Overview and then after about 24 hours they just disappear. Other events that are sent the…
jonny
  • 301
  • 2
  • 5
2
votes
0 answers

Will Google Analytics overwrite UID with CID?

Using Measurement Protocol and setting up my own Google Analytics reporting. I had previously used only UID to identify users who authenticated with us, ignoring "anonymous" users. Not the best idea. Now I want to add the CID field because I do want…
ericjam
  • 1,501
  • 2
  • 20
  • 30
2
votes
1 answer

Analytics: Refunds increases # transactions & conversion rate. Fix?

I own multiple affiliate websites and I am currently working on a piece of software that matches clicks and sales to visitors in GA. This allows me to see my earnings, the number of transactions and best advertisers directly in GA rather than having…
2
votes
2 answers

Google Analytics session timeout even though timeout set at 1hrs?

I have set my session timeout at 1hr I am using the measurement API since its a Samsung Tizen TV application and I cannot use the official Web/Android/iOS SDKs. I am sending var params = { v: 1, tid: GA_TRACKING_ID, cid:…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
2
votes
1 answer

How do you specify source in Google's measurement protocol transaction hits?

I've been able to send transaction hits to Google Analytics no problem through Hit Builder just to test out Hit Paylods. Link here: Google's Hit Builder Transactions are showing up in GA and their source is "Direct" on default it seems. What I want…
Amiko
  • 545
  • 1
  • 8
  • 26
2
votes
1 answer

Count of sessions exceeds pageviews when using measurement protocol for event reporting

We have created a server-side tracking for file downloads when users are simply getting a direct download link. We are passing an event collection to GA using Google analytics measurement protocol. Everything seemed fine, but we've noticed that the…
ElvisK
  • 109
  • 1
  • 7
2
votes
2 answers

How to send Measurement Protocol if there is no ClientID?

I need to send Measurement Protocol, but clietID cookie may not exist. ClientID is required parameter. What to do in this case? Generate it? In which way? (I need to do in on PHP)