Did you complete step 3 of the README?
What is the url of the site?
Most of the time when it still says tracking not installed, step three was skipped of the file(s) were put in the wrong location.
Printable View
Did you complete step 3 of the README?
What is the url of the site?
Most of the time when it still says tracking not installed, step three was skipped of the file(s) were put in the wrong location.
I've got this installed on a site but Google is not reporting any conversions. All the other tracking data seems to be collecting just fine.
I've placed a test order and verified to analytics code is there. Any suggestions??
When you say conversions, what type do you mean. There are several ways to record 'conversions' in Google Analytics. Adwords conversion tracking, ecommerce conversion tracking, goal conversion tracking.
If you are looking to get data on ecommerce transactions, make sure you have told Google that the site is an ecommerce site and that you want to track data for it.
If you are looking to track Adwords conversions make sure you enter the Adwords (not Google Analytics) tracking ID in the "conversion" area of the admin (Google Analytics Configurate) and then turn it on by selecting the proper radio button within that same area.
Along those lines, Conversions for Adwords will only track if a visitor to your site first clicks on one of your ppc ads and then makes a purchase.
If you're trying to track Goal conversions make sure you have the Goal path setup correctly as well as the final 'thank you' page for the Goal URL.
Let me know if that helps.
Eric,
I'm having problems with ecommerce transactions. Goals are tracking just fine.
Google Analytics is set to Yes for ecommerce website. That's the only place it needs to be set, right?
Thanks,
Jim
Yes, that is the only spot it needs to be turned on.
What flavor of tracking code are you using? (Async, ga.js, Legacy / urchin.js)
Asynchronous
Is this the script I use in the admin/ install SQL Patch ?
SET @configuration_group_id=0;
SELECT (@configuration_group_id:=configuration_group_id) FROM configuration_group WHERE configuration_group_title= 'Google Analytics Configuration' LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0;
INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (NULL, 'Google Analytics Configuration', 'Set Google Analytics Options', '1', '1');
SET @configuration_group_id=last_insert_id();
UPDATE configuration_group SET sort_order = @configuration_group_id WHERE configuration_group_id = @configuration_group_id;
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Analytics Account', 'GOOGLE_ANALYTICS_UACCT', 'UA-XXXXXX-X', 'Enter your Google Analytics account number', @configuration_group_id, 1, NOW(), NULL, NULL),
(NULL, 'Target Address', 'GOOGLE_ANALYTICS_TARGET', 'customers', 'What adress (City/State/Country to correlate the transaction with) use in Analytics transaction?', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'customers\', \'delivery\', \'billing\'),'),
(NULL, 'Affiliation', 'GOOGLE_ANALYTICS_AFFILIATION', '', 'Optional partner or store affilation', @configuration_group_id, 3, NOW(), NULL, NULL),
(NULL, 'Use sku/code', 'GOOGLE_ANALYTICS_SKUCODE', 'products_id', 'Using as Product SKU code', @configuration_group_id, 4, NOW(), NULL, 'zen_cfg_select_option(array(\'products_id\', \'products_model\'),'),
(NULL, 'Use pagename', 'GOOGLE_ANALYTICS_USE_PAGENAME', 'false', 'Use pagename in tracking? Be careful when using this!', @configuration_group_id, 5, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Attributes Brackets', 'GOOGLE_ANALYTICS_PRODUCTS_ATTRIBUTES_BRACKETS', '[]', 'Attributes Brackets', @configuration_group_id, 6, NOW(), NULL, NULL),
(NULL, 'Attributes Delimiter', 'GOOGLE_ANALYTICS_PRODUCTS_ATTRIBUTES_DELIMITER', '; ', 'Attributes Delimiter', @configuration_group_id, 7, NOW(), NULL, NULL),
(NULL, 'Tracking Outbound', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'false', '', @configuration_group_id, 21, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'Tracking Outbound Links Prefix', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 22, NOW(), NULL, NULL),
(NULL, 'Use AdWords Conversion', 'GOOGLE_CONVERSION_ACTIVE', 'true', 'Use AdWords Conversion', @configuration_group_id, 91, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
(NULL, 'AdWords Conversion ID', 'GOOGLE_CONVERSION_ID', '', 'Enter your Google Conversion ID', @configuration_group_id, 92, NOW(), NULL, NULL),
(NULL, 'AdWords Conversion Language', 'GOOGLE_CONVERSION_LANGUAGE', 'en_US', 'Enter your Google Conversion Language', @configuration_group_id, 93, NOW(), NULL, NULL);
That is not the code for the Simple Google Analytics module I built (this support thread). It looks like you have Andrew's version (which I have been told has bugs.) I would recommend downloading the Simple Google Analytics module and using that. Easy install and does more than Andrew's version.
Thank you. I downloaded your version.
before I start, I am reading your read me. I found this : Step 4
At the bottom of /includes/templates/[your_template]/common/html_header.php. For the life of me I can not find this html_header. php. All my common folders have tpl_header.php but not "html_header.php
Is that created when I add the -install SQL file?
I am wondering if you by any chance have an approach you can share that will at least track conversion even if the revenue data is not being tracked. I have tried the conversion code from adcenter and it's not tracking. Here is the code from them that I am currently using:Code:<script type="text/javascript"> if (!window.mstag) mstag = {loadTag : function(){},time : (new Date()).getTime()};</script> <script id="mstag_tops" type="text/javascript" src="//flex.atdmt.com/mstag/site/ca8df32c-e586-4f05-8b99-a0fe58e21bd5/mstag.js"></script> <script type="text/javascript"> mstag.loadTag("analytics", {dedup:"1",domainId:"MASKED",type:"1",revenue:"",actionid:"28215"})</script> <noscript> <iframe src="//flex.atdmt.com/mstag/tag/ca8df32c-e586-4f05-8b99-a0fe58e21bd5/analytics.html?dedup=1&domainId=MASKED&type=1&revenue=&actionid=28215" frameborder="0" scrolling="no" width="1" height="1" style="visibility:hidden;display:none"> </iframe> </noscript>