Follow

Tracking of page and product views

BrainSINS is able to register two types of navigation tracking: product and non-product pages. To track a visit, just call the "track.json" resource the following way:

Path

https://api.brainsins.com/RecSinsAPI/api/page/track.json?url={URL}&idProduct={IDPRODUCT}&idUser={IDUSER}&token={TOKEN}

Type: GET

URL Parameters:

  • URL (optional): specify the current page address.This is highly recommended in case you have the url.
  • IDPRODUCT (optional): if product page, specify the current product
  • IDUSER: numeric user identifier
  • TOKEN: your account BrainSINS token

Example:

https://api.brainsins.com/RecSinsAPI/api/page/track.json?url=www.brainsins.com&idProduct=45&idUser=1000000001&token=BS-8709661092-1

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk