Analytics Extension

Detail information about analytic options can be found below.

IMPORTANT

Analytics extension requires 'Google Analytics' enabled on your website. We personally use 'Google Analyticator' which is a free plugin.

 

Available Options:

Field LabelField TypeShort Code AttributeDefault ValueAvailable ValuesDescription
Google
Enablecheckboxanalytics_google00, 1Enable Google analytics to track button click events. You must have Google analytics enabled on your website.
Tracking Variabletextanalytics_google_tracking_variablega-If using universal tracking then most probabily the tracking variable would be ga. It might also be possible that you have a different tracking variable. For example: If you use the free version of Google Analytics by yoast then the tracking variable will be __gaTracker. You can easily check which tracking variable being used on your website (check below).
Event Categorytextanalytics_google_event_category--It is typically the object that was interacted with (e.g. button).
Event Labeltextanalytics_google_event_label--Useful for categorizing events (e.g. cart buttons).
Event Valuetextanalytics_google_event_value--Values must be non-negative. Useful to pass counts (e.g. 4) times.
Do not impact bounce ratecheckboxanalytics_google_event_noninteraction01Send an event without impacting the bounce rate.

 

Tracking Variable

In order to find the tracking variable follow the below steps:

  1. Navigate to the page where the button is displayed.
  2. Right click the mouse and choose 'View Page Source'.
  3. Inside the '<head>' section search for a similar code as shown in image below. That is your tracking variable.