Gravitate Event Tracking


Author: Gravitate

Description: Easily create Tracking Events to be sent to Google Analytics. This Plugin only adds the Tracking Script to your website.
It does not offer any reports. To view the Tracking details, you will need to login to your Google Analytics account that is associated with this website.
Google Analytics Reports for Event Tracking are in real time, so you should be able to see the results immediately from your Google Analytics account.


  • jQuery
  • Google Analytics Tracking Code with or without Universal Code
  • WordPress 3.5 or above


  • Configuration Page
  • Import Settings from another Site.
  • Advanced Settings to delay the links to elements.


  1. Upload the gravitate_event_tracking folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You can configure the Plugin Settings in Settings -> Gravitate Event Tracking


Feature request

First off, I really like your plugin. It’s easy to use and very extensible. But I noticed that the script is not enqueue properly. This was an issue when I minified my javascript files. So I made some changes listed below. If it’s not too much trouble, can you include this in the next release of this plugin?

Removed the script on line: 730.
Added the following rule on line 36:
wp_enqueue_script(‘gravitate_event_tracking’, plugins_url( ‘gravitate_event_tracking.js’, __FILE__ ), array(), GETGA_VERSION, true);

Thanks in advance.


Read all 6 reviews

Contributors & Developers

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



  • Added defer=”defer” Tracking script.


  • Added ‘displayfeatures’ to Google Analytics script.


  • Added the ability to add Google Tag Manager to the site.
  • Updated Events to work with Google Tag manager is loading Google Analytics


  • Added Form Submissions
  • Added On Change Events


  • Added ability to embed Google Analytics Code to website
  • Added Scroll and Resize Presets and Options
  • Cleaned Up Code
  • Fixed Bug with duplicate Labels
  • Fixed Bug with duplicate firing


  • Updated Debugging Info


  • Updated Debugging


  • Added Debugging
  • Changed Order of check system for jQuery


  • Removed js alert for debugging


  • Added Advanced Settings Page. Now comes with Delay re-capture settings. This allows you to setup tracking events to elements that get created after load. The Advanced Settings will also be Imported and Exported with the Import/Export feature. PLEASE NOTE that Exporting Settings from version 1.2.0 will not work importing in version 1.1.1 or lower. But you can Import settings from 1.1.1 or lower into version 1.2.0

NOTE: When needing to use the Delay Re-Capture make sure your Selectors are unique to the elements that get created. Otherwise it may find another match on load and will not fire the delay to capture the other elements.


  • Added Relative URL Tag to lables.


  • Added Import and Export Settings Option.


  • Fixed Bug for Universal Code – HitType was improperly set.


  • Initial Creation