Jump to content

Duplication of javascripts


Tulchan

Recommended Posts

Hi

My site currently has two Analytics tracking codes - one in the <head>, as you'd expect but also one outside of the <body>.  Latter one is part of a bundle of javascripts and, I presume, is a result of CCC option to "move javascripts to the end".

I tried to resolve duplication by switching CCC option off - got rid of duplicate Analytics tag issue but created new problems - namely...

  • the Category block stopped nesting subcategories, making it very ugly.
  • the layered navigation block stopped functioning altogether.

When I turn the "move javascripts to the end" option back on, blocks start working again but the Analytics tag is duplicated again.

Any ideas how to achieve the best of both worlds here?

Thanks in advance.

Kristian

 

Site is www.tulchanonline.co.uk

Edited by Tulchan (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...