Reputation: 131
I am trying to send data about screenview in my account Google Analytics, using measurement protocol. But i don't see data in the Real Time reports. string request:
http://www.google-analytics.com/collect?v=1&tid=UA-55175445-4&cid=666&t=screenview&an=HelloWorld
where is a problem?
Upvotes: 6
Views: 765
Reputation: 148
I had same problem and apparently if you're using mobile app version of analytics you have to send application name (an) and application id (aid), otherwise the hit is ignored.
Upvotes: 5
Reputation: 1152
Here are some bullets you might want to consider.
1) Make sure that you are using google universal. (How?)
2) For new google analytics accounts it will take up to 48 hours until you can start using the measurement protocol.
3) Make sure you are setting the User-Agent with the request
4) Make sure cid is a random UUID (version 4) as described in http://www.ietf.org/rfc/rfc4122.txt
Upvotes: 1