Forums / General Questions / How I Added Google Analytics Tracking Code instead of using a plugin

How I Added Google Analytics Tracking Code instead of using a plugin

Views: 17,398

Results 21 to 23 of 23
19 Sep 2021, 3:31 AM
#21
nonprofit avatar

nonprofit

New Zenner

Join Date:
Oct 2012
Location:
Philadelphia, PA, USA
Posts:
34
Plugin Contributions:
0

How I Added Google Analytics Tracking Code instead of using a plugin

I, too, have a 1.5.7c site - https://sepialiterature.info.
I, too, was unable to get analytics working per Dr.Byte's directions. I too added the Google analytics snippet before the /public_html/includes/templates/sepia/common/html_header.php. It now seems to be working. As lat9 suggested, I did delete the snippet from the *jscript_google_analytics.js file, too.

*Upon seeing this thread, I tried to follow rlexyd's suggestion. It seemed to work so I also tried to heed Lat9's advice and removed the snippet. I stopped seeing any data being captured in analytics. I added it back per Dr. Bytes just tonight. Our low volume site needs the data to improve.

19 Sep 2021, 4:56 PM
#22
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,862
Plugin Contributions:
18

Re: How I Added Google Analytics Tracking Code instead of using a plugin

nonprofit:

I, too, have a 1.5.7c site - https://sepialiterature.info.
I, too, was unable to get analytics working per Dr.Byte's directions. I too added the Google analytics snippet before the /public_html/includes/templates/sepia/common/html_header.php. It now seems to be working. As lat9 suggested, I did delete the snippet from the *jscript_google_analytics.js file, too.

*Upon seeing this thread, I tried to follow rlexyd's suggestion. It seemed to work so I also tried to heed Lat9's advice and removed the snippet. I stopped seeing any data being captured in analytics. I added it back per Dr. Bytes just tonight. Our low volume site needs the data to improve. I'd be willing to bet that your host has a pretty good analytics program built into your cPanel.:P

AWSTATS under the Metrics Tab.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

20 Sep 2021, 1:38 AM
#23
nonprofit avatar

nonprofit

New Zenner

Join Date:
Oct 2012
Location:
Philadelphia, PA, USA
Posts:
34
Plugin Contributions:
0

Re: How I Added Google Analytics Tracking Code instead of using a plugin

Thanks, DblToe,
AWStats looks amazing but I still need Google Analytics to work.