Look up key visitor metrics

Qubit’s Record API is a real-time look up of key metrics for a visitor on-site, available over a REST endpoint.

Prerequisites

Unique values

Before using the Record API, you will require the following unique values:

Name

Description

<tracking_id>

Qubit tracking Id for the property the request is made from. This will be provided by your CSM

<visitor_id>

Unique site visitor Id, generated by the smartserve script on the page and is set in the cookies qb_permanent and qbTracker

Making a request

To look up key metrics for a visitor, make a GET request to the following URL:

https://orca.qubitproducts.com/orca/<tracking_id>/<visitor_id>`

Sample request

https://orca.qubitproducts.com/orca/demotrackingId/e22wkzsrn0o-0kequu7uf-m8e4vv8

Sample successful response

{
  "0":{
  "firstConversionDate":1602700287028,
  "firstPageViewDate":1599382155856,
  "lastConversionDate":1627211829811,
  "lastIPLocationLatitude":"51.5",
  "lastIPLocationLongitude":"-0.16",
  "lastPageViewDate":1627211829811,
  "latest_lastEntranceNumber":209,
  "latest_lastPurchaseCycleNum":82,
  "numConversions":82,
  "numPageViews":1433,
  "numSessions":141,
  "totalConversionValueBASE":3274.28,
  "totalConversionValueUniversal":4480.17
  }
}
Last updated: November 2021
Did you find this article useful?