Re: Simple Google Analytics - Support
Quote:
Originally Posted by
rival904
I dont have a tpl_main_page, only a tpl_header and tpl_footer
You must have a tpl_main_page.php as all zen installs contain that file (it is one of the primary files that runs the entire cart.)
You'll find it in the includes/templates/[your template here]/common/ folder.
If you are using a custom template you need to take the tpl_main_page.php from the template_default directory and copy it into your overrides folder then alter as needed.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
rival904
I grabbed the file from the default template folder, made the change to it, then put it back into the includes/templates/*currenttemplate*/common
and it still isnt working, unless Im still doing this wrong.
I went to your site and it says that the tracking is now installed (I also verified that by looking at your source code.)
You need to now go back into your Google Analytics accouunt and "verify" the tracking again (for that profile). That will send out Google to look and verify your tracking is installed.
Once they verify it (a few seconds) you'll see "waiting for data" ... and eventually "gathering data".
You're almost there.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
Glad you like it. It has come in handy for many.
No need to do that at all (add pages, code etc...) to exclude yourself.
Here is the easiest way to exclude your own traffic from your analytics reports. go to the following link and follow the instructions. Very straight forward and easy to use. Works like a charm.
http://ecommerceamplifier.com/tools/gaexclude/
:clap: :clap:
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
I went to your site and it says that the tracking is now installed (I also verified that by looking at your source code.)
You need to now go back into your Google Analytics accouunt and "verify" the tracking again (for that profile). That will send out Google to look and verify your tracking is installed.
Once they verify it (a few seconds) you'll see "waiting for data" ... and eventually "gathering data".
You're almost there.
Yupp, it all seems to be working now, I guess ZenCart had to wait a bit to pull from that file? But either way, its all working now.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
Glad you like it. It has come in handy for many.
No need to do that at all (add pages, code etc...) to exclude yourself.
Here is the easiest way to exclude your own traffic from your analytics reports. go to the following link and follow the instructions. Very straight forward and easy to use. Works like a charm.
http://ecommerceamplifier.com/tools/gaexclude/
Ah great! Thank you very much! Very VERY handy tool!
Re: Simple Google Analytics - Support
I remember this being mentioned somewhere - but couldn't find it through searches. I just had a customer pay through Paypal, and it didn't track the sale in GA e-commerce. Any way to get it to track the sale when customer pays with Paypal?
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
bobthemolder
I remember this being mentioned somewhere - but couldn't find it through searches. I just had a customer pay through Paypal, and it didn't track the sale in GA e-commerce. Any way to get it to track the sale when customer pays with Paypal?
As long as the customer is re-rerouted back to your site after the sale then they should be tracked even when paying with PayPal.
I work with a number of store owners who use PayPal in in one way shape or form on their sites and in all cases the sales are tracked ok.
Did you make sure you setup your return url in PayPal to go back to the zen cart site when the payment is complete? If not, you might want to look at doing that. The return url will then trigger the sale.
Hope that helps.
Re: Simple Google Analytics - Support
I have installed the version of the SGA Contribution v1.2.2 and using the ltest version of Zen Cart. I already had a Google Analytics Account along with Adwords. I use PayPal as my processor. I have a regular website were a "buy now" link takes you to my Zen Cart store. I am using a custom template and made the necessary modifications.
I clicked thru one of my ads and made a purchase thru my store without error. I did this twice yesterday and do not see it tracked.
I followed the directions according to the contribution. I placed the contents of both the Admin and Includes folders into the respective locations. Was I supposed to just place the folders themselves into the main directory of the store? Am I supposed to modify "checkout success" page? My web is www.blackoutez.com.
:frusty:
Thanks in advance
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
As long as the customer is re-rerouted back to your site after the sale then they should be tracked even when paying with PayPal.
I work with a number of store owners who use PayPal in in one way shape or form on their sites and in all cases the sales are tracked ok.
Did you make sure you setup your return url in PayPal to go back to the zen cart site when the payment is complete? If not, you might want to look at doing that. The return url will then trigger the sale.
Hope that helps.
You're right, it did track the sale. I was too vague. It didn't track which products or how much the sale was.
Ecommerce conversions not tracking
I can't figure this out. I have set up GA and this mod, tracking is working but no purchase info is being tracked.
I ran a test order and verified that this code is at the bottom of the 'checkout_success' page.
HTML Code:
<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-1412881-2");
pageTracker._initData();
pageTracker._trackPageview();
pageTracker._addTrans(
"24",
"",
"91.88",
"3.40",
"0.00",
"Aurora",
"Colorado",
"United States"
);
pageTracker._addItem(
"24",
"180",
"Discovery",
"Wine of the Month Club Full Year",
"85.00",
"1"
);
pageTracker._trackTrans();</script>
I am trying to understand GA Funnels and Goals, but do I need to set a Goal and a Funnel for this transaction tracking to work?
One thing that has me very unsure is that I have my ZC installed in the /shop subdirectory, so in GA I set the site as:
http://www.mysite.com/shop/
and home page as index.php, index.php?mainpage=, index.php?mainpage=index
Any GA gurus know what I'm doing wrong here???:shocking: