> For the complete documentation index, see [llms.txt](https://docs.ingestlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ingestlabs.com/implementation/web-sdk.md).

# Web SDK

- [Installation](https://docs.ingestlabs.com/implementation/web-sdk/installation.md): How to add MagicPixel web sdk to websites and track
- [Ingest Labs Script](https://docs.ingestlabs.com/implementation/web-sdk/installation/ingest-labs-script.md)
- [GTM Events Import](https://docs.ingestlabs.com/implementation/web-sdk/installation/gtm-events-import.md)
- [Tracking Events](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events.md)
- [Page Load](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/page-load.md)
- [Calendly booked](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/calendly-booked.md)
- [Search](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/search.md)
- [Login / Sign Up](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/login-sign-up.md)
- [View Item](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/view-item.md)
- [View Item List](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/view-item-list.md)
- [Add To WishList](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/add-to-wishlist.md)
- [View Wishlist](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/view-wishlist.md)
- [Add To Cart](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/add-to-cart.md)
- [Remove From Cart](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/remove-from-cart.md)
- [View Cart](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/view-cart.md)
- [Begin Checkout](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/begin-checkout.md)
- [Add Shipping Info](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/add-shipping-info.md)
- [Add Payment Info](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/add-payment-info.md)
- [Purchase](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/purchase.md)
- [Quick Buy](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/quick-buy.md)
- [View Similar Items](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/view-similar-items.md)
- [View Available Choice](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/view-available-choice.md)
- [Pin Code Check](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/pin-code-check.md)
- [Store Client Session](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/store-client-session.md)
- [Form Submit Errors](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/form-submit-errors.md)
- [Form Submit Warning](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/form-submit-warning.md)
- [Custom event](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/custom-event.md)
- [Products Array](https://docs.ingestlabs.com/implementation/web-sdk/tracking-events/products-array.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ingestlabs.com/implementation/web-sdk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
