session.js icon indicating copy to clipboard operation
session.js copied to clipboard

Determine paid vs. organic traffic?

Open tcocca opened this issue 13 years ago • 5 comments

Is it possible somehow to determine if referral traffic is paid (adwords, adsense, bing ads, etc...) vs. organic (similar to google analytics).

tcocca avatar Jan 08 '12 13:01 tcocca

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 [email protected] 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

codejoust avatar Jan 08 '12 14:01 codejoust

What ad networks do you want to add?

codejoust avatar Jan 08 '12 18:01 codejoust

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.

tcocca avatar Jan 08 '12 18:01 tcocca

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.

codejoust avatar Jan 09 '12 00:01 codejoust

for google you can use if referer is google.com/aclk or if google leaves his ?gclid in the page url

necenzurat avatar Jan 17 '12 18:01 necenzurat