How to dynamic add Google analytics track code using php?
Posted
by
foodil2
on Pro Webmasters
See other posts from Pro Webmasters
or by foodil2
Published on 2012-03-27T16:19:28Z
Indexed on
2012/03/27
17:44 UTC
Read the original article
Hit count: 208
google-analytics
I would like to add track code for each link of in my email content So , i have register a google analytic accounts and found that there is only 1 track code
therefore, how to use php , given a google analytics id and password given,
- register for a new track code
- add each code to a link (need to use php to add a 1px * 1 px image for each link?)
- Return the codes added
Thank you
Besides, if i have to track the result in Google analytic (traffic source ->campaign) or i can use an api that can integrate the result panel in Google analytic to my system ?
Thank you again for any kindly help
© Pro Webmasters or respective owner