Website Analytics

From CCCWiki
Jump to: navigation, search

Overview

We use Google Analytics for inspecting the website usage.

Test Environment

We currently do not have a test environment where Google Analytics is enabled.

Event Tracking

We have added custom JavaScript code that allows use to track user interaction via Google Analytic events. It track a click on a specific page element, simply add ccc-event-cta as to the classes attribute of the element.

All pages that have a call-to-action configured have this enabled by default.

The code that adds the event tracking is in ccchislehurst.org/templates/uber/local/js/ccc.js