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.

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.

螢幕擷圖

  • The settings page.
  • The setup guide.

安裝方式

  1. Upload the wpac-integration-for-google-analytics folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to ‘WPAC Integration for Google Analytics’ -> ‘WPAC Setup’ in your WordPress admin menu.
  4. Enter your Google Analytics Tracking ID, choose your settings, and save.

常見問題集

How do I find my Google Analytics Tracking ID?

We have included a setup guide in the plugin. Navigate to ‘WPAC Integration for Google Analytics’ -> ‘Setup Guide’ in your WordPress admin for a step-by-step tutorial on how to find your Tracking ID.

Does this plugin support GA4?

Yes, it supports GA4, as well as Universal Analytics (gtag.js and analytics.js). You can select your preferred method in the plugin settings.

Where is the tracking code placed?

You can choose to place the tracking code in the website’s <head> section or in the footer, just before the closing </body> tag. This can be configured in the plugin settings.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈WPAC Integration for Google Analytics〉的開發相關工作。

參與者

變更記錄

1.1.4

  • Branding, prefix, and compliance updates for WordPress.org review.

1.1.1

  • Initial release as WPAC Integration for Google Analytics (formerly WPAC GA Analytics).