Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Some thoughts:
1) If your traffic coming into "inner..." is only test traffic at this point (or in other words traffic that can get there through the links you provide only outside of the website) then it will always show as direct no matter what.
2) If your analytics is setup correctly across the store, the site pages, etc... then you should see an constant flow from page to page and those that move from the site to the store and vice versa will not show as direct but as "coming from" (a page).
Make sure you are using the same GA tracking ID across the entire site (not two different ones by mistake).
3) I have a number of sites setup like this and the bottom line is so long as the analytics is setup correctly the flow should be there once all pages link to each other (and you don't have just select "test" traffic coming to the inner pages.)
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Bob,
To make sure I understand, it sounds like you are trying to track multiple website urls as separate domains with one analytics account right?
A few thoughts for you.
1) This can be done with one analytics account but the code would need to bee altered.
2) have you considered setting up multiple website profiles under your one analytics account for each of your domains? This would provide you with a unique tracking id for each domain that you can use to track them separately from within your one analytics account.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Thanks for the response. You're right, and I should have mentioned, we do have multiple profiles set up, UA-XXXXXXX-1 thru UA-XXXXXXX-4 (the XXXXXXX is the same for all 4 sites), and the corresponding profile ID is entered into the Analytics Account field in the Analytics Configuration. Was wondering if the Affiliation needed to be something specific, though. Also, version 1.2.2 has only been installed on -3 (CreekTreeUSA) and -4 (Faery's Whimsy, as those are the ones we're working with right now. The CreekTreeUSA profile DOES show all the breakdowns by traffic source for eCmmerce, but the others don't.
So you have multiple profiles and each ecommerce site has it's "own" Simple GA installed AND each of those has entered the unique Analytics ID in the admin right? (just making sure).
Are you using the "ga.js" or the "legacy (urchin)" tracking code? What happens if you switch between them (shouldn't have any effect but just covering the bases here.)
Do you have ecommerce tracking enabled on the other profiles that are not showing it, and do you have those tracking IDs entered in the Simple GA admin (in zen) as well?
Let me know the answers to those and we'll see where that takes us.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Hello, econcepts, thanks for your time.
Each of the sites has Simple GA installed, and the pertinent Analytics Profile ID is entered into Analytics Accounts in the SGA Configuration. (The Affiliation field has the shop name in it, not the Profile ID. Not sure exactly what that is for.)
CreekTreeUSA and Faery's Whimsy are using ga.js, the other 2 still have the legacy version of Simple GA.
All 4 profiles have "Yes, an E-Commerce Site" chosen. As for the "tracking IDs" isn't that the same as the Analytics Profile ID? If not, where do I find the "tracking ID"?
The information in the profiles was set up 2 years ago, and it looks like there may have been some changes since then. For instance, I just noticed that the goal steps are set up with the domain name ( i.e. https://www.creektree.net/faeryswhim...ckout_shipping) and there's a note there now that the domain name shouldn't be included. Is that right?
Really appreciate the help on this econcepts.
Bob
Hi Everyone!
I'm sure this is going to be a simple question to answer but we will see! I'm running ZenCart 1.3.8. I downloaded and modified one of the free templates from (sorry, site offline). I'm now trying to add Google Analytics and it says to modify the /includes/templates/[your_template]/common/tpl_main_page.php file. The only files that came with the free template are: CSS, images, and a template_info.php file. My question is, where do I put the code? Do I need to copy files from the template_default folder into my custom template folder?
Thanks for your help!
Kristina Marshall
Hi, Kristina ... just create a 'common' folder in the your_template folder, then copy the tpl_main_page.php file to it from the default_template/common folder, and make your changes to the new tpl_main_page.php file. Many changes for Zen Cart custom code can be made similarly, without touching the original code.
Thanks for your help! I do believe I have everything installed correctly. I went in to the admin side of my site and put in the UA code but nothing is showing up in my analytics for my store. Do I need to add a new account in Google Analytics and point it to my store? Will there be more code I need to enter?
Bob,
You can still use the "http:" portion and domain for the url that won't be a problem. Google just recommends the other way (but I do it both).
The best thing to do here might be for me to take a look at what you have in the backend. I'll do some more looking at the front end now that I have links and see if I can't turn anything up.
Hang on ...
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Bookmarks