WordPress plugin
GA Google Analytics Pro
GA Google Analytics Pro inserts Google Analytics tracking code into WordPress pages through plugin options. It includes the free version’s functions and adds controls for multiple tracking codes, code placement, tracking exclusions, and visitor opt-out preferences. The add-on adds tracking code; view site statistics in your Google Analytics account.
GA Google Analytics Pro inserts Google Analytics tracking code into WordPress pages through plugin options. It includes the free version’s functions and adds controls for multiple tracking codes, code placement, tracking exclusions, and visitor opt-out preferences. The add-on adds tracking code; view site statistics in your Google Analytics account.
Manage codes, placement, and visitor choices
- Configure multiple tracking codes, preview them, and select where they appear.
- Add custom code in the header or footer, and personalize tracking code with your own markup. Links and conversions can also be tracked through the Custom Code setting.
- Add a frontend opt-out box that lets visitors opt in or out of Google Analytics tracking. Display it automatically or place it with a shortcode.
- Use inline documentation while configuring the plugin. The Pro version also includes priority plugin help and support.
Set up Google Analytics 4
- Create a Google Analytics 4 account and obtain its tracking, or measurement, ID.
- Enter the ID in the GA Tracking ID setting.
- Select GA4 as the tracking method and save your changes.
The Google Analytics account must be active and properly configured. Collected data may take 24-48 hours to appear in the account.
Choose tracking coverage and options
GA4 is the recommended tracking method. The settings also list Universal Analytics and Legacy Tracking, which the source identifies as deprecated or disabled by Google. Additional tracking support includes Display Advertising, Enhanced Link Attribution, IP Anonymization, Force SSL, Google Optimize, Consent Signals, and Tracker Objects for Universal Analytics.
Pro can disable tracking for all logged-in customers, selected post IDs, user roles, post types, search results, and post archives. The plugin also has an option to disable tracking for admin-level users or enable page tracking in the WordPress Admin Area. It works with or without the Gutenberg Block Editor, and settings are arranged in toggling panels.
Install and check the tracking code
Add and activate the plugin, configure its settings, then check your page source to confirm the tracking code appears. If it does not, make sure the theme includes the wp_head and wp_footer hooks, then clear the cache if you use a caching plugin. The tracking code must correspond to an active, properly configured Google Analytics account to collect data.
