Warning

This site is no longer being maintained. Visit the eDocs documentation portal for updated information.

Visit eDocs
Dismiss message

Checkout Event

Created by Lara Menéndez · last update June 6, 2019

About this event

The checkout event is used to track transactions of products selected from a search results page or from a product detail page after a search.

The checkout event should be triggered after the user has confirmed the purchase and a separate checkout event is required for each product in the shopping cart that was added to the cart from a search result.

Implementation

Parameter definitions and implementation details for each one of the supported integrations provided.

API REST JAVASCRIPT

GET https://api.empathybroker.com/tagging/v1/track/{instance_ID}/checkout

Query parameters

Please refer to the click event’s parameters.

Extra checkout parameters

PARAMETER TYPE
transactionId String
revenue String
currency String

Response 200 OK if successful

Example https://api.empathybroker.com/tagging/v1/track/myinstanceid/checkout?q=jeans&title=Jeans_acid_wash_skinny&productId=0001-2589-3698&page=1&url=https://mypdppage.com&scope=desktop&lang=es&store=es&session=83065720-6d15-4bda-a7a8-bf87eb9637ce&user=744b0f7a-32c9-4f89-9427-d84135aefa7e&transactionId=42313-PWM&currency=USD&revenue=30.50