# Attentive

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FIyX75Oaf6AqJ342teWfr%2Fimage.png?alt=media&#x26;token=9b17efcd-a8ea-4e70-b272-6d1a399a7046" alt="" width="314"><figcaption></figcaption></figure>

The Attentive plugin sends 3 events.  All events send with the standard ESP plugin delay (about 20-30 minutes).

1. COMPLETE orders send the **Purchase** event
2. PARTIAL orders send the **Add To Cart** event (abandoned carts only; i.e., the order has products)
3. Subscribe Opt-In sends the **Subscribe User** event (if the customer has [opted into marketing](https://help.checkoutchamp.com/funnel-builder/creating-and-editing-funnels-pages/funnel-visualizer-and-page-builder/page-builder-2.0/page-building-tips/creating-a-marketing-opt-in-checkbox))

Go to **Admin → Plugins → Email Service Providers**, click **Attentive**, and select the green **Activate** button.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F7uCPJ4Ak7qJ8vYwnMuQd%2Fimage.png?alt=media&#x26;token=38006241-c35e-40cd-ab27-222cc24c9cb7" alt="" width="563"><figcaption></figcaption></figure>

Enter **access\_token**. This is the API key on your private app at Attentive. It is required to create a custom app to use this plugin. <https://ui.attentivemobile.com/integrations/custom-app/management>

Enter **signUpSourceId**. This is the ID of your Sign-up Unit at Attentive.

Enter an optional **FriendlyName**

Enter **webhookSigningKey** from Attentive if you wish to receive opt-out notices from subscribers.  The endpoint to receive the webhook is *<https://api.checkoutchamp.com/plugin/attentive/unsubscribe/>*

Choose a **subscribeOptIn** option to opt-in customers to marketing.  This goes along with [Contact Opt-In](https://help.checkoutchamp.com/funnel-builder/creating-and-editing-funnels-pages/funnel-visualizer-and-page-builder/page-builder-2.0/page-building-tips/creating-a-marketing-opt-in-checkbox) functionality.  Subscribers are opted-in with this option and the opt-out webhook can be received (if **webhookSigningKey** is entered)**.**

Press <mark style="color:green;">**Connect**</mark>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FxZ9iL4E4FcCXgkPHrZL9%2Fimage.png?alt=media&#x26;token=c6fcd6ca-7855-4fa5-8cce-6e1abc3be7bd" alt="" width="288"><figcaption></figcaption></figure>

Edit the plugin. Enter Campaign Routing using standard functionality.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F7y2hhch0tMwiR9XaPHea%2Fimage.png?alt=media&#x26;token=e3045a0a-5e08-4258-a131-d0b4a66a808a" alt="" width="563"><figcaption></figcaption></figure>

**Where to find your API key in Attentive?**

<https://ui.attentivemobile.com/integrations/custom-app/management>

&#x20;
