Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi guys
At tambourhinoceros.net we don't get any e-commerce tracking in analytics. Usual analytics works fine. How do I troubleshoot?
Have sold around 200 products since installing the module
Cheers,
Comment | File | Size | Author |
---|---|---|---|
#14 | analytics_not_receiving-2612390-14.patch | 7.23 KB | jimmy_sebastian |
#6 | Screen Shot 2016-01-04 at 17.32.35.png | 67.45 KB | GeduR |
Comments
Comment #2
Scott Robertson CreditAttribution: Scott Robertson commentedThe 1.x branch of this module no longer appears to work with the latest version of the Google Analytics module. I was receiving an error about the _gaq variable being undefined on the checkout completion page.
I'm currently trying out the 2.x branch with the GA Push module to see if it works better.
Comment #3
kristofferromDecided to test the same thing a couple of weeks ago, still no data flowing...
Comment #4
GeduR CreditAttribution: GeduR at Metadrop commentedHave you checked with last versions of ga_push and commerce_google_analytics 2.x ? Turn on the debug option in the ga_push settings and add action to the rules to see if it is been triggered or not.
Comment #5
kristofferromHi @GeduR
Yes, I'm running the latest version of both modules (server side).
Where's the debug option? Can't see it anywhere...
Thanks
Comment #6
GeduR CreditAttribution: GeduR at Metadrop commentedPath: /admin/config/system/ga-push
Attaching screenshot:
Comment #7
siva01 CreditAttribution: siva01 commentedI have same problem. Google Analytics doesn´t receiving data.
I find only GA Push 1.x. On the module page is nothing like GA Push 2.x.
Comment #8
spencerthayer CreditAttribution: spencerthayer commentedI can confirm that when one is running latest version of both modules this module does not send any information to the Google Analytics Ecommerce. It is broken.
What more info does the developer need us to provide?
Comment #9
GeduR CreditAttribution: GeduR at Metadrop commentedHi everyone, I need this information to help in fixing any problem you have:
- Add any additional rules action to the rule to be sure it is been invoked (As this module works over rules, first thing to know is if rules are been triggered or not)
/admin/config/workflow/rules/reaction/manage/commerce_google_analytics_rule_ga
Try changing the default action to paid in full for example, and be sure you are using some server side method like utmp-php
- Provide information about current rules configuration.
- Provide information about current ga_push configuration and version.
- Provide information about current commerce_google_analytics version.
- Provide information about current google_analytics configuration and version (be sure you are using the last one (universal).
- Active debug ga_push option and check log response after buying a product( if there is no log rules are not been triggered)
- Try executing manually the push to ga directly with ga_push api, and check it it is working: https://www.drupal.org/node/2362091
- Which payment method are you using?
Any kind of information that could be relevant will be appreciated, thanks!
Comment #10
aliiblack CreditAttribution: aliiblack commentedHi,
Has there been any update on this please? I am using Drupal for my university dissertation project and desperately need to show my transactions going through to GA.
Any help would be greatly appreciated.
Comment #11
GeduR CreditAttribution: GeduR at Metadrop commentedPlease follow the steps in #9 comment, I need more info to know what I need to fix.
Comment #12
dpico CreditAttribution: dpico commentedHi GeduR!
Some information about my system:
- ga_push is version 7.x-1.0 and it is configured as UTMP-JS (client side)
- commerce_google_analytics is version 7.x-2.0-beta2
- google_analytics is 7.x-2.1 (universal)
- paying methods are sermepa credit cards, PayPal and bank transfer.
The GA Commerce rule is:
I'm receiving an email after an order is completed, so the rule is being triggered.
I'm not sure what you mean by "Active debug ga_push option". I've checked the standard Drupal log and there is no error message after an order is completed.
Thanks in advance for your help!
David
Comment #13
GeduR CreditAttribution: GeduR at Metadrop commentedHi! You should use last version of ga_push and commerce_google_analytics modules. Also if you are sending the data in paid in full event then this is not compatible with sermepa and client-side (JS) method, as the sermepa callback doesn't execute javascript.
I recommend you to use last version of both modules and change the method to use UTMP PHP
Comment #14
jimmy_sebastian CreditAttribution: jimmy_sebastian at Zyxware Technologies commentedI have attached patch file for solving this issue.
Go to /admin/config/system/googleanalytics and select eCommerce Tracking Type is eCommerce tracking.
Comment #15
torgosPizzaMy only comment is that "transaction_id" is misspelled "transcaton_id" throughout the patch, so I don't think the patch will be committed as-is.
Also, there are whitespaces changes in the patch that are unnecessary - you might consider using the "ignore-whitespace" flag when running the diff.
Lastly, please confirm this patch is for the 1.1 version of the module and not the latest 2.x.
Comment #16
torgosPizzaFYI, we were also having an issue with e-commerce data not showing up anymore in GA. It just suddenly stopped reporting.
This seems to have been fixed after updating to latest versions of all modules (GA, GA Push, Commerce GA) and then reverting all of our Rules to their defaults, making sure of course that we're using UTMP-PHP.
Comment #17
IckZ CreditAttribution: IckZ commentedHey there,
I've also recognized that not every conversion is shown up in GA in the ECommere-Section since several days. It does not affect every single conversions but some are missing?
I've also set up a target conversion for the checkout-page in GA and the number of checkouts in the target-Section is higher than in ECommmerce targets however they have the same "goal"?
I did not had to update any module because they are all up2date. Also the three Rules
1.Send google analytics code when an order is first paid in full
2. Store google analytics extra user variables to order on checkout begin
and
3. Store google analytics session to order on checkout begin
are default.
Comment #18
siva01 CreditAttribution: siva01 commentedI know, where is problem. Latest version of Google Analytics module using analytics.js library, like all pages in this century. But this module using old version of tracking code ga.js.
So Drupal send data, but to old Google Analytics library. Not to actual version of GA: Universal Analytics.
Test order code look like:
GA Pus setting: Measurement Protocol (php): Measurement Protocol | server-side (universal analytics). But code above is old ga.js. All acutal pages using Universal analalytics with analytics.js code.
Comment #19
FiNeX CreditAttribution: FiNeX as a volunteer commentedSame problem, in my case only 30% of sells are tracked on GA :-(
Comment #20
Jens Peter CreditAttribution: Jens Peter commentedNo comments since oct. 2017?
I have the same problem - all modules updated and no data is being shared.
Anyone had success finding the error?