Google Analytics

Parsley provides a short cut to creating google analytics tag. The advantage of using this Parsley call is that as Google Analytics updates their syntax, it will be automatically updated on your website.


This call will trigger an event to your Google Analytics integration.

gaEvent Options

  • eventCategory text required Typically the object that was interacted with (e.g. 'Video')
  • eventAction text required The type of interaction (e.g. 'play')
  • eventLabel text optional Useful for categorizing events (e.g. 'Fall Campaign')
  • eventValue integer optional A numeric value associated with the event (e.g. 42)

Google Analytics Spec for Events