Google analytics information to show on registration form emails
Can anyone tell me how to make the following information display on any registration emails that are sent from my website to me?
Google Analytics Information
First Visit: 03/20/2012 7:20:42 PM
Previous Visit: 03/20/2012
Current Visit: 03/20/2012 7:20:42 PM
Thanks in advance to anyone that helps
Re: Google analytics information to show on registration form emails
For source, campaign, medium, content and term, you can use manual tagging. When the user first hits your site, create your own cookie that saves all this data along with the date(s) of the first and previous visit. You can also include a visit counter that would be updated each time that visitor comes from anywhere other than your own site.
For the IP address, look at server variables, either REMOTE_ADDR or REMOTE_HOST.
When you generate the email, look at the cookie for your data.
BEst of Luck!