If you are into conversion on your websites, you need this! In Google Analytics, you can make sure your conversion l…
Event Tracking adds a plugin to CKEditor to easily add Event Tracking to hyperlinks.
If you've never heard of Event Tracking, please check https://developers.google.com/analytics/devguides/collection/analyticsjs/events
A toolbar icon will be added to CKEditor. Also, when you right click on a link, an extra option appears in the context menu. In the Track Events dialog you can define the following properties:
If you add an event to a link, the CKEditor will add HTML data attributes to the link. This is because in the future you might want to switch to another statistical tool, or e.g. Google Analytics might change their API. The data-attributes are software agnostic.
Currently, the add-on only sends events to Google Analytics, but this can easily be extended. Whether GA is used or not, is configurable via a dashboard settings page.
The add-on has support for analytics.js and gtag.js since version 1.1.0.