Query Event

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

About this event

Event used for tracking query events.

Triggered each time a search is performed, any time when new results are about to be displayed.

Implementation

In the code section below, the code associated to each method.

Before accomplish this implementation, make sure that the method initialisation has been performed.

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