Title: Analytics Event Tracking for GTAG
Author: thehowarde
Published: <strong>September 6, 2018</strong>
Last modified: July 1, 2020

---

Search plugins

![](https://ps.w.org/dd-gtag-event-tracking/assets/banner-772x250.png?rev=1936544)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/dd-gtag-event-tracking/assets/icon-128x128.png?rev=1936544)

# Analytics Event Tracking for GTAG

 By [thehowarde](https://profiles.wordpress.org/thehowarde/)

[Download](https://downloads.wordpress.org/plugin/dd-gtag-event-tracking.1.3.zip)

 * [Details](https://wordpress.org/plugins/dd-gtag-event-tracking/#description)
 * [Reviews](https://wordpress.org/plugins/dd-gtag-event-tracking/#reviews)
 *  [Installation](https://wordpress.org/plugins/dd-gtag-event-tracking/#installation)
 * [Development](https://wordpress.org/plugins/dd-gtag-event-tracking/#developers)

 [Support](https://wordpress.org/support/plugin/dd-gtag-event-tracking/)

## Description

This plugin makes it easy to add Google Analytics Events [GTAG Events](https://developers.google.com/analytics/devguides/collection/gtagjs/events)
for inbound or outbound links from your website. Especially useful for click tracking
or analyzing landing page interactions.

You can also choose via the settings page to use the analytics.js or Universal Analytics
event tracking code.

This plugin will add a simple to use WP Editor Button for entry of link, link text,
and the Analytics event information.

Within the WP Editor, the track-able links will be colored red instead of blue.

Also adds a lightweight frontend Javascript file to enable the tracking.

### 1.2

Fix error using universal.

### 1.1

Add options page to include universal analytics events

### 1.0

Initial Build

## Screenshots

[⌊WP TinyMCE Editor window with link builder.⌉⌊WP TinyMCE Editor window with link
builder.⌉[

WP TinyMCE Editor window with link builder.

[⌊Page with regular links and tracking links enabled.⌉⌊Page with regular links and
tracking links enabled.⌉[

Page with regular links and tracking links enabled.

## Installation

 1. Upload `gtag-event-tracking` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

### Do I have to use the TinyMCE button to add event tracking?

No, you can simply add data-track=”event” to trigger the event, and use data-category,
data-label, and data-action to include those elements in the event.

### Does this track all click events?

If you use the simple editor button, or add the data-event = “true” to any `<a>`
tag, then it will track the event in Google Analytics.

### Does this only work with GTAG?

There are options in the settings page of the plugin to choose Universal Analytics
analytics.js

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Analytics Event Tracking for GTAG” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ thehowarde ](https://profiles.wordpress.org/thehowarde/)

[Translate “Analytics Event Tracking for GTAG” into your language.](https://translate.wordpress.org/projects/wp-plugins/dd-gtag-event-tracking)

### Interested in development?

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

## Meta

 *  Version **1.3**
 *  Last updated **6 years ago**
 *  Active installations **20+**
 *  WordPress version ** 4.5 or higher **
 *  Tested up to **5.4.22**
 *  PHP version ** 5.6 or higher **
 * Tags
 * [events](https://wordpress.org/plugins/tags/events/)[google analytics](https://wordpress.org/plugins/tags/google-analytics/)
   [gtag](https://wordpress.org/plugins/tags/gtag/)
 *  [Advanced View](https://wordpress.org/plugins/dd-gtag-event-tracking/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dd-gtag-event-tracking/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dd-gtag-event-tracking/reviews/)

## Contributors

 *   [ thehowarde ](https://profiles.wordpress.org/thehowarde/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dd-gtag-event-tracking/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.duckdiverllc.com)