What is the response from GA after successful post request.

566 views
Skip to first unread message

Jayanth S D

unread,
Jul 24, 2013, 3:08:33 AM7/24/13
to google-analytics-m...@googlegroups.com
I've some app from where i'm tracking some data and sending to the GA server. 
My sample request would look like this.

Payload Data: v=1&tid=UA-********-*&t=event&ec=dialler&ea=stat&el=dialler

Each time the user uses my app the above request is send to GA. Even though I'm getting 200 response from HTTP request, GA is not getting any data.

This is the response i'm getting.

01:55:29:716: mainwindow.cpp: onPostReplyFinished: Current reply: http://www.google-analytics.com/collect

01:55:29:716: mainwindow.cpp: onPostReplyFinished: HTTP status code: 200

01:55:29:716: mainwindow.cpp: onPostReplyFinished: Reply Header List Length:10

01:55:29:716: mainwindow.cpp: onPostReplyFinished: Header Name: Date Header Value: Wed, 24 Jul 2013 06:42:42 GMT

01:55:29:716: mainwindow.cpp: onPostReplyFinished: Header Name: Content-Length Header Value: 35

01:55:29:716: mainwindow.cpp: onPostReplyFinished: Header Name: X-Content-Type-Options Header Value: nosniff

01:55:29:717: mainwindow.cpp: onPostReplyFinished: Header Name: Pragma Header Value: no-cache

01:55:29:717: mainwindow.cpp: onPostReplyFinished: Header Name: Cache-Control Header Value: private, no-cache, no-cache=Set-Cookie, proxy-revalidate

01:55:29:717: mainwindow.cpp: onPostReplyFinished: Header Name: Expires Header Value: Mon, 07 Aug 1995 23:30:00 GMT

01:55:29:717: mainwindow.cpp: onPostReplyFinished: Header Name: Last-Modified Header Value: Sun, 17 May 1998 03:00:00 GMT

01:55:29:717: mainwindow.cpp: onPostReplyFinished: Header Name: Content-Type Header Value: image/gif

01:55:29:717: mainwindow.cpp: onPostReplyFinished: Header Name: Access-Control-Allow-Origin Header Value: *

01:55:29:717: mainwindow.cpp: onPostReplyFinished: Header Name: Server Header Value: GFE/2.0

Post Success 



Tracking ID is valid. Tried with other apps. Don't want to disclose it and hence made it *

Can someone tell the reason??


Jim Wogulis

unread,
Jul 25, 2013, 12:27:04 AM7/25/13
to Jayanth S D, google-analytics-m...@googlegroups.com
The HTTP response will always be 200 and simply acknowledges the data has been received. From the sample payload you provided you are missing the &cid (client id) parameter which is required.

-- Jim




--
You received this message because you are subscribed to the Google Groups "google-analytics-measurement-protocol" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-measure...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages