> For the complete documentation index, see [llms.txt](https://docs.edgetag.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.edgetag.io/installation/bigcommerce/installation.md).

# Installation

### Download template

For the codification step, you can use our BigCommerce template and configure the selectors according to your site.

<a href="https://app.edgetag.io/assets/script-templates/big-commerce/big-commerce.txt" class="button primary" data-icon="down-to-bracket">Download template</a>

{% hint style="warning" %}
BigCommerce templates work for most sites. If you have a custom theme/plugin, please make sure to change the code according to the website.
{% endhint %}

### Adding a template

Now that we have the code ready, let's add it to your BigCommerce.

Select "Storefront" in the BigCommerce dashboard.

<figure><img src="/files/727Y5D12iENvwhPNfrPy" alt=""><figcaption></figcaption></figure>

Select “Script Manager” and Click on “Create a Script”

<figure><img src="/files/uIeo16mGidHqYsMfhV31" alt=""><figcaption></figcaption></figure>

We will now need to configure the script.

* Change “location on page” to “Head”; this will ensure that the script will be loaded inside the head tag.
* Change “Select pages where script will be added” to “All pages”; this will ensure that the script will be loaded on all pages
* Change “Script category” to “Analytics”
* Change “Script type” to “Script”
* Paste our template in "Script contents"

<figure><img src="/files/fQ4wXq5OEIniIjrXbeEK" alt=""><figcaption></figcaption></figure>

Finally, click on the Save button at the bottom.


---

# 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.edgetag.io/installation/bigcommerce/installation.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.
