WPAC Integration for Google Analytics
This plugin provides a simple and lightweight solution to add Google Analytics tracking to your WordPress website. It supports both Universal Analytics (analytics.js and gtag.js) and the latest Google Analytics 4 (GA4).
Key Features: * Easy setup with your Tracking ID. * Supports Universal Analytics (UA) and Google Analytics 4 (GA4). * Choice between analytics.js and gtag.js for Universal Analytics. * Option to place tracking code in the header or footer. * Simple, no-frills interface. * Lightweight and performant. * Fully compliant with WordPress Coding Standards. * Enhanced security with proper input sanitization and output escaping. * Tracking ID validation for GA4 and Universal Analytics formats. * Modern PHP 8.0+ code with type declarations.
External Services
This plugin connects to Google Analytics and Google Tag Manager services to provide website analytics tracking functionality.
Google Analytics (analytics.google.com): * What it is used for: Website analytics and visitor tracking * What data is sent: Page views, user interactions, and website usage statistics * When data is sent: Every time a visitor loads a page on your website * Terms of Service: Google Analytics Terms of Service * Privacy Policy: Google Privacy Policy
Google Tag Manager (googletagmanager.com): * What it is used for: Loading Google Analytics tracking code and managing tags * What data is sent: Page load requests to load the tracking script * When data is sent: Every time a visitor loads a page on your website * Terms of Service: Google Tag Manager Terms of Service * Privacy Policy: Google Privacy Policy
Note: This plugin only sends data to Google services when tracking is enabled in the plugin settings. Users can disable tracking at any time through the WordPress admin panel.
