# Sizebay Tracker Script (Sizebay Implementation)

This is the most common method, we will develop your tracker from scratch and you only will have to import a JavaScript file to your Cart/Order page.

The link to your tracker will be provided by our **Support Team (<support@sizebay.com>).**

### **Adding products to the cart**

On your cart page, import the file using `<script>` HTML tag, for example:

```markup
<script src="https://this-is-just-a-example/store/tracker.js"></script>
```

For our tracker to work properly, make sure that for each product in your cart the information below is available on your pag&#x65;**:**

* **permalink -** link of the product&#x20;

### **Finalizing the order**

In your purchase page (when the order is finished), import the file using `<script>` HTML tag, for example:

```markup
<script src="https://this-is-just-a-exemple/store/tracker.js"></script>
```

For our tracker to work properly, make sure that for each product in your order the information below is available on your pag&#x65;**:**

* **orderId -** order code generated
* **currency -** the currency in which the order was paid
  * **permalink**: the product URL
  * **price:** the price of the product sold
  * **quantity:** number of the item purchased
  * **size:** the product size ordered
  * **product\_sku:** the product sku
  * **product\_id:** the product id


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sizebay.com/size-and-fit-order-tracking/sizebay-tracker-made-by-us.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
