Moo Digital Google Analytics
A simple WordPress plugin to add in Google Analytics tracking script
by Moo Digital Ltd. · github.com/moo-digital/moo-digital-google-analytics · website
★ 0stars
0forks
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/moo-digital/moo-digital-google-analytics/archive/refs/heads/main.zipFrom the readme
Moo Digital Google Analytics
A lightweight WordPress plugin for implementing Google Analytics 4 tracking without the bloat of full-featured analytics plugins.
Features
- Simple admin interface for entering your GA4 Measurement ID
- Automatically excludes tracking for logged-in administrators
- Follows WordPress coding standards
- Integrates with the Moo Digital admin menu system
- Zero dependencies or external libraries
- Minimal performance overhead
Installation
1. Upload the moo-digital-google-analytics folder to /wp-content/plugins/
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to Moo Digital Google Analytics in the admin menu
4. Enter your GA4 Measurement ID (format: G-XXXXXXXXXX)
5. Click 'Save Settings'
Finding Your GA4 Measurement ID
1. Log in to your Google Analytics account
2. Click on Admin (gear icon in bottom left)
3. Select your Property
4. Click Data Streams
5. Select your website stream
6. Copy the Measurement ID (starts with G-)
Admin Tracking Exclusion
By default, the plugin does not track logged-in users with administrator capabilities. This prevents your own site visits from skewing your analytics data.
If you want to track