Chat Room Article Base Facebook Page Twitter RSS Feed
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 11:13:54 AM

Login with username, password and session length
Search:     Advanced search
The E-commerce forum, the best place for advice for your Small Business.
12786 Posts in 1519 Topics by 6455 Members
Latest Member: fabiochappel1230
* Home Help Search Login Register
+  E-commerce forum
|-+  E-commerce
| |-+  Shopping cart software
| | |-+  Zen cart
| | | |-+  Google Analytics
« previous next »
Pages: 1 [2] Print
Author Topic: Google Analytics  (Read 952 times)
Baa
Member (ds)
Part of the Furniture
*****

Karma: 23
Offline Offline

Posts: 463


WWW
« Reply #15 on: October 29, 2011, 10:43:59 AM »


Tracking Status   Tracking Not InstalledLast checked: 31-Dec-1969 16:00:00 PST


That's a bit of a glaring error message, I put it into google and got the following page

http://www.google.com/support/forum/p/Google+Analytics/thread?tid=0b189a4f8bee86b2&hl=en

I pasted the code into /public_html/includes/templates/template_default/common/tpl_main_page.php it seems to be the only php file with body tags in it, is this correct?


If there are any changes to core code it's preferable to put any changes into an overrides folder (i.e., public_html/includes/templates/(your template name)/common) in case you need to upgrade or do any work on your site. However in instances where you do put it into the main code it's worth keeping a note of what has been changed and where so you can easily repeat it if you need to. Otherwise yes tpl_main_page.php is the right file.

Quote
The php file I made with the tracking code in, I uploded to /public_html/includes is this correct?

If your folder structure reads as above public_html/includes .... then yes it's in the right place.
Logged

You cannot conduct today's business with yesterday's methods and expect your business to grow

Moon Stag Designs - Silver, Gold and Gemstone Jewellers. Jewellery for men, women and children.
Bri
Settling In
**

Karma: 0
Offline Offline

Posts: 63


« Reply #16 on: October 31, 2011, 04:34:16 PM »

Thanks for the reply Baa. I will see how it goes and if it gets picked up by google and report back any results, if/when
Logged
Bri
Settling In
**

Karma: 0
Offline Offline

Posts: 63


« Reply #17 on: November 29, 2011, 01:48:19 PM »

That didn't work, google showing tracking not installed. I have now used a code snippet and put in header.php immediately before then </head> tag and analytics now shows as installed. Will have to wait and see what results it picks up now.
Logged
Bri
Settling In
**

Karma: 0
Offline Offline

Posts: 63


« Reply #18 on: December 03, 2011, 11:32:53 AM »

All seems to be working fine now  :D
Logged
Pages: 1 [2] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
SimplePortal 2.2.2 © 2008-2009