There's a bug in the Google Analytics code that causes Safari to mess up tracking information. The issue with Safari is how it handles URLs, specifically symbols used by Google Analytics to pass cookies in cross-domain tracking mechanism. That's what I need fixed. Here's more detail:
So while Chrome handles the link as
[url removed, login to view]|utmccn=(organic)|utmcmd=organic|utmctr=hello&__utmv=-&__utmk=10792628&s=STR0682586395&pc=&page=[url removed, login to view] (notice the "utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=hello" part)
Safari handles the same link as this:
[url removed, login to view](organic)%7Cutmcmd=organic%7Cutmctr=hello&__utmv=-&__utmk=122181387&s=STR0682586395&pc=& amp;page=[url removed, login to view] (this time we have "utmcsr=yandex%7Cutmccn=(organic)%7Cutmcmd=organic%7Cutmctr=hello")
Google Analytics tracking code only works with what it sees i.e. the actual URL, and it seems like the way Safari handles it doesn't let GA code work properly.
I strongly believe that the problem is in the pipe character "|" delimiting the cookie values, but there's no way to change the way Safari handles it.
Here are a couple of links to related questions:
1. [url removed, login to view] (yes there's a dot in the end!)
2. [url removed, login to view]
3. [url removed, login to view]
The code you create must do two things:
1) Fix this Safari bug
2) Not affect any of the existing Google Analytics tracking.
Please enter the word "SALIENT" in your bid to show you've read all of this.
Thanks in advance!