Shopify plugin - Installation and setup

shopify.png

Download the Shopify plugin

The Sendinblue plugin for Shopify allows you to synchronize your contacts and orders, improve the deliverability of your emails, create complex automated workflows, and more!

In this article, we will explain how to:

Install the Shopify plugin

Download the plugin

  1. Go to Shopify marketplace to install the free plugin.
  2. Click Add app. If you're not already logged in to your Shopify account, you will be asked to do so.
    Capture_d_e_cran_2021-10-27_a__11.48.25.jpg
  3. Click Install app
    Capture_d_e_cran_2021-10-27_a__16.48.18.png

Connect your website to Sendinblue

If you're not already logged into a Sendinblue account, you'll see the screen below with three options:

mceclip0.png

If you're already logged into Sendinblue, you can directly go to the Synchronize your contacts section.

Option 1: Sign up using your Shopify account's email (the quickest option)

This option is the quickest to get started with the Shopify plugin for Sendinblue as we'll re-use all the information (name, first name, address, company name, website URL, etc.) that you've already filled in on your Shopify account.

Once you've selected this option, a loading screen will appear while we are creating your Sendinblue account.

Capture_d__cran_2021-10-28___16.48.58.png

💡 Good to know
A default password will be generated so that you can get started as quickly as possible. We will send you an email to change it and choose your own.

Once your account is created, click on Allow access to allow Sendinblue to fetch data from your Shopify account. Once done, you'll be redirected to your Sendinblue account.

Capture_d_e_cran_2021-10-27_a__17.06.02.png

Option 2: Sign up using another email address

If you don't want to use your Shopify account's email address, you can sign up to Sendinblue using another email address. In this case, you'll be asked to enter an email address and a password, and then click on Create account and install app.

mceclip1.png

 


We'll then ask you to verify your email address by clicking on the verification link in the email we sent you. You'll be redirected to a quick loading page while we validate your email address and create your account. 

Once your account is created, click on Allow access to allow Sendinblue to fetch data from your Shopify account. Once done, you'll be redirected to your Sendinblue account.

Capture_d_e_cran_2021-10-27_a__17.06.02.png

Option 3: Log into your Sendinblue account

In case you already have a Sendinblue account, you'll be able to log into it. Enter your Sendinblue credentials and click on Login and install App.

Capture_d_e_cran_2021-10-28_a__16.57.38.png

Click on Allow access to allow Sendinblue to fetch data from your Shopify account. Once done, you'll be redirected to your Sendinblue account.

Capture_d_e_cran_2021-10-27_a__17.06.02.png

Synchronize your contacts

💡 Good to know
After the initial sync, synchronization will be done in real time. This means that every time any of your Shopify contact is updated, Sendinblue will know it and update your contact database accordingly.

While you get started with Sendinblue, we'll launch the full sync of your Shopify customer data. By default, Sendinblue automatically maps the following attributes between your shop and your Sendinblue account:

  • email
  • firstname
  • lastname
  • gender
  • phone number

More precisely, the Shopify plugin allows one-way sync of your contacts from your store to Sendinblue:

  • Changes made in Sendinblue won't be synced to your store, with one exception: the subscription/unsubscription status сan be synced to your store if the option is enabled.
  • Only contacts that have opted-in for email marketing will be synced. Contacts can opt in for email marketing by submitting the subscription form in your store's footer or by creating a Shopify account and agreeing to receive newsletters. Contacts that have opted-in can be found under Customers > Accepts Marketing tab in your Shopify store.

It may take a few minutes for the sync to finish, you'll receive an email as soon once the process is done.

Synchronize the status of your contacts

To sync the subscription/unsubscription status of your contacts to your store:

  1. In Sendinblue, click your name at the top-right side of the screen.
  2. Select Plugins.
    Capture_d_e_cran_2021-10-28_a__18.14.14.png
  3. Click on Manage Integrations.
  4. Select your Shopify integration.
  5. Click on Contact Synchronization.
    Capture_d_e_cran_2021-10-28_a__18.14.50.png
  6. To update the subscription status of your contacts both on Sendinblue and on your store, enable the Sync the state of contacts (subscribed/unsubscribed) option.
    PS_1.7_Contact_sync_2__1_a__1_.png

Manually map contact attributes

💡 Good to know
You can use a Sendinblue attribute only once when mapping data. It is not possible to map two or more store attributes to one Sendinblue attribute.

After the initial sync is done, you can choose to manually map other contact attributes:

  1. In Sendinblue, click your name at the top-right side of the screen.
  2. Select Plugins.
    Capture_d_e_cran_2021-10-28_a__18.14.14.png
  3. Click on Manage Integrations.
  4. Select your Shopify integration.
  5. Click on Contact Synchronization.
    Capture_d_e_cran_2021-10-28_a__18.14.50.png
  6. If it is checked, uncheck the Autoassign store contacts' attributes to Sendinblue contact attributes option.
  7. Click on Map attributes.
    mceclip1.png
  8. Select how you want to map your attributes by specifying which Sendinblue field will be synced with which Shopify field.
    In our example below, we choose to map Customer first name with PRENOM (First name).
    Capture_d_e_cran_2021-10-28_a__18.16.07.png
  9. Once you're done, click Save.

Synchronize your orders

💡 Good to know
After the initial sync, synchronization will be done in real time. This means that every time any of your Shopify order is updated, Sendinblue will know it and update your contact database accordingly.

The Shopify plugin allows one-way sync of your orders from your store to SendinblueOnce you have synced your contacts, we will automatically sync your orders. This will be very useful to send a targeted campaign based on customer spending, for example.

The following fields will be synchronized to your Sendinblue account as transactional attributes. You can view your orders by going to Campaigns > Contactsclicking an email address and checking the Transactions tab:

  • ORDER_ID (ID) : Displays the ID of the order purchased

  • ORDER_DATE (Date) : Displays the date of the order purchased

  • ORDER_PRICE (Number) : Displays the total amount of the order
    mceclip0__3_.png

For each contact, our platform will calculate daily:

  • SHOPIFY_CA_USER - Total amount spent by the contact
  • SHOPIFY_ORDER_TOTAL - Total number of orders by the contact
  • SHOPIFY_LAST_30_DAYS_CA - Total amount spent over the last 30 days by the contact

In addition, global data about your store will also be displayed on your Sendinblue account:

  • SHOPIFY_CA_LAST_30DAYS - Total amount spent over the last 30 days (Formula: SUM[SHOPIFY_LAST_30_DAYS_CA])
  • SHOPIFY_CA_TOTAL - Total amount spent (Formula: SUM[SHOPIFY_CA_USER])
  • SHOPIFY_ORDERS_COUNT - Total number of orders (Formula: SUM[SHOPIFY_ORDER_TOTAL])

For further information on formulas, read this article.

Choose your subscription confirmation

To use Sendinblue to manage the opt-in settings for your store, enable the Use Sendinblue subscription confirmation options to manage opt-in settings option.

  • If this option is enabled, all new contacts that subscribe through your default form will need to express their consent to receive your emails. Once a contact confirms their subscription, they will be synced to your selected list. 
  • If this option is disabled but contact sync is enabled, all new contacts will be added to the selected list after submitting the form without any confirmation.

To choose your subscription confirmation:

  1. In Sendinblue, click your name at the top-right side of the screen.
  2. Select Plugins.
    Capture_d_e_cran_2021-10-28_a__18.14.14.png
  3. Click on Manage Integrations.
  4. Select your Shopify integration.
  5. Click on Subscription Confirmation.
    mceclip1.png
  6. Enable the Use Sendinblue subscription confirmation options to manage opt-in settings option.
    Screenshot_2020-04-14_at_18.59.32.png

Option 1: Double confirmation email

If you decide to send a double confirmation email, contacts who submitted your default form will receive an email with a double opt-in link to confirm their consent. You can select the double opt-in confirmation email template or create your own.

Screenshot_2020-04-14_at_20.37.17.png

Confirmation page

If the Confirmation page after clicking on the validation link in the email option is enabled, you can specify the URL to which customers will be redirected after clicking the link in your confirmation email. If you enable this option without specifying any URL, contacts will be redirected to the default Sendinblue thank you page.

mceclip2.png

Final email confirmation

If the Final confirmation email option is enabled, contacts will receive a final email after confirming their subscription. 

Screenshot_2020-04-14_at_20.52.04.png

Option 2: Single confirmation email

If you decide to send a single confirmation email, contacts who submitted your default form will receive a confirmation email. You can select the default simple confirmation email template or create your own.

Screenshot_2020-04-14_at_20.32.07.png

Track your visitors actions

To track your visitors actions, Sendinblue embeds a tracking script (Sendinblue tracker) on your store which allows you to take advantage of Sendinblue's Automation feature and create automated workflows.

To start tracking your visitors actions:

  1. In Sendinblue, click your name at the top-right side of the screen.
  2. Select Plugins.
    Capture_d_e_cran_2021-10-28_a__18.14.14.png
  3. Click on Manage Integrations.
  4. Select your Shopify integration.
  5. Click on Behavior Tracking.
    mceclip1.png
  6. From here, you have three options:
    • To track your visitor actions, enable the Allow Sendinblue to track visitor actions on your Shopify store website in order to use them for your marketing automation workflows option.
    • To get a log of pages visited on your store and build workflows to increase customer engagement, enable the Track the page visits option.
    • To track abandoned carts and build workflows to recover abandoned carts revenue, enable the Track the actions related to an abandoned cart option.
      Screenshot_2020-04-14_at_21.32.17asa__1_.png

Once these tracking options are enabled, you will find the following logs in your Sendinblue account under Automation > Logs > Event logs:

  • Page: when a contact visits a page on your website
  • Identify: when a contact is identified on your website
  • Track events: when a contact adds an item to their cart, empties their cart, or makes a purchase.

The plugin will automatically pass 3 track events that can be used to create abandoned cart automation workflows:

  • cart_updated is passed when an item is added to a cart.
  • cart_deleted is passed when a cart is emptied.
  • order_completed is passed when the order has been made.

mceclip0.png

💡 Good to know
A customer has to be identified by their email address to trigger a workflow, e.g. a customer who has logged into their account on your Shopify store or has created an account during checkout.

Start discovering Sendinblue

You don't need to wait for the contact sync process to finish to start discovering Sendinblue. We'll  suggest two options from here:

Capture_d_e_cran_2021-10-27_a__17.30.47.png

Option 1: Create a welcome email

This option allows you to create a welcome email, which is an email automatically sent when a contact subscribes to your newsletter. To learn more about how to create a welcome email, check out our dedicated article Welcome Message: send a welcome email to your new contacts.

Option 2: Send your first newsletter

This option allows you to create your first email campaign. To learn more about how to create an email campaign, check out our dedicated article Creating an email campaign.

🤔 Have a question?

If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.