PrestaShop 1.7 - Set up the plugin

 

Download the Plugin

Overview

The Sendinblue plugin for PrestaShop allows you to set up an effective email and/or SMS marketing strategy from your PrestaShop website. In this tutorial, you'll learn how to:

  • Install and activate the module.
  • Synchronize newsletter subscribers: the module automatically integrates with the newsletter subscription form on your website. Create and send email campaigns using an ultra-powerful responsive drag & drop editor.
  • Synchronize orders: the module automatically uploads your PrestaShop sales into your Sendinblue account making it possible to segment your contacts based on sales generated.
  • Send transactional emails: optimize the deliverability of your messages (account creation, order confirmation, etc.)
  • Set up Marketing Automation workflowsa: track your shoppers' activity on your website thanks to the Marketing Automation script and recover lost sales thanks to an abandoned cart workflow.
  • Send SMS: communicate with your customers across multiple channels, directly from your PrestaShop back office.

Before getting started

Gather the following information prior to installation and use:

  • Sendinblue account credentials. If you don't have an account, sign up for free.
  • Sendinblue API v2 key. Follow the instructions here to locate your API v2 key.
  • PrestaShop website admin panel access.

Good to know: To utilize all extension features, please ensure your Sendinblue account has been validated and you are able to send emails from Sendinblue's Campaigns and Transactional platforms.  

1. Installing the module

You have two options to install the module: through the PrestaShop back office or through the Sendinblue module page.

PrestaShop Back Office

  1. Login to the back office of your PrestaShop website.
  2. Go to the "Modules and Services" tab.
  3. Type "Sendinblue" in the search bar.
  4. Click on Configure.

As Sendinblue is a PrestaShop partner module, the module should be installed by default in your PrestaShop back office.

blobid0.png

Sendinblue Module Page

  1. Access the Sendinblue module page.
  2. Login to the back office of your PrestaShop website.
  3. Click on the Download button.

2. Activating the module

Under "Step 2. Connect your store to Sendinblue" on the plugin page, select "Yes" to activate the Sendinblue module. Paste your API v2 key (available here) and click Update.

blobid1.png

3. Synchronizing your contacts

Activate Sendinblue to manage your subscribers and select the list(s) to which your new subscribers will be added. When you select "Yes", any new PrestaShop contacts will automatically be added to your Sendinblue account and will appear in the selected list(s).

blobid2.png

Which contacts are synchronized?

  • Contacts that have subscribed to your newsletter via the website default footer
  • Contacts that have created a PrestaShop account and agreed to receive your newsletter

What data is synchronized?

If a contact has subscribed via the website default footer, only the EMAIL field will be synchronized.

If a contact has created a PrestaShop account, the following fields will be synchronized:

  • EMAIL - Email of the contact
  • NAME - First name of the contact
  • SURNAME - Last name of the contact
  • CIV - Civility of the contact
  • BIRTHDAY - Date of birth of the contact
  • PS_LANG - Language of the contact
  • COMPANY - Company of the contact
  • SMS - Phone number of the contact
  • GROUP_ID - Group ID, relevant for multistore only
  • STORE_ID - Store ID, relevant for multistore only
  • DEFAULT_GROUP_ID - Groups the contact belongs to
  • CLIENT - Your Sendinblue account will display "1" as a value when the contact is a client.

Good to know:  Only PrestaShop default attributes are synchronized by the plugin.

4. Synchronizing your orders

Activating the tracking code will enable your customer's orders to automatically be uploaded into your Sendinblue account. This will be very useful for a targeted campaign based on customer spending, for example.

blobid3.png

The following fields will be synchronized to your Sendinblue account as transactional attributes. Those can be seen from Campaign platform > Contacts page > click on email address then on Transactions tab:

  • ORDER_ID - ID of the order
  • ORDER_DATE - Date of the order
  • ORDER_PRICE - Total amount of the order

PS_1.6_transactions.png

For each contact, our platform will calculate daily:

  • PS_CA_USER - Total amount spent by the contact
  • PS_ORDER_TOTAL - Total number of orders by the contact
  • PS_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:

  • PS_CA_LAST_30DAYS - Total amount spent over the last 30 days (Formula: SUM[PS_LAST_30_DAYS_CA])
  • PS_CA_TOTAL - Total amount spent (Formula: SUM[PS_CA_USER])
  • PS_ORDERS_COUNT - Total number of orders (Formula: SUM[PS_ORDER_TOTAL])

For further information on formulas, read this article.

How often are contact(s) and their information synced?

After the initial sync, synchronization will be done in real time.

5. Sending transactional emails

To send transactional emails (e.g. payment confirmations, order summaries, etc.) through Sendinblue, select "Yes" to activate Sendinblue SMTP. This will allow you to optimize the deliverability of your emails, use Sendinblue templates and check that each email has successfully reached your recipient's inbox, been opened, clicked, etc.

blobid4.png

Good to know:  Your SMTP account needs to be activated. If this has not yet been done, you can send a request to our our support team.

Confirmation emails

When a new subscriber subscribes, there are several ways to follow up:

  • No confirmation - visitors will be subscribed to the selected list(s) without any notification
  • Simple confirmation - visitors will be subscribed to the selected list(s) and notified by a follow-up email. Select an active email template from your Sendinblue account.
  • Double confirmation - visitors that submit a form will be added to the Temp - DOUBLE OPTIN list and a confirmation email requiring them to click to confirm their subscription will be sent. Once they have clicked, they will be added to the selected Sendinblue list(s).
    • Opt-in email - Select an active email template from your Sendinblue account that will be used for your new subscriber to confirm their subscription. Note: the template should contain the double opt-in tag as it will be replaced with a generated confirmation link.
    • Confirmation page - Type the URL of the page where a visitor will be redirected after successfully submitting the form. It can be a thank you page or a landing page where you provide additional information.
    • Final confirmation email - Select an active email template from your Sendinblue account that will be sent after confirming the opt-in email.

blobid5.png

Good to know:  Only the PrestaShop default for newsletter subscription confirmation can be overridden by a Sendinblue template.

6. Setting up Marketing Automation workflows

Track shoppers' activity

The Sendinblue plugin also allows you to enable Marketing Automation on your website and track your contacts' activity on your website in just one click.

To enable Marketing Automation, check the "Enable Marketing Automation via Sendinblue" on the plugin's home page. Then click Confirm.

blobid6.png

Select "Yes" for Marketing Automation and Sendinblue will automatically install the script to track your contacts' activity on your website.

Good to know: Make sure that the Marketing Automation feature is enabled on the Apps page of your Sendinblue account.

Recover lost sales

Select "Yes" to recover abandoned carts. Once Abandoned Cart Tracking is enabled, you will find the following logs in your Sendinblue account under Automation > Logs > Event logs:

  • Page
  • Identify
  • Track events

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.

PS_1.6_event_logs.png

Good to know: A customer has to be identified by their email address to trigger a workflow i.e. a customer who has logged into their account on your PrestaShop store or input their email address during checkout.

What's next?

7. Managing SMS

You can send a transactional SMS confirming an order or shipment of an order. blobid7.png

You can also send an SMS marketing campaign directly via the Sendinblue module by clicking on Send a campaign SMS. Select the recipient(s) and prepare your campaign.

blobid8.png

The Sendinblue module for PrestaShop allows you to optimize communication with your customers and simplify interaction between your PrestaShop website and your Sendinblue account.

Have a question?

If you have a question, feel free to reach our support team at support@sendinblue.com.