Adding server side events (order refunds and subscription auto-renewals) to your Google Analytics reports.
Google Analytics is a free web analytics tool. Enabling Enhanced Ecommerce provides you with a number of insightful and actionable reports. Maintaining the accuracy and consistency of your e-commerce data is a critical aspect of your analysis.
Try to match the sales data between your Google Analytics account and Woocommerce reports. In many cases, you will find that Google Analytics and shopping cart sales data generally do not match.
Data discrepancy between Google Analytics and Woocommerce reports is a very common issue, faced by many online retailers. Fortunately this issue can be minimised by providing more data to Google Analytics.
There’s a plethora of reasons for this, not limited to:
Your Analytics / Tag Manager tracking code works fine. All user interactions are tracked….but what about server side events?
Once a customer has placed an order on the website, GA record that transaction. The WooCommerce code to track purchases was placed on the Thank You page. If later, the customer demand for a refund and the refund is issued, the refunded sales amount does not automatically reflect back in GA ecommerce reports.
WooCommerce Subscriptions is a premium WooCommerce extension that allows you to sell products and services with recurring payments. With automatic payments, a recurring payment is charged without involvement from the customer or store manager via the wp cron jobs…they also aren’t tracked in GA.
Our plugin monitors server side processes and uses the Google Analytics Measurement Protocol specifically to solve a problem with tracking subscription renewals and order refunds.
The Google Analytics Measurement Protocol is used on server side and won’t affect your current tracking code.
Although, this plugin can be used as standalone plugin it is intended to be used just as an addon to other tracking solutions. You should keep using your current tracking solution:
In addition to all data collected by your current solution, your Google Analytic reports will now track refunds and subscription renewals also!
A key feature of a subscription is a recurring payment — a payment due at a regular interval over time. These payments are the foundation block of a larger renewal process in WooCommerce Subscriptions.
Subscriptions performs a number of tasks as part of renewal, including generating an order to record payment, emailing both you and the customer via email of the renewal and sometimes, processing the payment. The actual tasks performed differ depending on which method is being used to process the renewal.
Once the subscription renewal payment is complete, the subscription is successfully renewed and new order is created to record payment. Plugin will send new order data to Google Analytics!
Once the order refund is created, plugin will send refund data to Google Analytics in order to adjust your sales data.
Attention:
Simple as that!
Track server side events (order refunds and subscription auto-renewals) in your Google Analytics reports.
1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the ‘Plugins’ screen in WordPress
Setting page is located in your WordPress Dashboard -> Settings -> WooGA Fixer
Google Analytics ID – fairly self-explanatory, you should provide your Google Analytics ID( format UA-XXXXX-X ).
If you are using WooCommerce Google Analytics (by WooCommerce) or Enhanced Ecommerce Google Analytics Plugin for WooCommerce (by Tatvic), plugin will provide you ID’s stored in your database so you can use them here.
Track events – you can select which type of events you wanna track on server side ( “Refunds” and “Supscription Renew” available in version 1.0)
“Supscription Renew” option will be shown only if you have activated WooCommerce Subscriptions plugin on your site.
Track refunds as – you can select the way your refunds will be sent to GA. (options: “reversing transaction” or “refunding transaction”). Find more details here:
Difference between reversing a transaction and refunding a transaction >>
License Key – licence key provided with plugin purchase. Need this data filled in order to receive future plugin updates.
Track server side events (order refunds and subscription auto-renewals) in your Google Analytics reports.