Analytics Tracker

설명

If you like the plugin, feel free to rate it. Thank You!

Analytics Tracker utilizes the latest and greatest features of Google global site tag (gtag.js) and makes it super easy to add tracking code on your blog.

Note: Google ended Universal Analytics (UA-) processing on July 1, 2023. We keep UA tracking IDs for legacy compatibility, but for active reporting we strongly recommend using Google Analytics 4 with a G-XXXXXXXX Measurement ID.

This is one of the simplest to use WordPress plugins to insert Google Analytics code on your websites built in WordPress.

Google Analytics is now the most widely used web analytics service on the Internet.

Features:

  • GA4 Measurement ID setup – Configure your Google tag with a valid GA4 Measurement ID (for example: G-XXXXXXXXXX).
  • User ID (optional) – Send an anonymous hashed user identifier for logged-in users.
  • Enriched page_view event – Adds contextual parameters for home, singular, taxonomy, author, search, and 404 pages.
  • Comment Event (optional) – Enable or disable the event sent when a comment becomes visible on your site.
  • Minimal compatibility mode for non-GA4 IDs – Loads basic gtag config without custom events.

Analytics Tracker on GitHub
You can submit feature requests or bugs on Analytics Tracker repository.

Localization

You can translate Analytics Tracker on translate.wordpress.org.

스크린샷

  • Google Analytics Settings

설치

In most cases you can install automatically from WordPress.org.

However, if you install this manually, follow these steps:
1. Upload the Analytics Tracker plugin to your site;
2. Activate the plugin through the \’Plugins\’ menu in WordPress;
3. Then enter your GA4 Measurement ID (G-XXXXXXXXXX);
You’re done!

If you don’t have a GA4 Measurement ID yet, create a property in Google Analytics and get your Measurement ID (for example: G-XXXXXXXXXX).

FAQ

How can I suggest a new feature, contribute or report a bug?

You can submit pull requests, feature requests and bug reports on our GitHub repository.

What are the requirements to use this plugin?

You need an active Google Analytics account and obviously a WordPress blog.

Where can I see the analytics report?

You can see your detailed analytics report in your Google Analytics account.

What data does the tracking snippet capture?

When you add either of these tracking snippets to your website, you send a pageview for each page your users visit. Google Analytics processes this data and can infer a great deal of information including:

  • The total time a user spends on your site.
  • The time a user spends on each page and in what order those pages were visited.
  • What internal links were clicked (based on the URL of the next pageview).

In addition, the IP address, user agent string, and initial page inspection performed by the tracking library can be used to determine things like the following:

  • The geographic location of the user.
  • What browser and operating system are being used.
  • Screen size and whether Flash or Java is installed.
  • The referring site.

후기

모든 2 평가 읽기

기여자 & 개발자

“Analytics Tracker”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Analytics Tracker”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Analytics Tracker”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

3.0.1

  • Added a WordPress Playground blueprint with a preconfigured GA4 Measurement ID for demo use.
  • Added a Playground admin notice to clarify that tracking runs in the background and should be verified with browser developer tools.
  • Removed unused legacy Scroll Depth vendor files from the plugin package.
  • Updated README wording to use tracking-library terminology instead of referencing analytics.js directly.

3.0.0

  • Updated settings and documentation for GA4 Measurement ID.
  • Added settings sanitization callback for plugin options.
  • Added an optional setting to enable or disable the event sent when a comment becomes visible on your site.
  • Improved uninstall routine for multisite installations.
  • Refined admin asset versioning and loading.

2.0.1

  • Added compatibility with PHP 7.2

2.0.0

  • Use Global Site Tag (gtag.js)
  • Deleted Force SSL

1.1.1

  • Fixed XSS vulnerability on search event, thanks to Arjan Snaterse – https://www.uprise.nl

1.1.0

  • Added tracking code for Accelerated Mobile Pages (Require AMP plugin https://wordpress.org/plugins/amp/)

1.0.5

  • Fixed Event for Download, Email, Phone number and Outbound links

1.0.4

  • Added event for Add a Comment
  • Added event for Scroll Depth
  • Fixed Options for Custom dimension

1.0.3

  • Added Enhanced Link Attribution
  • Added Events for Download, Email, Phone number, Outbound links, Error 404, Search

1.0.2

  • Added Force SSL
  • Added User ID
  • Added Anonymize IP
  • Added Display Features
  • Added Custom Dimensions

1.0.1

  • Added my WordPress Themes
  • Fixed Regex for UA Code

1.0.0

  • First Release