Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1 KB

File metadata and controls

28 lines (16 loc) · 1 KB

Google Analytics Events for Umbraco

Google Analytics Events for Umbraco Logo

A package for adding manageable GA Event Tracking to your Umbraco site.

Install

  1. Install the Google Analytics Events for Umbraco package
  2. Add the Following code to your master template (order is important)
@using UmbracoGAEventTracking;

@Html.IncludeGoogleAnalytics() // Only needed if you have not already included Google Analytics. You can add your GA Key in Umbraco.
@Html.IncludeGaEventTracking()

If you would like to use caching to save calls to the database, add this appSetting to your web.config file.

<add key="GAEventTracking_CachingTimeInMinutes" value="10"/>

Please read the Documentation Website for more in depth guidelines