# Shopify

### 1. Get your embed code from your map Settings page

![Click on the setting icon on the Map you'd like to install.](/files/MiJ8HC1f74IHAgDxykpx)

Under the section entitled **Manual Installation**, copy the **JavaScript** snippet to your clipboard.

### 2. Install Embed code in Shopify theme

* Sign in to your Shopify admin dashboard.
* In the left side menu, navigate to **Online Store > Themes**
* Click on the **Actions** dropdown, then select **Edit code**

<div align="center"><img src="/files/-M81sU4cC2E-_EX3mhXP" alt=""></div>

* In the file list find **Layouts > theme.liquid** and select it

![](/files/-M81tKTIHXvNeIUWZkGx)

* Paste your Boldmapper tracking code before the `</body>` tag in the code.
* In the upper right corner, click **Save**

### 3. Put the Map container where you want it

Once the JavaScript snippet is installed you will need to add your map container to one of your Shopify template pages. This code can go pretty much anywhere. It is based on your preference. Many people like to put it on their Contact page, so the **page.contact.liquid** template would be a good choice.

* Go to the Boldmapper **Settings** page for your map
* Under **Manual Installation**, find the **HTML Snippet** and copy it to your clipboard.
* Paste this snippet where you would like it to render in your template file.


---

# Agent Instructions: 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.boldmapper.com/integrations/shopify.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.
