--- title: "Custom Event Tracking" slug: "custom-event-tracking" updated: 2024-02-13T05:43:56Z canonical: "docx.syndigo.com/custom-event-tracking" --- > ## Documentation Index > Fetch the complete documentation index at: https://docx.syndigo.com/llms.txt > Use this file to discover all available pages before exploring further. # Custom Event Tracking 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" }); ```