Add To Cart Tracking
  • 1 Minute to read
  • Dark
    Light

Add To Cart Tracking

  • Dark
    Light

Article summary

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.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence