Is there a way to send tracking info to Google Analytics from PHP ?

Posted by seatoskyhk on Stack Overflow See other posts from Stack Overflow or by seatoskyhk
Published on 2010-06-11T19:13:34Z Indexed on 2010/06/12 1:52 UTC
Read the original article Hit count: 236

Filed under:
|
|

I have a PHP code that will return a image. the link is given to 3rd party. so, i need to keep track where the php request coming from. Because the PHP only return the image, I cannot use the Javascript code for Google analytics. I know that I can get the information from the access.log, but i think I can't dump the access.log to GA for analyzing, right? so, is there a way that I can do in PHP (e.g. sending a CURL ), send somethig to Google Analytics for tracking?

© Stack Overflow or respective owner

Related posts about php

Related posts about google-analytics