Google Analytics Backend Tracking (woocommerce support) – WordPress Plugin


Plugin Features

  1. Enhanced Ecommerce Purchase Tracking intgration with woocommerce
  2. Enhanced Ecommerce checkout steps for Checkout Behaviour Analysis Report
  3. Enhanced Ecommerce purchase actions for Shopping Behaviour Analysis Report
  4. Sent Tracking hit to a custom URL, not to GA or to both.
  5. Opt out link via shortcode.
  6. Obey Do Not Track header.
  7. Use existing opt out cookie.
  8. Anonymizeip
  9. A lot of debugging options
  10. Creates an own client id.
  11. woocoommerce support

Important: Recommendation is not to mix frontend tracking data with data from this plugin. Please create a separate property or view for the tracking data from this plugin.
If you mix the data you probably will get duplicate hits.

This Plugin uses the google analytics measurement protocol to send server to server tracking requests. The Tracking is not detectable in the frontend, which means it can not be blocked by ad blocker.
This Plugin is not affected by newest ITP of Apples Safari or any other tracking/ad blocking technology. It will be only affected if no cookies are allowed to save.

Biggest advantage: Tracking not affected by ad blocker.
Biggest downside: with backend tracking not all data is available, so e.g. page titles and screen sizes are not available.

Use this plugin as addition to your existing frontend tracking, to see the impact of ad blockers or use it as your only tracking solution.
Recommendation is, to use it in addition to existing frontend tracking.

Notes for woocommerce integration
1. gross prices are tracked.
2. product tags are tracked as brand in GA.
3. Enhanced Ecommerce is not fully implemented yet. It will evolve release by release. If you have any feature wishes please use the WP Support Forum of this Plugin.


  • General Settings
  • Custom Dimension Settings.
  • Enhanced Ecommerce Settings.
  • Privacy Settings.
  • Debug Screen: see if everything works as expected.
  • Advanced Settings: add your own tracking URL.


You can install this plugin without woocommerce.

Just install this plugin and go to Settings > Google Analytics Backend Tracking to add your GA property Id and activate the tracking.

Please use a property ID which is new. Do not mix requests from this plugin with request from another tracking solution in one property id.
If you want to use an existing property id you should use different views with view filters. To recognize the traffic from this plugin you can check the field “data source” for “wp-backend-tracking”.

You may want to check the privacy section, before you activate it.

Use this shortcode [nsc_gabt_opt_out_link linktext=’tracking opt out’ linktext_success=’you have opted out.’] to display an opt out link.

If you have woocommerce installed it will automatically track the orders. Do not forget to activate “enhanced ecommerce settings” in your google analytics settings.


June 13, 2019
This plugin actually registers *some* data like incognito visits and brave browsers. Unfortunately it doesn't track events. I would happily pay to have that function. I'm not looking to collect personal data, but i do want to see when my ads result in some kind of conversions. Conversions you can't send to a thank you page is getting harder and harder to detect. Great work, thank you! Create a paid version with event tracking and i will be the first in line 🙂
Read all 1 review

Contributors & Developers

“Google Analytics Backend Tracking (woocommerce support) – WordPress Plugin” is open source software. The following people have contributed to this plugin.



  • Enhanced Ecommerce checkout steps for Checkout Behaviour Analysis Report
  • Enhanced Ecommerce purchase actions for Shopping Behaviour Analysis Report
  • bug fixes.


  • added feature to sent tracking hit to a custom URL, instead of to google or to both.
  • added product categories and product brand tracking to woocommerce purchase tracking.
  • some stability improvements and minor bug fixes.


  • added support for enhanced ecommerce woocommerce transaction tracking (more events to come).
  • added feature to log the request data in browser console for easier debugging.


  • added compatibility for snippets
  • improved bot recognition


  • minor improvement.


  • bug fix
  • opt out link has an id now, for easier styling.


  • bug fix


  • fixed a minor xss issue


  • added support for custom dimensions: you can now submit raw referrer, raw url, frontend GA client id and user agent as custom dimensions
  • field “Data source” is now submitted with value “wp-backend-tracking”. Now you can identify the source in mixed properties.
  • cache buster is added.
  • Fix: added hit type


  • Added support for Apples ITP 2.1 -> cookie is http only now.


  • Fixed PHP Notice for missing referrer.


  • First Version of this Plugin. More to come!