Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Archives’ is closed to new topics and replies.
It turns out that GA is not working for me because I never installed the tracking code. But according to GA I need to do :
To get all the benefits of Universal Analytics for this property, copy and paste this code into every webpage you want to track.
Or
PHP Implementation
tag:
Create a PHP file named “analyticstracking.php” with the code above and include it on each PHP template page. Then, add the following line to each template page immediately after the opening
< ?php include_once("analyticstracking.php") ?>
So what page do I need to track? Or do I need to add that tracking code to ALL my webpages, about 1100, LOL
Thanks
Or paste the tracking code into the section of your header.php.
I understand Cathy, I do not understand Redneck unless I get more explanation. Layman here. 🙂
Do you mean this code
(function(i,s,o,g,r,a,m){i=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-xxxxxxx-1', 'semmickphoto.com');
ga('send', 'pageview');
Yes, that code.
It needs to be placed between the
.
.
.
tags of your header.php
However, you might lose this customization with future updates of SYS theme except you copy that header.php into your child theme folder.
Thanks, I just did that. I dont use child theme, because I dont know how to use it. 🙂
The forum ‘Archives’ is closed to new topics and replies.