reactioncommerce:reaction-google-analytics

Reaction Google Analytics - GA for Reaction Commece


License
GPL-3.0
Install
meteor add reactioncommerce:reaction-google-analytics@=0.3.0

Documentation

Google Analytics - Reaction Package

This is the Google Analytics module for Reaction Commerce.

Example use:

<a href="{{pathForSEO 'product' 'handle'}}" data-event-category="grid" data-event-action="product-click" data-event-label="Grid product click" data-event-value="{{_id}}">

Send event tracking to GA by adding the following data attribute to any anchor in Reaction:

  • data-event-category
  • data-event-action
  • data-event-label
  • data-event-value