View Single Post
Old 04-14-2015, 03:43 PM  
transbetty
Confirmed User
 
transbetty's Avatar
 
Industry Role:
Join Date: May 2013
Location: Prague
Posts: 196
Yes another mistake / possible flaw.

Please note: don't use sever-side page cache with above script - obviously it will cause the first page visit to generate some referral the code, unless you create an exception in your cache (little bit complicated). Use a JS/cookie solution instead: https://gist.github.com/transbetty/ffa7374d8f71667a1e44

Simplified algo:

is URL parameter present?
- yes
-- add params to all urls
-- set cookie
- no
-- check cookie new
-- check cookie old
-- add params to all urls from
--- new cookie
--- old cookie, delete old cookie

Sorry if I caused any issues. Learned it causes reporting issues only after deploying
__________________

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)
transbetty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote