> For the complete documentation index, see [llms.txt](https://help.recart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.recart.com/integrations/email-and-sms-platforms/attentive.md).

# Attentive <> Recart Integration

Explains how to connect Recart to Attentive so subscribers captured through opt-in tools sync automatically.

Sync subscribers collected through Recart - including phone numbers, email addresses, and custom attributes - directly into your Attentive account.

You connect with an API key from an Attentive Marketplace App, then tell Recart which Attentive sign-up unit new subscribers should go to.

***

### How the integration works

Once the integration is active:

* Recart pushes new subscribers captured through your popups into Attentive.
* Data sent includes phone number, email address, UTM parameters, and any custom attributes like first name or location (if collected).
* Each subscriber is added to an Attentive **sign-up unit**. You add your sign-up units in Recart, choose a default one, and can send a popup's subscribers to a different one.
* Recart already verifies each number with a one-time code. If the sign-up unit uses double opt-in in Attentive, subscribers also have to reply Y to a second text.

### What you'll need before connecting

* An **API key** from a Marketplace App in your Attentive account (steps below)
* The **ID of each sign-up unit** you want to use. You'll find it in Attentive on the Sign-up Unit page. If you don't have a sign-up unit for Recart yet, ask your Attentive Client Strategy Manager (CSM) to create one and link it to your app.
* To know whether each sign-up unit uses **single or double opt-in** in Attentive. Recart needs the same setting.
* Screenshots of your popup with the legal language visible, in case your CSM asks for them

### Generate your Attentive API key

1. Log in to your [Attentive](https://www.attentive.com/) account.
2. Go to **Apps** > **Marketplace Apps** and click **Create app**.

   <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FZRx9ClWAgGatvE1sZnW6%2FATT_1.png?alt=media" alt="Attentive App Marketplace page with the Create app button"><figcaption></figcaption></figure>
3. Enter an app name, for example "Recart Popup Integration", and your contact email.

   <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FfYv3MPirGUkC2cH4AL0n%2FATT_2.png?alt=media" alt="Attentive Create App form with the App name and Contact email fields and the Permissions list"><figcaption></figcaption></figure>
4. Under **Permissions**, set these to **Write**:

   * Subscribers
   * Custom Attributes

   <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FD81CgZJEn1yFaZXbSXkE%2FATT_3.png?alt=media" alt="Attentive Create App permissions with the Custom Attributes dropdown open, showing No Access and Write"><figcaption></figcaption></figure>
5. Click **Create**.
6. Copy the API key that appears.

{% hint style="warning" %}
Attentive only shows the API key once, so save it somewhere safe straight away. Never share it in screenshots or emails.
{% endhint %}

### Connect Recart to Attentive

1. In Recart, go to the [Integrations](https://app.recart.com/integrations) page and open the **Attentive** card.

   <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FXf1zkPn0CKGf49ctTFow%2Fattentive-integrations-list.png?alt=media" alt="Recart Integrations page with the Attentive card"><figcaption></figcaption></figure>
2. Paste your key into **API key**.
3. Click **Connect to Attentive**.
4. Once the connection is verified, the Attentive card shows **Active**.

   <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2Fcc0mbqU7Zti5bYgZz2We%2Fattentive-active.png?alt=media" alt="Recart Integrations page with the Attentive card marked Active"><figcaption></figcaption></figure>

### Add your sign-up units

Recart only starts pushing subscribers to Attentive once you've added at least one sign-up unit.

1. On the Attentive integration page in Recart, click **Add sign-up unit**.
2. In **Sign-up unit ID**, enter the exact ID from the Sign-up Unit page in Attentive.
3. Under **Attentive opt-in type**, choose the setting the sign-up unit uses in Attentive:
   * **Single opt-in** (recommended): the subscriber receives a verification code to confirm their number.
   * **Double opt-in**: the subscriber receives a verification code and must also reply Y to complete their subscription.
4. Click **Save**.
5. Under **Default sign-up unit**, choose where new subscribers go by default, then click **Save changes**.

{% hint style="warning" %}
The opt-in type in Recart must match the sign-up unit's setting in Attentive. If they don't match, subscribers aren't forwarded to Attentive.
{% endhint %}

To change or delete a sign-up unit, open the menu next to it and click **Edit** or **Remove**.

### Send a popup's subscribers to a different sign-up unit

By default, all popups send subscribers to your default sign-up unit. To use a different one for a popup, change it in that popup's settings in the opt-in editor.

Every popup with its own sign-up unit is listed under **Popup sign-up unit overrides** on the Attentive integration page. From the menu next to a popup, you can **Edit in Opt-in editor** or **Reset to default**.

### Single vs double opt-in in Attentive

By default, Attentive uses **double opt-in**: subscribers must reply to a second text to confirm. This can lower your sign-up rate, and it's often not needed, because Recart already verifies the number with a one-time code and timestamps consent at opt-in, and your popup shows the legal language.

To avoid the second text, email your Attentive CSM and ask them to:

* Create a sign-up unit for Recart (if you don't have one yet) and link it to your app
* Turn on single opt-in for that sign-up unit

If your CSM doesn't approve single opt-in, subscribers will get the extra confirmation text.

Not sure how to word the request? Contact <support@recart.com> and we'll send you a template for your CSM.

### Managing the integration

* Turn the integration on or off with the **Active** toggle at the top of the Attentive integration page.

  <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FWJRtVzLOmk27Exst9jNH%2Fdownloads.intercomcdn.comio293410023eeb918e61ac540e51acb2ebfScreenshot%2B2021-01-26%2Bat%2B16.58.00.png?alt=media" alt="Attentive integration page header in Recart with the Active toggle highlighted"><figcaption></figcaption></figure>
* To use a new API key, change it in the **API key** field and click **Save changes**.
* Recart stops syncing straight away if the integration is turned off or the API key stops working.

### Troubleshooting

| **Issue**                              | **What to do**                                                                             |
| -------------------------------------- | ------------------------------------------------------------------------------------------ |
| Subscribers are not syncing            | Check the API key, and that you've added a sign-up unit with the exact ID from Attentive   |
| Some popups' subscribers don't sync    | Check the opt-in type of the sign-up unit that popup uses matches its setting in Attentive |
| Subscribers receive "Reply Y" messages | The sign-up unit uses double opt-in in Attentive. Ask your CSM to turn on single opt-in    |
| Automations are not firing             | Check in Attentive that the sign-up unit is linked to the right journey                    |
| API key no longer works                | The key may have expired or been deleted. Generate a new one and add it in Recart          |

If you have any questions, do not hesitate to [contact the Recart Support team.](https://help.recart.com/contact-recart-support.md) We'd be happy to help!


---

# 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://help.recart.com/integrations/email-and-sms-platforms/attentive.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.
