This guide explains how Magento store owners can send purchase event data to Cometly using Cometly Webhooks. You will also learn how to track add to cart and initiate checkout events.
Sending Events From Magento to Cometly
1. Purchase Events
Use Cometly Webhooks to send purchase event data directly from Magento.
In the Webhook request, ensure you send fields like first name, last name, email and order amount Cometly. The Cometly Pixel on your store will automatically capture the email form field on the order checkout. Cometly will use the email automatically captured on the form field to attribute back to the users journey so you can see the source of the purchase.
2. Add to Cart and Initiate Checkout Events
Follow our How to Set Up Add to Cart & Initiate Checkout Events guide to configure these events as browser-based actions tracked via the Cometly Pixel.
Setting up Cometly Webhooks
Refer to our Cometly Webhooks Guide for detailed instructions on:
Creating your webhook in Cometly
Selecting the event (or creating event) for the webhook
Mapping the webhook data to the appropriate fields in Cometly.
Setting up filters to ensure only the desired data is tracked.