
內容簡介
總結:
這個外掛提供了一個簡單輕量的解決方案,讓你在WordPress網站中添加Google Analytics追蹤功能。它支援Universal Analytics(analytics.js和gtag.js)和最新的Google Analytics 4(GA4)。
問題與答案:
1. 這個WordPress外掛提供了哪些主要功能?
- 答: 它提供輕鬆設置的跟踪ID、支援Universal Analytics(UA)和Google Analytics 4(GA4)、在Universal Analytics中可以選擇使用analytics.js或gtag.js、可以選擇將跟踪代碼放在頁首或頁腳、具有簡單、無多餘裝飾的界面和輕量、高效的性能。
2. 這個外掛連接到哪些外部服務?
- 答: 這個外掛連接到Google Analytics和Google Tag Manager服務,提供網站分析追蹤功能。
3. Google Analytics(analytics.google.com)主要用於什麼?
- 答: 主要用於網站分析和訪客追蹤。
4. Google Tag Manager(googletagmanager.com)主要用於什麼?
- 答: 主要用於載入Google Analytics追蹤代碼和管理標籤。
5. 這個外掛何時會向Google服務傳送數據?
- 答: 當在外掛設置中啟用追蹤時,這個外掛才會向Google服務傳送數據。使用者可以隨時通過WordPress管理面板停用追蹤。
外掛標籤
開發者團隊
② 後台搜尋「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.
