Featured Stuff

Google Analytics Clickthrough events


Google Analytics Clickthrough events

 


MAGEE Shortcodes Plugin

Magee Shortcodes Plugin for WordPress is currently my favourite presentational plugin for WordPress. It uses shortcodes to create all manner of ‘presentational stuff’ on the webpage, though I tend to stick with the MAGEE Shortcode ‘columns’ ( 2, 3, 4, 5 and 6 columns and 1/3 2/3 and 2/3 1/3 etc) and MAGEE Shortcode ‘buttons’ with their rounded edges and cursor hover colour changes.

Magee Shortcodes works very well with responsive WordPress themes and with responsive CSS that I write, unlike many other plugins that supposedly provide the same functionality.

Clickthrough Events

I’ve modified the MAGEE button class PHP file to accept and transmit the ‘onClick’ event in the format required for Google Analytics behaviours/events. Now whenever any Magee button is clicked on page, as long as the onClick event name for the button is set up in Google Analytics Events, then the clickthrough will be recorded.

April 4th, 2017