Shopbox Analytics
Initial Setup (Non-Shopify)
INFO
This section can be skipped for websites that are on the Shopify Platform.
Page Detection classes
For reporting and functionality, Shopbox needs to be able to detect certain pages. This is done by attaching certain class names to the body tag of the different page types. Below is a list of page types and the required class name to be attached to the body tag of those pages:
Order ID Pickup
On the Order Success/Confirmation page, so as to facilitate a smooth collection of the order id, can the development team insert a hidden div like below and replace 123456 with the order id of the order
<div class="sb-order-id">123456</div>