Javascript Fix Needed For Google Analytics/Safari Bug

Closed

Hi,

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.

PLEASE NOTE: I WILL ONLY CONSIDER CODERS WHO INCLUDE THEIR BACKGROUND IN BOTH JAVASCRIPT AND GOOGLE ANALYTICS.

Thanks in advance!

Skills: Amazon Web Services, Engineering, Javascript, PHP, Project Management, Software Architecture, Software Testing, Web Hosting, Website Management, Website Testing

See more: yandex com, what is analytics, time in ga, net fix com, javascript coders, i need google chrome, how to work for google, fix it for you, fix dot net, dot net fix, cross domain cookies, apple i-works, google analytics cross domain tracking, yandex, tracking cookie, salient, pass google, cross domain, cookie store, chrome javascript, dot net issue tracking, javascript bug fix, javascript tracking, create javascript tracking code, issue google

About the Employer:
( 527 reviews ) San Diego, United States

Project ID: #3512433