Shopify

To update your Shopify integration for Checkout Extensibility, disconnect the integration and reinstall by following the steps below.

You can connect Attentive with Shopify to enable a variety of features that can grow your list of SMS subscribers. With this integration, you can:

  • Send transactional journeys to subscribers to alert them about the status of their order or subscription.
  • Create Shopify segments to target a specific set of subscribers using customer data and lifetime purchase data.
  • Set up discount codes so that you can dynamically replenish your Shopify codes when they run out.
  • Synchronize real-time SMS subscribers so that when they opt in through Attentive or Shopify, bidirectional syncing of that data occurs between both platforms. 
Note: You may see an influx of new Shopify customer records after the integration is enabled. See Forward data to Shopify for more information about settings that control when new records are created.

The Attentive tag is installed on your Shopify website as part of the integration setup process. The Attentive tag allows your sign-up units to be displayed and captures important data on your site that powers various parts of your SMS program, such as product views, cart adds, and purchases.

Prerequisites

Ensure that you have the following in order to set up this integration:

  • A Shopify or Shopify Plus account

  • Your Shopify store URL

Note: For international implementations with one Shopify store, you need to create a separate discount for each Attentive account. You can’t reuse the same Shopify discount in multiple Attentive accounts.

Complete the following steps to set up the integration.

Step 1. Set up the integration in Attentive

  1. Go to Marketplace and select Shopify.
  2. Click Install.
  3. Enter your Shopify Shop Name. Your shop name can be found at the end of the URL when you first log in to Shopify. For example, if your shop's URL is https://admin.shopify.com/store/your-shop, then your Shop Name is your-shop.
  4. Click Set up integration.

    Note: By clicking this button, you're authorizing bidirectional data sharing between Attentive and Shopify.
    shop name.png
    You're redirected to your Shopify store, and there's a request to install the Attentive app. Note that permissions are preset with the public app.
  5. Click Install app.
    Your Shopify store is now connected, and you're redirected back to Attentive.
  6. Click Activate Attentive Tag.
    activate attentive tag.png
    You’re redirected to the Shopify settings page.
  7. On the left side panel, ensure the Attentive Tag toggle is turned on.
  8. Click Save.
    save attentive tag.png

The Attentive tag is now live on your site.

Step 2. Edit Shopify integration settings in Attentive

  1. Go to Marketplace and select Shopify.
  2. Click the Settings tab.
    The Shopify integration settings page showing settings for 'Collect Shopify Data', including checkboxes for options like 'Product data', 'Abandoned checkouts', and 'Collect SMS marketing subscribers at checkout', and for 'Forward data to Shopify', including checkboxes like 'Automatically add all emails collected by Attentive to your Shopify store'; the page ends with a yellow 'Save' button.

Collect Shopify data

  1. Check the boxes for the data and events you want Attentive to receive from Shopify:
    • Product data
    • Abandoned checkouts
    • Past purchases
    • Customer data
  2. To edit Shopify customer data segments, click Edit segmentation. This setting controls whether Attentive can create segments based on your Shopify data (like purchase history).
  3. Check Collect SMS marketing subscribers at checkout to allow shoppers to opt in to text messages from you when checking out in Shopify.
    • You must have an active Shopify sign-up unit assigned to a welcome journey in order to collect subscribers.
    • Enabled by default when setting up a new integration with Shopify.
  4. Check Collect email marketing subscribers to allow shoppers to opt in to email messages from you when checking out in Shopify.
    • You must have an active Shopify sign-up unit assigned to a welcome journey in order to collect subscribers.
    • Enabled by default when setting up a new integration with Shopify if you use Attentive Email.
  5. Check Send messages based on transactional events, by setting up a journey to sync real-time transactional SMS subscriber opt-ins between Attentive and Shopify. With this setting enabled, Attentive can also see transactional events, like completing a purchase.

Forward data to Shopify

  1. Check Automatically add all emails collected by Attentive to your Shopify store to send new email addresses collected on your behalf by your Attentive program to Shopify.
    • Doesn’t sync past or future opt-in/opt-out statuses.
    • Disabled by default when setting up a new integration with Shopify.
    • Should generally only be enabled if you use Shopify as your ESP.
  2. Check Forward SMS marketing consent to Shopify to sync new SMS subscribers and opt-in/opt-out updates from Attentive to Shopify.
    • Enabled by default when setting up a new integration with Shopify.
  3. Check Forward Email marketing consent to Shopify to sync new email subscribers and opt-in/opt-out updates from Attentive to Shopify.
    • Enabled by default when setting up a new integration with Shopify if you use Attentive Email.

When you’re finished adjusting your settings, click Save.

Notes:
  • On the Shopify side, the Attentive integration is listed under the Sales Channel header.
  • If you search for revenue in Shopify, revenue from all Attentive campaigns doesn't appear. You can review revenue from all Attentive campaigns using Attentive dashboards and reports.

Step 3. (Optional) Grant permission to sync discount codes from Shopify into Attentive

If you’d like to import discount codes from Shopify, follow these instructions from Shopify to grant permission to sync discount codes from Shopify into Attentive.

Verify tag installation

Verify that the Attentive Tag is working by checking your browser’s network requests when visiting your Shopify store. Requests to either https://cdn.attn.tv or https://cdn.attn.tv/attn.js confirm that the Tag installation is working.

Note: If you’re already using Shopify and the Attentive Tag setting appears to be turned off in your store’s theme, you don’t need to turn it on as long as you see network requests coming from Attentive.

Questions?

We’re here to help! Contact our White Glove team (whiteglove@attentivemobile.com) to ask about the Attentive + Shopify integration.

Articles in this section

Was this article helpful?
1 out of 6 found this helpful