Storefront > Tools > Apps & Addons > Attentive
Enabling Subscribers to Opt-in
Attentive Mobile is a text messaging marketing tool that allows you to send customized SMS messages to customers who opt-in. With the Attentive Mobile Integration, you will be able to use your Storefront data to create better messaging and drive sales within your Storefront Admin Console.
Messaging can include customer name and location, and be used for the following:
- Loyalty Point balance
- Reminders for abandoned carts
- Item Restocked
- Order Confirmations
- And more!
Integrating with Attentive
Navigate to Storefront > Tools > Apps & Addons > Attentive and click the Integration Active switch.
Two settings are required to integrate with Attentive:
- The API Key
- The Sign-Up Source ID
Attentive API Key
The Attentive API Key is created when you create an app through Attentive’s system.
Within your Attentive account, navigate to the Marketplace page and click + Create App.
You can name the app anything you’d like, but for easy identification we’d suggest naming it “Cart.com” or “Storefront”. Set all permissions to Write and then click Create.
When you click Create the API Key will be generated. Be sure to click the Copy button and paste it in the API Key field within Storefront.
Attentive Sign-Up Source ID
The Sign-Up Source ID can be found by navigating to Sign-up Units on your Attentive account.
If you do not have any Sign-up methods created, you can go through the creation process by clicking the + Create sign-up flow button. The ID will automatically be generated and then be copied and pasted into the Sign-Up Source Id field in Storefront.
Once Storefront is connected to Attentive there are several settings to enable that control what information is shared with Attentive.
|Enable Subscriber||Enables Storefront to create a Subscriber for Attentive. Customers would need to opt-in to SMS messaging for this to occur.|
|Enable Product View||Enables passing Product View data to Attentive. Ex: A customer views a product but doesn’t purchase, Attentive gets the alert and can send messaging offering discounts or alerts on if the product is going out of stock.|
|Enable Add to Cart||Enables passing Add to Cart data to Attentive. Ex: A customer adds a product to their cart, Attentive is alerted and can send messaging related to the product.|
|Enable Purchase||Enables passing Purchase data to Attentive. Ex: A customer purchases a product, the Purchase data is passed to Attentive and now can send messaging to the customer asking for reviews, new product offerings, or an invitation to join your rewards program.|
|Enable Order Update||Enables passing Order Update data to Attentive. This includes orders being placed, shipped, or canceled. This is useful for sending messaging directly related to an order.|
|Generate Product Catalog File||When enabled, this will work together with the Product Catalog File Name field and Feed File URL field to generate a file for your Product Catalog. This allows Attentive to use data from your Product Catalog (stock, new items, similar items, etc.) to create messaging.|
|Product Catalog File Name||User controlled text box. The file name needs to end with “.ndjson”. Ex: MyData.ndjson.|
|Feed File URL||This field will automatically fill when the Product Catalog File is generated. You can choose to copy the URL with the copy button.|
Enabling Subscribers to Opt-in
The SMS Opt-in Checkbox and SMS Consent Text fields control what your customers will see when they are asked to opt-in to SMS.
Learn more about SMS consent and compliance
The last step is to add the consent checkbox and consent text to your chosen page through the theme editor.
Note: You can add the consent box to any page that gathers customer information, but for our example we’re adding it through the One Page Checkout.
Navigate to Storefront > Themes > Pages > One Page Checkout > HTML Editor and add the following markup between the checkoutShipping-phone field and ShippingCustomerAltPhoneArea field.
This adds the Subscribe to SMS consent checkbox and text as shown below:
Note: Consent is not marked as gathered until the order is completed and placed.