A tiny WordPress plugin to track events of link clicks in the main content area of the site.
A tiny WordPress plugin to track events of link clicks in the main content area of the site. Install it and forget about it.
Links will show up under Events in the Analytics site, and will have a category of 'Links', a label of 'PageID: CURRENT_PAGE_URI', and the value of the href of the link being tracked.
Example of code added to properly formed URLs in main post content:
The above example assumes the href of the link is: