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.

The add-to-cart events use signCustomiserProductAddedToCart

For form submission events use signCustomiserFormSubmitted

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"
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.