WooCommerce plugin - Installation and setup

woocommerce-logo-1024x260.png

Download the WooCommerce plugin

The Sendinblue plugin for WooCommerce allows you to synchronize your WooCommerce website contacts with your Sendinblue account in real time, send customer emails with enhanced deliverability, and more!

In this article, we will explain how to:

Before you start

Gather the following information prior to installation:

Install the WooCommerce plugin

Download the plugin

    1. Log into your WooCommerce dashboard as an administrator.
    2. In the sidebar menu, go to Plugins > Add New.
    3. Search “Sendinblue” to find the WooCommerce – Sendinblue Add-on.
    4. Click Install now, then Activate.
      2021-08-18_14-12-58.png

Alternatively, you can also download the plugin file and upload its contents to your server.

Connect your website to Sendinblue

Now that you have installed the plugin, connect your website to Sendinblue:

    1. In the sidebar menu, go to WooCommerce > Settings.
    2. On the Sendinblue tab, go to General.
    3. In the API access key field, enter your API v3 key. Follow these instructions to find your API key in your Sendinblue account.
    4. Click Login.
      2021-08-18_14-34-31.png

Congratulations! You have connected Sendinblue to your WooCommerce account 🎉

Synchronize your contacts

Synchronize your existing WooCommerce contacts

💡 Good to know
The synchronization of existing WooCommerce contacts is not automatic. You must follow this process to synchronize them to your Sendinblue account.

The synchronization of existing WooCommerce contacts to your Sendinblue account has to be done manually:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. In the Sendinblue tab, go to General.
  3. Click Sync my users.
    2021-08-20_15-29-51a.png
  4. From here, you can select:
    • Which Sendinblue list(s) you would like the contacts added to,
    • Which attributes you would like synced.
      mceclip0__1_.png
  5. Click Apply.

That's it! Your existing contacts have been synchronized to your Sendinblue account.

Synchronize your new contacts

💡 Good to know
After the initial sync, synchronization will be done in real time.

2021-08-20_15-28-17a.png

To synchronize your new contacts and manage your subscription options:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. On the Sendinblue tab, go to Subscription Options.
  3. Manage your subscription options:
    • Enable/Disable: check the Enable Subscription option to add your customers to one of your Sendinblue list after the subscribe event happens.
    • Subscribe Event: select which event should trigger the subscription (order created or completed).
    • Lists: select the list in which your customers will be added to.
    • Match Attributes: check the Enable Match Attributes option to map your WooCommerce contact attributes with your Sendinblue contact attributes. Note that the plugin only synchronizes WooCommerce default attributes.
    • Double Opt-In: check the Enable Double Opt-In option to enable a double opt-in subscription process.
      • Double Opt-In Template: select the double opt-in confirmation template you want to send. You can also update the template from your Sendinblue account.
    • Double Opt-In Field: check the Display an Opt-In Field at Checkout option to enable the email opt-in field on your WooCommerce checkout page.
      • Opt-In Field Label: edit the opt-in checkbox label that will be displayed on your checkout page.
      • Opt-In Checkbox Default Status: select the default state for the opt-in checkbox that will be displayed on your checkout page (checked or unchecked). Note that it should be unchecked to be GDPR-compliant.
      • Opt-In Checkbox Display Location: select where to display the opt-in checkbox that will be displayed on your checkout page (under billing info, order info, or terms and conditions).

Synchronize your orders

💡 Good to know
After the initial sync, synchronization will be done in real time.

The WooCommerce plugin allows one-way sync of your orders from your store to Sendinblue. Once 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 the Contacts tab, clicking an email address and checking the Transactions tab:

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

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

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

    mceclip0.png

For each contact, our platform will calculate daily:

  • WC_CA_USER — Total amount spent by the contact
  • WC_ORDER_TOTAL — Total number of orders by the contact
  • WC_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:

  • WC_CA_LAST_30DAYS — Total amount spent over the last 30 days (Formula: SUM[WC_LAST_30_DAYS_CA])
  • WC_CA_TOTAL — Total amount spent (Formula: SUM[WC_CA_USER])
  • WC_ORDERS_COUNT  Total number of orders (Formula: SUM[WC_ORDER_TOTAL])

For further information on formulas, read this article.

Send transactional emails

2021-09-02_10-13-10.png

To manage your transactional emails options:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. In the Sendinblue tab, go to Email Options.
  3. Manage your transactional emails options:
    • Enable/Disable: check the Enable Sendinblue to send WooCommerce emails option to allow Sendinblue to send your WooCommerce transactional emails. Once enabled, we will send your WooCommerce emails through the Sendinblue SMTP server to optimize their delivery.
    • Notification Activation: select which actions will trigger the sending of transactional emails to your customers.
    • Templates: select if you want to use WooCommerce default templates or your Sendinblue templates to send your transactional emails:
      • If you select WooCommerce, your customers will continue receiving your default WooCommerce notification templates.
      • If you select Sendinblue, select which template you want to use for each type of email.

💡 Good to know
If you select Sendinblue and then do not select a template for a certain type of email, your customers will continue receiving your default WooCommerce email templates.

Customize your WooCommerce and Sendinblue email templates

As explained in the above section, you can either choose to send a default WooCommerce email template or a Sendinblue email template. Learn how to customize:

Default WooCommerce email templates

2021-09-06_12-44-03.png

To customize some of the settings of your default WooCommerce email templates:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. Go to the Emails tab.
  3. Click Manage next to an email template to manage its settings:
    • Recipient(s) (only for New order, Cancelled order, and Failed order),
    • Subject,
    • Email heading, etc.
      mceclip0.png
  4. At the bottom of the Emails tab, manage the general settings of your email templates:
    • Header image,
    • Footer text,
    • Base color, etc.
      mceclip1.png

Sendinblue email templates

To learn how to create and customize your Sendinblue email templates, check out our dedicated articles:

After choosing which Sendinblue email templates you want to use, you can select to whom you want to send your New order, Cancelled order, and Failed order emails:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. Go to the Emails tab.
  3. Click Manage next to an email template.
    2021-09-06_12-44-03.png
  4. In the Recipient(s) field, enter one or several email addresses.
    mceclip1.png
  5. Click Save changes.

❗️ Important
Please note that there are two methods to customize your order confirmation email templates in Sendinblue:
- If you want to send your order confirmation email directly through WooCommerce, you must use the Old Template Language. We explain this method in our dedicated article: WooCommerce plugin - Create an order confirmation email to send through WooCommerce.
- If you want to send your order confirmation email through a workflow, you must use the New Template Language. This method allows you to perform additional actions after sending your email, such as updating your contacts' attributes, moving them to another list, etc. We explain this method in our dedicated article: Order confirmation - Part 1: Create an order confirmation email template.

Send SMS

Send transactional SMS

2021-08-20_15-40-52.png

To manage your transactional SMS options:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. On the Sendinblue tab, go to SMS Options.
  3. Manage your transactional SMS options:
    • Enable/Disable: check the Enable Sendinblue to send confirmation SMS option to allow Sendinblue to send your WooCommerce confirmation SMS.
    • Enable Customer Notifications: check the Order confirmation and/or Order shipment options to set up the confirmation SMS.
    • Sender: enter the name of the transactional SMS sender.
    • Message: write the content of your transactional SMS. You can also personalize your SMS using pre-defined variables.
    • Send a test SMS: send a test SMS to check the display of your transactional SMS.
    • Enable Admin Notifications: check the SMS credit shortage option to receive a notification email when your SMS credit reaches a pre-defined limit.

Send SMS campaigns

2021-08-20_15-42-13.png

To send an SMS campaign:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. On the Sendinblue tab, go to SMS Campaign.
  3. Set up your SMS campaign:
    • To: select whether you want to send your SMS campaign to a single contact, all contacts, or only WooCommerce contacts who opted into your campaigns during checkout.
    • Sender: enter the name of the sender of the SMS campaign.
    • Message: write the content of your SMS campaign. You can also personalize your SMS using pre-defined variables.
    • Send a test SMS: send a test SMS to check the display of your SMS campaign.

After sending an SMS campaign, you can review its report from your Sendinblue account.

Track your visitors' actions

2021-08-20_15-45-19.png

To manage your tracking options:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. On the Sendinblue tab, go to Automation.
  3. Manage your Automation options:
    • Marketing Automation: check the Enable Sendinblue Marketing Automation option to allow Sendinblue to embed a tracking script (Sendinblue tracker) on your website. Tracking your visitors actions allows you to take advantage of Sendinblue's Automation feature and create workflows, such as an Abandoned cart workflow. 
    • Abandoned Cart email: create and personalize an abandoned cart email in Sendinblue and use it to recover lost sales thanks to our Abandoned Cart workflow.

mceclip0.png

Once you have enabled tracking, 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 or post-purchase 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.

💡 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 WooCommerce website or input their email address during checkout.

Chat with your customers

Sendinblue Chat allows you to connect with your leads and customers in real time on your website.

mceclip0__1_.png

To install the Sendinblue chat widget on your website, refer to our dedicated article: How to set up your chat widget.

Monitor your statistics

2021-08-20_15-47-06.png

To review your transactional email report:

  1. In the sidebar menu, go to WooCommerce > Settings.
  2. In the Sendinblue tab, go to Statistics.

You will be able to see if your customers received, opened, and clicked your emails. You can also adjust the time period to review a specific timeframe only.

woo-statistics.png

Troubleshoot issues with the WooCommerce plugin

🛑 My visitors are not tracked on my website

Your visitors are not identified by the Sendinblue tracker

When someone visits a website that contains the Sendinblue tracker, the tracker will automatically add a cookie to their browser. The tracker must then identify the contact.

A contact can be identified if:

  • They create an account on the website
  • They submit a Sendinblue form on the website
  • They open a transactional email or click a link in a transactional email sent from the Sendinblue account

Even if the contact entered an email address during checkout, if they are not identified by one of the three ways mentioned above, they will not enter the workflow.

🛑 My email doesn't populate with the data of my customers

You are using the wrong placeholder format

If you created an email template and personalized it with placeholders for order or abandoned cart data, your email will be populated with the data of your customers at the time of sending. If it is not, you may have added the wrong placeholders in your email:

🛑 My abandoned cart workflow doesn't work

You are using the wrong track event in the workflow

For your abandoned cart workflow to work correctly, make sure you are using the right track event at the right step:

  • The abandoned cart workflow is triggered by the cart_updated track event, which is generated when a product is added to a cart.
  • The abandoned cart workflow ends with the order_completed track event, which is generated when a product is purchased.
  • The abandoned cart workflow also ends with the cart_deleted track event, which is generated when a product is removed from a cart.

For more information on the abandoned cart workflow, check out our dedicated article Abandoned Cart - Part 2: Set up an Abandoned Cart workflow.

🛑 My order confirmation workflow doesn't work

For your order confirmation workflow to work correctly, make sure you are using the right track event to trigger the sending of the email: order_completed.

For more information on the order confirmation workflow, check out our dedicated article: Order confirmation - Part 2: Set up an order confirmation workflow.

⏩ What's next?