Skip to content

codelaborators-network/Google-Analytics-Events-for-Umbraco

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published