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

# Attentive

> Attentive is a customer engagement platform that helps you build and grow your email and SMS list.

Once the user submits their email and/or mobile number, Gocertify will try to generate a new Subscriber in Attentive.
If the email is already in the list, it will add the mobile number to the existing subscriber.

After that screen, when the user successfully verifies as a target group (student, healthcare, senior, etc)
a “Custom Event” (named “Gocertify”) will be sent to Attentive, including the details of the verification.

With this data, you will be able to generate smart Segments based on the details of these verifications
(e.g. "Students who have verified in the last year").

## Requirements to go live

In a nutshell, you will need to create a new "Custom App" in your Attentive account, share the credentials with
Gocertify, and contact your Attentive's account manager to create a new "Sign-up method" called "Gocertify"
(and share its id with your Gocertify account manager).

<Accordion title="See step by step tutorial">
  <Steps>
    <Step title="Create a new custom app">
      Sign in to your [Attentive](https://ui.attentivemobile.com/) account and go to the "Marketplace" section, located in the left sidebar.

      Once in the Marketplace, click on the "+ Create app" button.

      <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/jGJls7PPp-s8_HqB/images/integrations/cdp/attentive/marketplace.png?fit=max&auto=format&n=jGJls7PPp-s8_HqB&q=85&s=55123356f1fae5a947ff0a76c34d188b" alt="Attentive Marketplace" style={{ borderRadius: '0.5rem' }} width="1572" height="476" data-path="images/integrations/cdp/attentive/marketplace.png" />
    </Step>

    <Step title="Fill in the details">
      Set the name of the app to "Gocertify", add your email address in the "Contact email" field, and
      set the permissions to "Write" for "Custom Events" and "Subscribers".

      <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/nOuF-KusguG7ny2O/images/integrations/cdp/attentive/createApp.png?fit=max&auto=format&n=nOuF-KusguG7ny2O&q=85&s=afea0a7c2c26b9dfda0a21e492df3256" alt="Attentive Create App" style={{ borderRadius: '0.5rem' }} width="2068" height="1432" data-path="images/integrations/cdp/attentive/createApp.png" />
    </Step>

    <Step title="Share the API key with Gocertify">
      After submitting the form, you will be redirected to the app details page, with the API key on a pop up.

      Copy that API key and share it with your Gocertify account manager, using [OneTimeSecret](https://onetimesecret.com/) to avoid exposing it in the chat.
    </Step>

    <Step title="Request a new Sign-up method">
      Contact your Attentive's account manager to create a new "Sign-up method" called "Gocertify".

      Once created, share its ID with your Gocertify account manager. You will find this method in the "Sign-up units" section, as shown below.

      <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/jGJls7PPp-s8_HqB/images/integrations/cdp/attentive/signUpMethod.png?fit=max&auto=format&n=jGJls7PPp-s8_HqB&q=85&s=dd09c73731fbc97d80d535786983e641" alt="Attentive Sign-up method" style={{ borderRadius: '0.5rem' }} width="1070" height="222" data-path="images/integrations/cdp/attentive/signUpMethod.png" />

      <Tip>
        In the future, you will be able to create your Sign-up method directly in the "Sign-up units" section,
        by clicking on the "Create sign-up unit" button.
      </Tip>
    </Step>
  </Steps>
</Accordion>

## How data will appear in Attentive

Each shopper that shares their data with your brand will appear as a **"Subscriber"** in your Attentive account.

By default, they will have 2 subscriptions, one for **"Email marketing"** and another one for **"SMS marketing"**.
Both subscriptions will need to be confirmed by them, by clicking a link in the email or the SMS.
You can see the reference to "Gocertify" in their"Sign-up unit".

<img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/jGJls7PPp-s8_HqB/images/integrations/cdp/attentive/subscriber.png?fit=max&auto=format&n=jGJls7PPp-s8_HqB&q=85&s=1b15acd61636d05c6912147efd8d30b6" alt="Attentive Subscriber" style={{ borderRadius: '0.5rem' }} width="2094" height="1228" data-path="images/integrations/cdp/attentive/subscriber.png" />

<CardGroup>
  <Card>
    In the "Activities" tab, you will see all the events we have sent (when they claim an offer) and when they confirmed their subscriptions, as shown below.

    <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/jGJls7PPp-s8_HqB/images/integrations/cdp/attentive/subscriberActivities.png?fit=max&auto=format&n=jGJls7PPp-s8_HqB&q=85&s=cf919fed548e13e5a2e36b3ba19df6ae" alt="Attentive Subscriber Activities" style={{ borderRadius: '0.5rem' }} width="942" height="454" data-path="images/integrations/cdp/attentive/subscriberActivities.png" />
  </Card>

  <Card>
    In the "Offers" tab, you will see the usual content. Gocertify won't update this section.

    <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/jGJls7PPp-s8_HqB/images/integrations/cdp/attentive/subscriberOffers.png?fit=max&auto=format&n=jGJls7PPp-s8_HqB&q=85&s=7638661dab04b5289d70f7002217896e" alt="Attentive Subscriber Offers" style={{ borderRadius: '0.5rem' }} width="936" height="314" data-path="images/integrations/cdp/attentive/subscriberOffers.png" />
  </Card>
</CardGroup>

## How to create segments in Attentive

In the side menu, go to the "Segments" section and click on the "+ Create segment" button and then:

<Steps>
  <Step title="Choose the type of segment">
    Choose "Dynamic segment" and then click on "Create".
  </Step>

  <Step title="Choose condition">
    In this first dropdown, select the first option, for "A subscriber's activity", as shown below.

    <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/nOuF-KusguG7ny2O/images/integrations/cdp/attentive/chooseCondition.png?fit=max&auto=format&n=nOuF-KusguG7ny2O&q=85&s=725be961139fddb418711b4d9f662044" alt="Attentive Choose Condition" style={{ borderRadius: '0.5rem' }} width="1484" height="570" data-path="images/integrations/cdp/attentive/chooseCondition.png" />
  </Step>

  <Step title="Choose activitiy">
    In the second dropdown, scroll down and select the option "Gocertify", as shown below.

    <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/nOuF-KusguG7ny2O/images/integrations/cdp/attentive/chooseActivity.png?fit=max&auto=format&n=nOuF-KusguG7ny2O&q=85&s=22db4b87168319d21583a8f90db7bd33" alt="Attentive Choose Activity" style={{ borderRadius: '0.5rem' }} width="1684" height="1014" data-path="images/integrations/cdp/attentive/chooseActivity.png" />
  </Step>

  <Step title="Add a filter">
    By default, you will have a filter for "at least once in the last 365 days", meaning that this segment
    will include all your subscribers that have interacted with your brand through Gocertify in the last year.

    <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/jGJls7PPp-s8_HqB/images/integrations/cdp/attentive/filterBase.png?fit=max&auto=format&n=jGJls7PPp-s8_HqB&q=85&s=4edf3087f7f9a83464902a28cdd95f85" alt="Attentive Add Filter" style={{ borderRadius: '0.5rem' }} width="1984" height="238" data-path="images/integrations/cdp/attentive/filterBase.png" />

    Most of the time, you will want to add a second filter for each of the groups you have in your offers.
    For example, if you have an offer for students, a filter for "Student" will be added to the segment.

    In order to do this, click in the "Filter" button and then select "parent\_group" in the dropdown.
    Then, select the group you want to add to the segment, for example "Student".

    <img className="block" src="https://mintcdn.com/gocertify-db9cc6b8/jGJls7PPp-s8_HqB/images/integrations/cdp/attentive/filterCondition.png?fit=max&auto=format&n=jGJls7PPp-s8_HqB&q=85&s=6e34eb7f9fe3e82fda52060ccb27be60" alt="Attentive Add Filter" style={{ borderRadius: '0.5rem' }} width="1848" height="380" data-path="images/integrations/cdp/attentive/filterCondition.png" />
  </Step>

  <Step title="Save the segment">
    Click on the "Create" button in the bottom right corner.
  </Step>
</Steps>

## Further segments

You will be able to use more information that we send in that "Gocertify" event, such as the user's country,
the campaign name, or any custom field you add to the DataCapture.

* `user_country`: the country of the user, in ISO 3166-1 alpha-2 format (e.g. "US", "FR", "ES", "GB", etc.)
* `campaign_title`: the title of the campaign the user verified as (e.g. "Students get 15% OFF at Acme")
* `campaign_slug`: the slug of the campaign the user verified as (e.g. "students")
