Mobile app version of vmapp.org
Login or Join
Welton855

: How to dynamic add Google analytics track code using php? 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

@Welton855

Posted in: #GoogleAnalytics

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

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

1 Comments

Sorted by latest first Latest Oldest Best

 

@Radia820

Have a look at PHP-GA, it's a server side client for Google Analytics which should allow you to track links programatically.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme