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
0 answers

Importing AdWords Call Conversions to Analytics without CID - only gCLID - with Measurement Protocol

We have an Google Adwords account linked up to a Google Universal Analytics account and we are trying to attribute call extension conversions to the Adwords via Analytics using only the gCLID. We are getting the gCLIDs via the Google Adwords API. In…
2
votes
0 answers

Set goal location through measurement protocol event

I'm using the measurement protocol to send an event to Google Analytics. The event shows up fine, but this event also completes a goal for us and the location keeps coming up as (entrance). I've looked around and read some suggestions saying that…
mcon
  • 679
  • 6
  • 22
2
votes
1 answer

Using UID to pass transaction data to GA in measurement protocol

We have a Lead generation website, where conversion action is a form submit. A percentage of these leads get enrolled offline. We plan to use measurement protocol to tie-back this revenue to google analytics. The set-up is as follows: Enable…
2
votes
3 answers

Google Analytics: How to overcome payload size restriction?

I use Google Analytics Enhanced E-commerce for some shops. On catalog page I have many products and I need to track their impressions. I do not track each product one-by-one, cause it will cause many requests, instead I add all of them through…
2
votes
2 answers

Why does Google Analytics client ID cookie contain a "GA1.2." prefix?

I know that an actual client ID looks like this: 1054613344.1468150257 But the _ga cookies that contains the client ID has a GA1.2. prefix and looks like this: GA1.2.1054613344.1468150257 What is the meaning of this prefix? Why does _ga cookie…
Sergey
  • 47,222
  • 25
  • 87
  • 129
2
votes
1 answer

Set Google Analytics User defined value using google measurement protocol

I started implementing Analytics Measurement Protocol to my page and i didn't find a way to set "User defined value" within Audience -> Custom -> User Defined. I did 2 custom dimensions which works well. I red that this user defined value comes…
bksi
  • 1,606
  • 1
  • 23
  • 45
2
votes
1 answer

How do I update Google Analytics session data using Measurement Protocol without creating a new session

QUESTION: How can I assure that the visitor's original session is updated/attributed with a new Goal triggered by using Measurement Protocol, even if the trigger happens after the original session window has expired? Problem in detail: I am…
AxMann
  • 21
  • 2
2
votes
1 answer

Debugging Google Analytics message errors

I'm using the Measurement Protocol to push data to Google Analytics. The protocol reference says that the endpoint (http://www.google-analytics.com/collect) always returns 200 OK, even if your message was malformed and/or ignored. If my message is…
Mud
  • 28,277
  • 11
  • 59
  • 92
2
votes
1 answer

Is google analytics event tracking javascript secure

Google analytics offers functionality to track specific events happening on your site using javascript calls like this : ga('send', 'event', 'button', 'click', 'nav buttons', 4); This is documented here :…
2
votes
1 answer

Google Analytics Measurement Protocol Event results as Realtime visitor from United States

Currently i am making a custom event that will trigger from PHP and i am using Measurement Protocol. I had validate the event - and its "valid": true. I also see the event in Real-time reports. When i am testing the event and when i check Analytics…
linderman
  • 149
  • 1
  • 9
2
votes
0 answers

Google Measurement Protocol not registering custom dimensions

I'm using the Google Analytics Measurement Protocol to register events with HTTP requests. I'm building this for a Roku app I'm working on. The events are getting sent and registered, but it seems the custom dimensions aren't working. Here's what…
2
votes
1 answer

Get the cid for Google Analytics in PHP/Zend Framework

I want to track the usage of an API. So I'm using Zend_Http_Client to send POST-parameters to Google Analytic's collector. The Google developers-page tells me, that I have to send a cid (Anonymous Client ID). But how can I send it via PHP when it is…
2
votes
2 answers

Measurement protocol Usage

I am completely new to the Google Analytics Measurement protocol. Trying to fetch the results and load it in iframe of an registered tid domain. My query string looks something like…
Mithun Shreevatsa
  • 3,588
  • 9
  • 50
  • 95
2
votes
1 answer

Google Measurement Protocol: update revenue

I need to update revenue of existing transaction by measurement protocol. I send request. But analitycs adds a new revenue to the existing revenue. Expample: Original transaction have revenue: 100. Actual revenue: 150. I send request for this…
2
votes
3 answers

Google Analytics Measurement Protocol / real time events not showing

I am logging HTTP POST requests from an embedded app using C code and seeing real-time events show up for one GA Account but not for another. In both cases, the events turn up in the App Overview the following day as registered messages so the…
quixote
  • 23
  • 6