Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

google analytics server side

 
Priyanka Sumanam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one help me with how ti generate google analytics gif request server side and what are the parameters that we can generate from server side .
Are all the parameters in the request mandatory?
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a "google analytics gif request server side"? GA loads a JavaScript from the GA server; where does a GIF come into play? You can use an HTTP monitoring tool like the Firefox extension LiveHTTPHeaders to observe all HTTP traffic.
 
Priyanka Sumanam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lester,

Yes,google loads the java script code from the google server.But finally what the java script does is ,it sends the request for a one pixel image with all the required paramaters added to the request querry which would fill the google data base.My requirement is to work on a plat form where java script doesn't work .So i have to eventually end up creating the same kind or request from the serverside.

I hope that clears your question.If not, please visit the below link for more details

http://www.vdgraaf.info/google-analytics-without-javascript.html

Thnx
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would seem that the article you linked to answers the question you asked, no?
 
Priyanka Sumanam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yup...i got my answer in that article
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic