Tracking events for ad conversions
A custom javascript event is fired every time a form submission is sent and when a customer adds a product to cart. You can use these events to track Google and Facebook conversions.
These events are available only for stores subscribed to one of our new plans or development plans. Legacy plans cannot use this feature.
List of events
- The add-to-cart events use signCustomiserProductAddedToCart
- Custom design form submission events use signCustomiserFormSubmitted
- Quote form submission events signCustomiserQuoteSubmitted
Examples of how you can use these events
An example of how you can listen to this event is the following javascript snippet.
document.addEventListener("signCustomiserProductAddedToCart", (e) => { console.log(e.detail) }, false)
An example of the response from the add to cart event detail.
{ customiserId: "25" cart: [ ... ] domain : "sky-foundry-development.myshopify.com" }
An example of the response from the form submission event detail.
{ customiserId: "25" data: [ { label: 'First name', value: 'this' }, ] domain : "sky-foundry-development.myshopify.com" }