Title: Analytics Tracker
Author: Valeriu Tihai
Published: <strong>ފެބްރުއަރީ 12, 2016</strong>
Last modified: މާރޗް 20, 2026

---

Search plugins

![](https://ps.w.org/analytics-tracker/assets/banner-772x250.png?rev=3474094)

![](https://ps.w.org/analytics-tracker/assets/icon-256x256.png?rev=3474094)

# Analytics Tracker

 By [Valeriu Tihai](https://profiles.wordpress.org/valeriutihai/)

[Download](https://downloads.wordpress.org/plugin/analytics-tracker.3.0.1.zip)

[Live Preview](https://dv.wordpress.org/plugins/analytics-tracker/?preview=1)

 * [Details](https://dv.wordpress.org/plugins/analytics-tracker/#description)
 * [Reviews](https://dv.wordpress.org/plugins/analytics-tracker/#reviews)
 *  [Installation](https://dv.wordpress.org/plugins/analytics-tracker/#installation)
 * [Development](https://dv.wordpress.org/plugins/analytics-tracker/#developers)

 [Support](https://wordpress.org/support/plugin/analytics-tracker/)

## Description

> If you like the plugin, feel free to [rate it](https://wordpress.org/support/view/plugin-reviews/analytics-tracker?rate=5#postform).
> 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](https://github.com/valeriu/analytics-tracker)
> repository.

### Localization

You can translate Analytics Tracker on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/analytics-tracker).

## Screenshots

 * [[
 * Google Analytics Settings

## Installation

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](http://www.google.com/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](https://github.com/valeriu/analytics-tracker).

### 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](http://www.google.com/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.

## Reviews

![](https://secure.gravatar.com/avatar/f09d422a335dbcd5725797f7268bab0bcab82eaa13c83147971a419bada9eb39?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-5409/)󠁿

 [Spere](https://profiles.wordpress.org/spere/) ޑިސެމްބަރ 12, 2019

Stable, functional, and easy to implement.

![](https://secure.gravatar.com/avatar/bb41ac1e0e55658eefcabc9713daa2f4625fca4cd13ea7c99eb4c61965f650ef?
s=60&d=retro&r=g)

### 󠀁[Easy to use](https://wordpress.org/support/topic/easy-to-use-1385/)󠁿

 [viktoras](https://profiles.wordpress.org/victortihai/) އޭޕްރިލް 26, 2017

Very nice plugin and easy to use!

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/analytics-tracker/reviews/)

## Contributors & Developers

“Analytics Tracker” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Valeriu Tihai ](https://profiles.wordpress.org/valeriutihai/)

“Analytics Tracker” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/analytics-tracker/contributors)
for their contributions.

[Translate “Analytics Tracker” into your language.](https://translate.wordpress.org/projects/wp-plugins/analytics-tracker)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/analytics-tracker/),
check out the [SVN repository](https://plugins.svn.wordpress.org/analytics-tracker/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/analytics-tracker/)
by [RSS](https://plugins.trac.wordpress.org/log/analytics-tracker/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **3.0.1**
 *  Last updated **2 weeks ago**
 *  Active installations **1,000+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **6.9.4**
 *  Languages
 * [English (Canada)](https://en-ca.wordpress.org/plugins/analytics-tracker/) and
   [English (US)](https://wordpress.org/plugins/analytics-tracker/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/analytics-tracker)
 * Tags
 * [analytics](https://dv.wordpress.org/plugins/tags/analytics/)[ga4](https://dv.wordpress.org/plugins/tags/ga4/)
   [google analytics](https://dv.wordpress.org/plugins/tags/google-analytics/)[google tag](https://dv.wordpress.org/plugins/tags/google-tag/)
   [Measurement ID](https://dv.wordpress.org/plugins/tags/measurement-id/)
 *  [Advanced View](https://dv.wordpress.org/plugins/analytics-tracker/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/analytics-tracker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/analytics-tracker/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/analytics-tracker/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/analytics-tracker/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/analytics-tracker/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/analytics-tracker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/analytics-tracker/reviews/)

## Contributors

 *   [ Valeriu Tihai ](https://profiles.wordpress.org/valeriutihai/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/analytics-tracker/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/valeriu/25)