Open tcocca opened 12 years ago
You can add in more checks for the search engine, or add a module searching for paid referrals.
Iain
On Jan 8, 2012, at 8:29, Tom Cocca reply@reply.github.com wrote:
Is it possible somehow to determine if referral traffic is paid (adwords, adsense, bing ads, etc...) vs. organic (similar to google analytics).
Reply to this email directly or view it on GitHub: https://github.com/codejoust/session.js/issues/10
What ad networks do you want to add?
I am thinking the big ones to start maybe? Adwords, Double Click, Adsense, Bing Adsense. I'm not quite sure what the actual tracking would involve. I think it would just be regex matching on the referrer.
I might do this in a new query interface when I modularize the project. So, probably a far-future deal. You also can do session.cur_session.referrer.match(/doubleclick/i), etc. for now.
for google you can use if referer is google.com/aclk or if google leaves his ?gclid in the page url
Is it possible somehow to determine if referral traffic is paid (adwords, adsense, bing ads, etc...) vs. organic (similar to google analytics).