Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Google Analytics Into Header of Template

google analytics

  • You cannot reply to this topic
5 replies to this topic

#1 mwoolgar

  • Community Member
  • 1 posts
  • Real Name:Mils

Posted 17 January 2012, 12:21

Hi

I'm new to oscommerce. I'm trying to find out if I can add my Google Analytics code to a template as I don't have to add it to every page. Thus far I have had no luck. Do I need to download a particular module?

Kind regards

Miles

#2 multimixer

  • Community Sponsor
  • 3,596 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 17 January 2012, 13:21

What version of osCommerce do you use?
Looking for a way to create your own osCommerce template ? click

#3 Brian Peperfin

  • Community Member
  • 12 posts

Posted 18 January 2012, 06:56

I`m using the New OSC I want to do this as well

#4 multimixer

  • Community Sponsor
  • 3,596 posts
  • Real Name:George Zarkadas
  • Gender:Male
  • Location:Greece

Posted 18 January 2012, 07:16

View PostBrian Peperfin, on 18 January 2012, 06:56, said:

I`m using the New OSC I want to do this as well

Forversion 2.3.1: In your admin, go to modules>headertags and install the google analytics module, you just need to enter your tracking code
Looking for a way to create your own osCommerce template ? click

#5 matthewstevens

  • Community Member
  • 1 posts
  • Real Name:Jakki

Posted 01 May 2012, 15:22

I'm using a 2003 version. Can anyone tell me how to do the same - my module menu doesn't have a header tag option.

#6 14steve14

  • Community Member
  • 2,176 posts
  • Real Name:Steve
  • Gender:Male

Posted 03 May 2012, 07:19

If you are not using 2.3.1 go to goole, sign up for analytics and you will find a bit of code that google says to insert into the page. Insert this code into either the header or footer page. It will then be available on every oscommerce page.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder. OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.