Add To Cart Tracking

Prev Next

Syndi offers an event tracking API which enables engagement data to be passed into the SyndiTag. This enables our clients measure the incremental lift in add-to-cart rates that Syndigo Enhanced Content produces.

The syntax is a structured object utilizing the syndi.push method. It requires type, event, qty (quantity), sku, and price.

window.SYNDI = window.SYNDI || [];
window.SYNDI.push({
   "type": "track",
   "event": "addToCart",
   qty:1,
   sku:"abc123", 
   price:"1234.56",
   "customParam":"foobar"
  }
);

Any additional custom parameters may also be included. However, if the required parameters are not included, the event will fail and SyndiTag will render an error message.