The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

jQuery and Google Analytics (urchin) conflict

  • # March 31, 2010 at 2:43 pm

    Hi Everyone,

    New to this forum after reading Chris’ stuff and using his screencasts for a while, and wow it’s a busy one!

    Has anyone experienced a problem when using jQuery on a site which also uses Google Analytics (specifically the old urchin.js version)? I’m updating a site at the moment that uses it, and have added a nice jQuery FAQ plugin (, which is looking great. Uploaded it, and the site owner wanted to check that the new FAQ page is now registering in Analytics properly. She went and checked and said that all her stats have gone, including historical ones, and it’s now showing only zeros. Eeek!

    I hastily restored the site to how I found it, and the GA came back up with all the data. Phew!

    After some googling and reading, I understand conflicting JS functions or variables could be to blame. Does anyone know what it is in jQuery (or maybe the jQuery FAQ plugin) that is causing the conflict so I can change it? If anyone has already seen this and knows, it’ll save me a lot of time!

    Many thanks,


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed