Announcement

Collapse
No announcement yet.

Google Analytics without Javascript?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Google Analytics without Javascript?

    Hi folks,

    I have an application where I want to use Google Analytics to track completed purchases, but there are technical reasons why we can't use Javascript. All communication has to be between the store and Google's server, nothing deferred to the browser. The INVC page can use <mvt:call> to make direct HTTP requests to the server; but is it practical to do this without some JS to manipulate the data?

    I did some searching & browsing, and it seems like this is feasible. One post on StackOverflow says in part, "All Google Analytics seems to do is ultimately request an image file with analytic data appended to the URL. You can call that URL directly from your PHP or other server side code to achieve the same effect."

    Does anyone have experience with this? Go a code snippet you'd like to share?

    Thanks --
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA
Working...
X