This plugin addresses the issues as identified by the Google Analytics team at:
Others have also blogged about their own solutions at:
See http://grantnorwood.com/wordpress/plugins/adjusted-bounce-rate/ for more information about the plugin and the author, or visit the GitHub repo at https://github.com/grantnorwood/adjusted-bounce-rate to fork my code or submit an issue.
- Set the engagement tracking event interval. (Defaults to 10 secs.)
- Set the max engagement time, which allows you to customize when the session should be
considered abandoned. (Defaults to 20 mins.)
- Set the minimum engagement time, which can be used to set an initial amount of time
required to count the user has having engaged. (Defaults to 10 secs.)
- Customize the event Category, Action and Label names to be displayed in Google Analytics.
- Create goals in Google Analytics based on the time on page. (GA goals only support session duration by default!)
- Uses either the old pageTracker code, the newer asynchronous code, or the newest Universal Analytics code.
- Choose header or footer placement for the code.
- Compatible with Ajaxify jQuery plugin.
- Download the zip file from WordPress plugin site: https://wordpress.org/extend/plugins/adjusted-bounce-rate/
- Unzip the file.
- Upload your plugin directory to your server’s
- Activate the plugin using WordPress’ admin interface:
- Regular sites: Plugins
- Sites using multisite networks: My Sites | Network Admin | Plugins
- Configure the plugin options in Settings > Adjusted Bounce Rate.
- Click “Uninstall” on the plugins page for Adjusted Bounce Rate. All plugin options will be deleted upon uninstall, but not when simply deactivating the plugin.
- That’s it!
- Is this plugin multi-site compatible?
Maybe, but I have not tested this plugin on multi-site. If you run into any issues, please fork my GitHub repo (see below) and send a pull request with your fixes. I’d be very appreciative!
- Where can I submit bugs or request new features?
Create an issue on the GitHub repo at https://github.com/grantnorwood/adjusted-bounce-rate.
Contributors and Developers
“Adjusted Bounce Rate” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Added option to enable “debug mode”, which shows helpful messages in the browser console when engagement hit events are fired.
- Fixed issue where Yoast Google Analytics global vars were renamed in v5.0.7, and the script broke. Currently, there is no good way to detect whether Yoast’s GA plugin is loaded and tracking is not disabled in v5.0.7 and newer.
- Added leading zero to minutes so that they sort better in Google Analytics.
- Added total number of elapsed seconds as the GA event’s value so that GA goals can be created to measure time on page.
- Added compatibility with Ajaxify (https://github.com/browserstate/ajaxify).
- Fixed issue when detecting if Yoast’s Google Analytics for WordPress plugin is active.
- Initial public release.
- Total rewrite to better handle advanced features.
- Now handles minimum and maximum engagement time.
- Custom event category and action variables added.
- Debug mode and better console logging added.
- Beta release.