Query Event

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

About this event

Query events are used to track search interactions and have to be triggered every time a search is performed and results are displayed or updated.

The intent is to collect information related to the query like the search terms, and number of results returned.

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}/query

Query parameters

PARAMETER TYPE
q String
totalHits Integer
page Integer
filters String
additional common parameters -
user parameters -

Response 200 OK if successful

Example https://api.empathybroker.com/tagging/v1/track/myinstanceid/query?q=jeans&totalHits=148&referrer=https://myreferrer.com&scope=desktop&lang=es&store=es&session=83065720-6d15-4bda-a7a8-bf87eb9637ce&user=744b0f7a-32c9-4f89-9427-d84135aefa7e