<aside> ⛔ This only applies to Non-Shopify checkouts. Any merchants using Shopify’s checkout have these events handled automatically by Elevar.
</aside>
What you’ll need to implement and push into the data layer at the correct times are the following events. Keep in mind that these events can fire multiple times if a user abandons the checkout funnel and returns to resume their checkout journey.
dl_begin_checkout
event will need to be sent when a user begins the checkout funnel.dl_add_shipping_info
event will need to be sent when a user chooses their shipping method.dl_add_payment_info
event will need to be sent when a user completes adding their payment info.dl_purchase
event will need to be sent when a user completes their purchase.dl_user_data
: The base event that should be fired before any other event, and on all virtual page changes.dl_begin_checkout
: Should fire when a user enters the checkout funnels. This event can be sent multiple times if the user leaves and revisits the first checkout step.dl_add_shipping_info
: Should fire when a user chooses their shipping method. This event can be sent multiple times if a user leaves the checkout and comes back to the shipping method step and completes it.dl_add_payment_info
: Should fire when a user completes adding their payment info. This event can be sent multiple times if a user leaves the checkout and comes back to the payment method step and completes it.dl_purchase
: Should fire when a user completes their purchase. This event should only ever be sent once for each purchase.