Shop Analytics
WordPress integration plugin for Google Analytics.
by netzstrategen · github.com/netzstrategen/wordpress-shop-analytics
★ 1stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/netzstrategen/wordpress-shop-analytics/archive/refs/heads/master.zipFrom the readme
Wordpress Shop Analytics
This plugin tracks the activity of customers in WooCommerce based ecommerce sites and sends the collected data to Google Data Layer.
The plugin acts in two general areas:
- Static Tracking: Tracking of information about the page currently displayed.
- Dynamic Tracking: Tracking of the events triggered by the customers as they interact with the site.
In order to implement these functionalities, the plugin relies on Google Tag manager script. The plugin takes care of adding the GTM script in the page, once the required GTM ID is added to its backend configuration settings and the script injection enabled.
The (very) initial concept and requirements description of shop-analytics plugin can be found in this document. However, the plugin has grown and considerably evolved in complexity and functionality since then.
Shop Analytics configuration settings
The plugin has a dedicated configuration settings page (wp-admin/admin.php?page=shop-analytics). Upon activation, the plugin adds a Shop Analytics entry to the WordPress admin menu.
The available configuration settings are:
- Google Tag Manager Container ID: account ID to be used by Tag Manager script.
- Goog