Custom Event Tracking

Prev Next

Additional custom parameters may also be included. If the required parameters are not included, the event will fail and SyndiTag will render an error message.

Posting an event with an alternate value to “addToCart” or “transaction” will render a custom data event which will be recorded. Required parameters are type and event.

window.SYNDI.push({
  "type": "track", 
  "event": "foo", 
  "customParam1": "bar", 
  "customParam2": "foobar"
});