WordPress plugin

GA Google Analytics Pro

GA Google Analytics Pro inserts Google Analytics tracking code on WordPress pages through plugin settings. It includes the free version’s capabilities and includes controls for managing codes, placement, tracking coverage, and visitor opt-out preferences. The plugin adds tracking code; view website statistics in your Google Analytics account.

GA Google Analytics Pro

GA Google Analytics Pro inserts Google Analytics tracking code on WordPress pages through plugin settings. It includes the free version’s capabilities and includes controls for managing codes, placement, tracking coverage, and visitor opt-out preferences. The plugin adds tracking code; view website statistics in your Google Analytics account.

Connect a GA4 property

Create a Google Analytics 4 account and obtain its tracking, or measurement, ID. Enter it in the GA Tracking ID setting, select GA4 as the tracking method, and save. The account must be active and properly configured. Collected data may take 24 to 48 hours to appear.

Tracking settings control code delivery

GA4 is the recommended tracking method. The plugin also lists Universal Analytics and Legacy Tracking, which Google has deprecated or disabled. Tracking code can be included in the header or footer and across WordPress web pages. The settings page uses toggling panels, and the code can be customized with your own markup. The plugin works with or without the Gutenberg Block Editor. Settings also let you disable tracking for admin-level customers or enable page tracking in the WordPress Admin Area.

Additional listed tracking settings include Display Advertising, Enhanced Link Attribution, IP Anonymization, Force SSL, Google Optimize, Consent Signals, and Tracker Objects for Universal Analytics. Links and conversions can be tracked through the Custom Code setting.

Pro controls manage codes and coverage

  • Configure multiple tracking codes for supported requirements, preview them, and select their locations.
  • Add custom code in the header or footer.
  • Show a frontend opt-out box automatically or place it with a shortcode. Visitors can use it to opt in or out of tracking.
  • Disable tracking for all logged-in users or exclude specific post IDs, user roles, post types, search results, and post archives.
  • Use complete inline help and the priority plugin help and support identified for the Pro version.

Install and check the tracking code

Add the plugin to WordPress and activate it. Open its settings, enter the GA4 measurement ID, select GA4, configure the tracking and exclusion options you need, then save. To verify that code was added, inspect the source of a web page. If the code is missing, check that the theme includes the wp_head and wp_footer hooks, then clear any caching plugin cache. View collected statistics in your Google Analytics account.