[FONT=Comic Sans MS]Zen Cart - The Yin & Yang of the eCo[/FONT][FONT=Comic Sans MS]mmerce Thang[/FONT]
[FONT=Comic Sans MS]OmniProductSales.com
[/FONT] [FONT=Comic Sans MS]
[/FONT]
Huge thread, can't take it all in. As a new user of this add-on, is there an easy way to tell if it is working? Also, does it work with Ultimate SEO URLs?
Thanks, and apologies if this has been asked and answered before - I couldn't find it.
It appears there is a problem with the IE-specific javascript in this mod.
Look for:
and replace withCode:// for IE if(window.ActiveXObject) { document.write("<script id=8d6b7cf147cf9 defer " + "src=javascript:void(0)><\/script>");
I'm by no means a JS expert, so maybe someone else can comment on this possible fix. It at the very least eliminates the IE popup warnings, and doesn't affect how other browsers behave.Code:// for IE if(window.ActiveXObject) { document.write("<script id=8d6b7cf147cf9 defer " + "src=:\/\/0><\/script>");
Call me an idiot, but can't I just put the analytics code in my footer.php ?
You want me to call you an Idiot? ok.
to answer your question, yes, you can just put it in the footer and be done with it. Just remember where you put it for future enhancements.
What's nice about this mod is that you don't have to go into the code to make changes (well except for when it's not working... ). I'm a designer and create sites for customers using ZenCart. I would prefer my clients never go into the code because you just don't know what might go wrong. So, if I can have google analytics in admin, I'm happier. If for whatever reason they need to change google analytics account, they can make the changes without my assistance. Independence is a good thing for store owners who don't know enough code.
Hi Andrew,
Great contribution here. :)
Just noticed that two of the admin settings don't have titles. You'll notice that these have been left out in the following install SQL code.
Is this correct? Are they meant to be blank?Code:(NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'true', '', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 2, NOW(), NULL, NULL),
My Contributions: Zen Lightbox | Best Sellers Reloaded
Currently using the most recent version of Google Analytics Integration and Zen Cart 1.3.8a. I can't seem to get E-commerce tracking to work. I have enabled the option in Google Analytics and outside of the e-commerce tracking all other tracking seems fine. Any thing I should look for? I have the code for integration at the bottom of tpl_footer.php.
Cal
Nevermind....
Last edited by NFM; 18 Mar 2008 at 09:20 PM. Reason: Figured out the problem
Hi Alex,
No, of course it is my error. I have to fix it in the next release. And now you can simply replace these lines by:
Code:(NULL, 'Tracking Outbound', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'true', '', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL, 'Tracking Outbound Links Prefix', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 2, NOW(), NULL, NULL),