Jump to content

Google Analytics Question.


Recommended Posts

Is it possible to get the Google Analytics module to work without setting up goals and the like? The only thing I've done is put my usercode in the correct field but it doesn't seem to track anything.

Any advice would be welcomed.

  • Like 1
Link to comment
Share on other sites

Hi Hoodgrown

You should just be able to add the tracking code at the footer of your pages (before closing body tag) and it should work. In google analytics, theer is an option to check the code it working

You don't need to do anything else such as set-up goals etc

If its your petsright website, I could not see analytics code in the source, although you may have added the verify code for google webmasters

Link to comment
Share on other sites

I had taken the code out because Prestashop seemed to clash with the Google javascript. In my previous 3 column design... the site would only load the first and middle column... not the footer or the left when it encountered the google code.

Link to comment
Share on other sites

sorry, a namespace simply means adding something to the code so it will not clash with other javascript libraries

for example in css, as opposed to #column, you might have #pets_column so you know your rule will not clash with another rule. When using several javascript libraries for example, you could fall into a trap if each library styles the same element becuase its used commonly, such as #left, #header etc

see this article http://www.dustindiaz.com/namespace-your-javascript/

Link to comment
Share on other sites

  • 5 months later...
×
×
  • Create New...