Cart & Checkout Events
Track cart and checkout events to attribute e-commerce revenue to Alhena AI interactions.
Installation
<!-- Alhena event tracking snippet -->
<script>
!(function (w) {
w._alhenaEventQueue = w._alhenaEventQueue || [];
w.trackAlhenaEvent =
w.trackAlhenaEvent ||
function (method, data) {
w._alhenaEventQueue.push({ method: method, args: data });
};
})(window);
</script>sendCartEvent
Data properties
Property
Type
Required
Description
Example:
sendCheckoutEvent
Data properties
Property
Type
Required
Description
lineItems array - each item must include:
Property
Type
Required
Description
Example:
What happens behind the scenes
Troubleshooting
No events appearing in your dashboard
Validation errors
Related Pages
Last updated