> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cometly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Squarespace integration

> Set up the Squarespace Cometly integration to send store orders to Cometly as events, so you can see which ads produce each sale.

The Squarespace Cometly integration connects your Squarespace site to Cometly, with no code required. Each order can arrive in Cometly as an event (an action Cometly tracks, such as a purchase or a lead). Cometly asks Squarespace for read access to your orders, and offers two triggers:

* **Order Created**: triggers when an order is created.
* **Order Updated**: triggers when an order is updated.

Once your orders are in Cometly, each one can be tied back to the ad or channel that brought in the visitor. That lets you see which campaigns produce sales and revenue in your store, not only clicks.

## Before you start

Install the Cometly pixel (the tracking script that records visits to your website) on your Squarespace site so orders can be matched to the visitor's journey. See [Install the pixel](https://docs.cometly.com/getting-started/install-pixel.md).

## Set up the Squarespace Cometly integration

**1. Connect your Squarespace account**

1. In Cometly, click **Integrations** in the sidebar.
2. Search for **Squarespace** and click **Connect** on the Squarespace card.
3. Click **Add connection** in the top right.
4. Log in to Squarespace if prompted and approve access.

The connection then appears under **My Connections**, named after your Squarespace site, with a **Connected** badge.

**2. Create a Squarespace event**

1. Click **Events Manager** in the sidebar, then click **Create Event**.
2. Under **App / Integration**, select **Squarespace**.
3. Select an event name (for example **Purchase**), or click **Create New Event** to name your own.
4. (Optional) Add an **Event description**.
5. Click **Create**. The event appears in the Events Manager with the status **Draft**.

**3. Choose the account and trigger**

1. On the draft event's row, click **Configure**.
2. Under **Account**, select your Squarespace connection. If you have not connected one yet, click **Connect new account**.
3. Under **Trigger**, choose **Order Created** or **Order Updated**.
4. Click **Continue**.

> [!WARNING]
>
> Once selected, the Account and Trigger cannot be modified. To change the Account or Trigger, you need to create a new event.

**4. Receive a test order**

1. Create an order in your Squarespace store (or update one, if you chose **Order Updated**) so Squarespace sends a record to Cometly.
2. In Cometly, click **Check for Data**.
3. Select the record and click **Continue With Selected Record**.

If no data shows up yet, click **Save & Return When Data is Ready** and come back after an order has come through.

**5. Map fields**

1. On the **Configure Mapping** step, map **Email** to the customer email in the order. **Email** and **Event Time** are required.
2. Click **Add Field** to map other fields from the order, such as **Amount**, **First Name**, **Last Name** and **Phone**.
3. Click **Save & Continue**.

**6. Filter and activate the event**

1. (Optional) On the **Filtering** step, click **Add Filters** to process only the orders that match your conditions.
2. Click **Activate**.

Cometly now records the event each time the trigger fires in Squarespace.

## Check it worked

In the **Events Manager**, your Squarespace event now shows the status **Active** instead of **Draft**. Place a test order in your Squarespace store (or update one, if you chose **Order Updated**), then open the **Events Log** tab in the Events Manager: the event shows there within 60 seconds.

## Frequently asked questions

### Can I track both new and updated Squarespace orders in Cometly?

Yes. The integration offers the triggers **Order Created** and **Order Updated**. A trigger cannot be changed once it is selected, so create a separate event in the Events Manager for each trigger you want to track.

### How long does it take for a Squarespace order to show up in Cometly?

The event shows in the Events Log within 60 seconds of being sent. It can take up to 15 minutes to appear in the reporting areas, such as the Report Builder or Ads Manager.

### Why do my Squarespace orders show up in Cometly without an ad source?

Cometly can only link an order to an ad when the Cometly pixel has seen the visitor on your site. Check that the pixel is installed on every page of your Squarespace site, so the visit is recorded before the order is placed. For other causes, see [Understanding No Source in reports](https://docs.cometly.com/support/troubleshooting/sources/no-source.md).

## Next steps

* [Use the Events Log to confirm Squarespace orders arrive](https://docs.cometly.com/support/troubleshooting/general/event-log.md)
* [Send conversions back to your ad platforms](https://docs.cometly.com/getting-started/send-conversions.md)
* [Learn how standard and custom events work](https://docs.cometly.com/guides/events/how-events-work.md)
* [Map and format event data with Cometly webhooks](https://docs.cometly.com/integrations/webhooks.md)

Still have questions or need a hand? We're happy to help. Reach our team at [support@cometly.com](mailto:support@cometly.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.