Click Event

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

About this event

Click events should be triggered whenever an user clicks on a product in the search results page.

The click event, as the other interation events, collects information on the product clicked (product id, title, url), on the results grid (position within the page and page number within the results) and on the original query (query term).

Implementation

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

REST API JAVASCRIPT

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

Query parameters

PARAMETER TYPE
q String
title String
productId String
position Integer
page Integer
url String
filters -
additional common parameters -
user parameters -

Response 200 OK if successful

Example https://api.empathybroker.com/tagging/v1/track/myinstanceid/click?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