Drupal: Ubercart Google Analytics module doesn't work with the latest Google Analytics module
Recently we noticed that Google Analytics for Ubercart stopped working. It turns out that the current Google Analytics for Ubercart module uses non-asynchronous tracking while the Google Analytics 3.x module now uses asynchronous tracking. Thanks to the awesome Drupal community there is a simple patch that fixes the problem.
You can download the patch here or find it in the issue page along with more details about the patch at Drupal.org here.
Don’t know how to patch Drupal? Check out the guide on their website here.
Testimonial
We started off with the goal of creating a national brand for LiveBattle USA, but to begin with all we had were these sophisticated toy guns and our far-reaching ideas. You've rapidly and cost-effectively created a true national brand - everyone we've presented it to says it's insanely great, and it's earning us respect in the marketplace. I'm ecstatic about the work you've done to get us here, with the image and credibility we need to grow our company on the national stage.
Patch doesn't work for me
Hello Tim,
I apply this patch but I can't see transactions in Google Analytics dashboard.
Ecommerce tab still at 0€ and don't track any sales !
Do you have some explanation about that ?
(I'm actually on Drupal 6.x and use Ubercart 6.x-2.4)
Thanks a lot for your help.
Rizvane.
JS Compression
I have seen JS file compression prevent Google Analytics from working before, maybe that is the issue?
The setting is at /admin/settings/performance
Post new comment