Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...
Add Google Analytics to your site with just the Tracking ID through Simple Google Analytics Tracking.
Simple Google Analytics Tracking is a WordPress plugin that allows you to integrate Google Analytics into your site using just the Tracking ID. Once the ID is entered, the plugin automatically adds the necessary Google Analytics code to your site.
The plugin does not track Editors and Administrators by default, which helps in keeping your analytics reports clean. However, this setting can be changed using filters provided by the plugin for more advanced customisation.
Best for: This plugin is suitable for WordPress users looking for a straightforward way to implement Google Analytics.
What it does well
Where it falls short
Simple Google Analytics Tracking offers a basic solution for adding Google Analytics to your site, but its lack of recent updates may be a concern for some users.
Dustyn Doyle's own description of Simple Google Analytics Tracking, lightly tidied.
Simple Google Analytics Tracking allows you to add Google Analytics to your WordPress site with only the Tracking ID. Once the Tracking ID is input the Google Analytics code is added automatically with your Tracking ID.
Simple Google Analytics Tracking does not track Editors and Administrators by default to prevent extra page views from showing up in your reports.
Editors and Administrators can be allowed through the sgat_output_ga_code filter.
sgat_output_ga_code: used to override the default user tracking setting.
Example Usage:
add_filter( 'sgat_output_ga_code', 'sgat_override_user_settings' );
function sgat_override_user_settings() {
return true;
}
sgat_tracking_id: used to add the Tracking ID programmatically.
Example Usage:
add_filter( 'sgat_tracking_id', 'sgat_custom_ga_tracking_id' );
function sgat_custom_ga_tracking_id( $tracking_id ) {
$tracking_id = 'UA-123456-7';
return $tracking_id;
}
sgat_tracker_create_fields : Used to modify the information when creating the Google Analytics tracker.
Example Usage:
add_filter( 'sgat_tracker_create_fields', 'sgat_custom_tracker_create_fields' );
function sgat_custom_tracker_create_fields( $fields ) {
$fields['siteSpeedSampleRate'] = 50;
return $fields;
}
sgat_after_tracker : Used to add additional Google Analytics calls after the main tracker output.
Example Usage:
add_action( 'sgat_after_tracker', 'sgat_after_tracker_functionality’ );
function sgat_after_tracker_functionality() {
echo "ga('send', 'event', 'MyCategory', 'MyAction', 'MyLabel', 50);";
}
Other plugins for measuring traffic.
Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...
Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...
The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can gro...
Great looking maintenance, coming soon & under construction pages. Put your site under maintenance in minu...
Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...
Adds Google Analytics tracking code to your WordPress site. Supports many tracking features.