Re: Simple Google Analytics - Support
Dear Eric-Thanks so much for your reply to my other question on another thread. You said for us to respond here. I did have my PHP nerd take off the old Analytics module and put on the new module. It now offers an "asychronous" Google Tracking Code type so I think we got it on there.
I did put in my account number (the UA-XXXXXXX-X number) and my conversion tracking number in the spaces provided and then chose Asynchronous and sat back waiting for data. There wasn't any. Maybe no one is responding to the Google ads but I doubt that is the case. So, I went to my ..../tpl_main_page.php page to see what was on there. I found this:
!--eof- banner #6 display -->
<?php
/* Begin Simple Google Analytics */
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
}
/* End Simple Google Analytics */
?>
// <script type="text/javascript">
//
// var _gaq = _gaq || [];
// _gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);
// _gaq.push(['_trackPageview']);
//
// (function() {
// var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
// ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
// var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
// })();
//
// </script>
</body>
As you can see, the conversion tracking number is not on it. Should I put that in manually? Simple Google Analytics does not look like it put that in, should it have? I suspect it should look like this:
// _gaq.push(['_trackPageview','XXXXXXXXXX']);
With all of the X's being the conversion tracking number. Am I right, should I do that? Or has something else gone amiss? Thanks.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
Wicked-Incense
hello, i was going to install this module , got my files transfered , my theme is andover_modern...
/includes/templates/andover_modern/common/tpl_main_page.php
does not exist , so where am i to put the code that's supposed to go there ?
Anything ? , should i just put it into my thank you for purchase part or what !?
Re: Simple Google Analytics - Support
One simple question: The explanation on the Simple Google Analytics Module indicates that the Google Adwords Conversion Tracking number is 11 digits long, mine is only 10. Is there some extra number that you can put on the end of it? Have I chosen the wrong tracking number? I got it from this line of code that Google generated:
var google_conversion_id = XXXXXXXXXX;
I don't need the ; at the end do I? Thanks.
Re: Simple Google Analytics - Support
My time is up for editing my question above, and (of course) I found a refinement to the question, so here it is:
I did start to get data, so perhaps it all had to percolate through the system. However, I am still not getting the data on conversion from my tpl_main_page.php. I know how many people came in because of paid advertising but did they buy anything? That is the question I can't answer. I must have a problem somewhere but I don't know where it is. I still wonder if the area above is not filled in correctly with my Conversion Tracking Number.
However, there is a small catch that worries me. The explanation on the Simple Google Analytics Module indicates that the Google Adwords Conversion Tracking number is 11 digits long, mine is only 10. Is there some extra number that you can put on the end of it? Have I chosen the wrong tracking number? I got it from this line of code that Google generated:
var google_conversion_id = XXXXXXXXXX;
I don't need the ; at the end do I? Thanks.
Re: Simple Google Analytics - Support
Could someone please @ least give me a guesstimate that would be worth trying ? I'd really like to track my conversions.
Re: Simple Google Analytics - Support
Hello
I am running zen cart v1.3.9h and Mysql 5.5
I installed all the files and edited the tpl_main_page file
i then tried to install the SQL commands in Admin but got an error
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 1
in:
[CREATE TABLE google_analytics_languages ( languages_id int(11) NOT NULL auto_increment, name varchar(50) NOT NULL default '', code char(10) NOT NULL default '', sort_order int(3) default NULL, PRIMARY KEY (languages_id), KEY idx_languages_name_zen (name) ) TYPE=MyISAM;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Any help please
thanks
Re: Simple Google Analytics - Support
I am having trouble registering the page in 1.5. Has anyone had success? and if so what values did you use?
Thanks in advance
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
kellan4459
I am having trouble registering the page in 1.5. Has anyone had success? and if so what values did you use?
Thanks in advance
I figured it out
I had to define the value I was using in the language_key field
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
Wicked-Incense
hello, i was going to install this module , got my files transfered , my theme is andover_modern...
/includes/templates/andover_modern/common/tpl_main_page.php
does not exist , so where am i to put the code that's supposed to go there ?
You should make a copy of the file from /includes/templates/classic/common/tpl_main_page.php and put it in /includes/templates/andover_modern/common/tpl_main_page.php and then edit that file.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
fabienne
My time is up for editing my question above, and (of course) I found a refinement to the question, so here it is:
I did start to get data, so perhaps it all had to percolate through the system. However, I am still not getting the data on conversion from my tpl_main_page.php. I know how many people came in because of paid advertising but did they buy anything? That is the question I can't answer. I must have a problem somewhere but I don't know where it is. I still wonder if the area above is not filled in correctly with my Conversion Tracking Number.
However, there is a small catch that worries me. The explanation on the Simple Google Analytics Module indicates that the Google Adwords Conversion Tracking number is 11 digits long, mine is only 10. Is there some extra number that you can put on the end of it? Have I chosen the wrong tracking number? I got it from this line of code that Google generated:
var google_conversion_id = XXXXXXXXXX;
I don't need the ; at the end do I? Thanks.
Ok, just getting back to this thread here.
Google may have altered the conversion tracking number (more or less) so don't fret over the actual length of it.
Two things to consider:
1) Make sure you are using the conversion tracking ID provided from within Google AdWords (NOT analytics) if you are tracking PPC. You are correct in pulling it from the snippet of code Google generated for you.
2) The only time you would ever see the conversion tracking code is (you'll always see the analytics code) is if a visitor FIRST clicks on an ad of yours and then (during that exact same visit) completes a purchase. If they do not complete the purchase on that visit, then the conversion tracking for PPC will not trigger on Google ends (which is correct.)
Having said that in #2 above, and providing you have the proper tracking ID as mentioned in #1 above, then if you do not see any sales on the AdWords end from PPC, your PPC is not generating them (meaning the traffic coming to your site is not buying from that channel.)
That is not to say that PPC does not work (it VERY much does when optimized) it just means you need to refine how yoru PPC is setup and managed. If you want more information on this, feel free to send me a private message. I manage a number of PPC campaigns for a lot of stores and have an excellent track record at managing them so they convert and provide positive ROI.
Let me know if this helps.