So here is the Gist code
https://gist.github.com/transbetty/e23f4277c48416173f6c
I'm not a developer, so it's not objects, but I think it will do.
Basically what it does it gets the Google Analytics utm_source and utm_campaign and writes it to cookie. You need to add getTrackSource(); to links pointing to your
affiliate.
Before using ask your program if they have "autocamp" enabled. No reason adding this if they don't.
And how to benefit from this?
- you can attribute a signup to a campaign initiated outside your site
- you can create some reports that relate Google Analytics data and NATS
- this comes especially handy if you run multiple sites and send visitors to-and-fro
What's next
- creating a PHP class, but sorry objects are not my thing. Any takers?
- A really wonderful feature would be adding a special hash from your site tracking system (if you use any). This will allow you to identify visitor behavior on your site and have that info in NATS. Personally I think this would be a tremendously handy feature.
__________________
Tranny Sites - tranny, fetish & BDSM porn site reviews by Betty
Tranny Ladies - online tranny dating and community portal
Transbetty - my personal blog (articles/photos/reflections)