Re: Simple Google Analytics - Support
ah...
thanks for pointing out the subtle but very crucial difference bet. the two...
i guess i will try to implement your code
when i am trying out paid search to track actual conversions.
have you implemented jrox affiliate succesfully to fully encompass the whole spectrum of internet marketing?
i.e. does jrox affiliate tracks affiliates' conversions as well?
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
firefish
ah...
thanks for pointing out the subtle but very crucial difference bet. the two...
i guess i will try to implement your code
when i am trying out paid search to track actual conversions.
have you implemented jrox affiliate succesfully to fully encompass the whole spectrum of internet marketing?
i.e. does jrox affiliate tracks affiliates' conversions as well?
Keep in mind that the difference involves more than just paid search. If you are just posting Google Analytics tracking code into your zen cart site in the tpl_main_page.php file then you will loose the ability to track ecommerce transactions and accurately track goals. Both very important parts of the Google Analytic -- that is, if you are looking to have enough data to tell you how to make more money. If you just want statistics and are not as interested in finding out where you can generate more sales then your method will work.
If you are using JROX then you will need to make a slight modification to the code I have. Let me know when you get to that point. JROX has you alter the footer of the checkout success page during it's install. This overrides the Google Analytics thank you page code. They both work together just fine, but you have to move the JROX code to a different page to get it to work with Google Analytics.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
dinki
Thanks for the great contrib!
Can someone tell me how to set up 'Site Search'? It's asking for a 'Query Parameter' and I'm not sure what to put. I searched the thread but didn't get any hits. Thanks!
Try this link. http://www.zencartoptimization.com/2...-100-accuracy/ Further down the page I detail how to setup site search.
Re: Simple Google Analytics - Support
I just read econcept's article that mentions analytics tracking, ecommerce tracking, and adwords conversion tracking being needed. Does this mod install all three? It appears as though it does, as I'm getting all the described info in analytics, but I can't find where the checkout success page is to check for the code for the ecommerce and conversion tracking.
Also, does the conversion tracking track any other PPC keywords like Ask or Yahoo, or is it just adwords?
Re: Simple Google Analytics - Support
Hi,
I installed the google analytics module on v1.3.8, and have followed all the instructions but am getting the below message (I installed the module yesterday morning and have been getting the message since in my google analytics account):
Tracking Not Installed (Last checked: Apr 19, 2009 5:28:41 PM )
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.
Did I miss something or does it take a while for it to find the code?
I can't seem to figure out what i've done wrong
I have checked the source info on my home page and don't see the code that I installed on the bottom of tpl_main_page.php
This is the code (only the bold part) I pasted into the file:
<!--eof- banner #6 display -->
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE,
$current_page_base,'google_analytics') . '/google_analytics.php');
?>
</body>
Are there spaces between the code and </body> that are missing? Would that make a difference
however when I check the main page source I don't see this, all I see is at the end:
</div>
<!--bof- parse time display -->
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<!--eof- banner #6 display -->
The other thing, when I am in the Admin Page for Zen Cart and check the source code I see the below, however the Google Analytics Web Property ID (shown below) is not the one I have for my page.... ?
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5907240-1");
pageTracker._trackPageview();
</script>
thanks in advance for your help
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
fakeDecoy
I just read econcept's article that mentions analytics tracking, ecommerce tracking, and adwords conversion tracking being needed. Does this mod install all three? It appears as though it does, as I'm getting all the described info in analytics, but I can't find where the checkout success page is to check for the code for the ecommerce and conversion tracking.
Also, does the conversion tracking track any other PPC keywords like Ask or Yahoo, or is it just adwords?
Yes, this module supports all three tracking options. Each is configurable from within the admin (except ecommerce tracking which is automatically put into place upon install.)
You will need to turn on the options from within your Google Analytics account as well (make sure your site is set to an "ecommerce site" in your profile edit area.)
It also automatically adds the required code to the checkout success page as well. This can only be viewed if you complete a successful checkout of course and then "viewing source" on the thank you page.
There should be no need to confirm that though providing you selected that option (adwords tracking) from within the admin, entered your adwords tracking id (different from teh analytics one) and are running a Google Adwords campaign.
Hope that helps.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
parasols
Hi,
I installed the google analytics module on v1.3.8, and have followed all the instructions but am getting the below message (I installed the module yesterday morning and have been getting the message since in my google analytics account):
Tracking Not Installed (Last checked: Apr 19, 2009 5:28:41 PM )
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.
Did I miss something or does it take a while for it to find the code?
I can't seem to figure out what i've done wrong
I have checked the source info on my home page and don't see the code that I installed on the bottom of tpl_main_page.php
This is the code (only the bold part) I pasted into the file:
<!--eof- banner #6 display -->
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE,
$current_page_base,'google_analytics') . '/google_analytics.php');
?>
</body>
Are there spaces between the code and </body> that are missing? Would that make a difference
however when I check the main page source I don't see this, all I see is at the end:
</div>
<!--bof- parse time display -->
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<!--eof- banner #6 display -->
The other thing, when I am in the Admin Page for Zen Cart and check the source code I see the below, however the Google Analytics Web Property ID (shown below) is not the one I have for my page.... ?
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5907240-1");
pageTracker._trackPageview();
</script>
thanks in advance for your help
I replied with some details via PM as well (in response to your PM to me) but wanted to list a brief summary here for others.
1) for the tracking id being different I would recommend checking to make sure the id in the admin is the correct one. Type the proper one in there for the site you are tracking. If that still does not change the id then someone has manually entered the tracking code on the site in a file and that would need to be removed.
2) in 99% of the cases where tracking code does not show on the bottom of the pages even though one added the line of code in step 3 of the install instructions, the code was entered on the wrong page.
If you are using a custom template make sure you follow the overrides and add the code to that file. If you add it to the default template then upload but you are using a custom template, the code will not show and likely be overridden by the custom page.
Re: Simple Google Analytics - Support
I have a question about the Simple Google Analytics mod. First allow me to explain my setup. I am currently running 1.3.8 on a multi-site mod for 15 seperate domains with 1 single admin on the backend. And here recently I have been plagued by Google Analytic issues.. When I first installed the Simple Google Analytic Mod I customized it so that each domain is configured to have it's own UA-xxxxxxx ID as google provides. However recently the marketing team with my company has asked for a revision to be done because if I go to Google analytics and check out Traffic Sources > All Traffic Sources > Ecommerce > and then select the dimension to = Landing Page, I receive data from the /gateway/transact.dll. First off I thought that this was an issue with my integration, however- the integration of Simple Google Analytics (a.k.a "SGA") seems to work fine, then I thought maybe passing google analytic data through the authorize.php and recapturing when the browser pulls back to success page. Then I realized that through authorizenet, if I use the SIM mod, then authorizenet automatically generates the success page to https://secure.authorize.net/gateway/transact.dll in the address bar. So naturally I thought that was the problem, it made sense though. So I made the changes over to AIM and now the data is still coming in the same way. I was just wondering if anyone else has had this issue, and if there is anything else that I can do to rectify this problem. Maybe moving away from Google Analytics is the best scenario, but there isn't much else choice since the marketers here live in Google. Ok, well thanks in advance for any replies or fixes for this issue.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
Keep in mind that the difference involves more than just paid search. If you are just posting Google Analytics tracking code into your zen cart site in the tpl_main_page.php file then you will loose the ability to track ecommerce transactions and accurately track goals. Both very important parts of the Google Analytic -- that is, if you are looking to have enough data to tell you how to make more money. If you just want statistics and are not as interested in finding out where you can generate more sales then your method will work.
If you are using JROX then you will need to make a slight modification to the code I have. Let me know when you get to that point. JROX has you alter the footer of the checkout success page during it's install. This overrides the Google Analytics thank you page code. They both work together just fine, but you have to move the JROX code to a different page to get it to work with Google Analytics.
Hi I would like to know what the mod is for the JROX intergration so that the Analytics keep working as it should.
Thanks
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
wowflak
Hi I would like to know what the mod is for the JROX intergration so that the Analytics keep working as it should.
Thanks
Here is the route I have taken in the past. This would bee the way I structure the code on the tpl_main_page.php to work with JROX. I added a portion of code between new comments that I call "Additional Tracking".
Make sure you remove the tpl_footer.php file from the area that the JROX install says to place it in order for the override to not take effect.
Make sure you BACKUP the files you are going to change before you do this so you can easily revert to the older version if needed.
I will be making some updates to the GA code here a some point and will include a note on the JROX integration piece for others that may need it.
Quote:
<!--bof Simple Google Analytics-->
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>
<!--eof Simple Google Analytics-->
<!-- bof Additional Tracking -->
<?php
if($_SERVER['HTTPS']=='on'){ // If page is SSL then use Secure Code
?>
<?php
if ($_GET['main_page']=="checkout_success") {
?>
Add your JROX Code here
<?php } //End if main page is "checkout_success"?>
<?php // Else if not a secure connection then use Non-Secure Code
} else {
// Nothing Here at the moment but if you wanted to add code that would be non-secure you would add it here.
} ?>
<!-- / eof Additional Tracking -->
</body>
</html>