Guide to Integrating with Prestashop

If your eCommerce is developed in PrestaShop, you can synchronize it with your Connectif account in just a few minutes and start collecting interaction data from your contacts on the website.

In this article, you will learn how to integrate your Connectif account with your PrestaShop.

 
Implementation time: 10 min.
Difficulty: Low.
When to use it?: When opening your Connectif account.

 

STEP 1. Download the module

1. Log in to your Connectif account.

2. Go to Store Settings in the left-hand side menu.

3. In the E-commerce Platforms section, find PrestaShop and click on  Edit.

Guide to integrate with Prestashop 2025 - 15-min.png

4. In the Configuration section, click on  Download zip to download the file "connectif.zip" to your computer.

Integration with PrestaShop - 2-min.png

 

Do not close this window! You will need it later to extract the identifying data of your account.

 

STEP 2. Installing the module on your PrestaShop

5. Log in to the back office of your PrestaShop.

6. Go to "Modules > Modules and Services".

7. At the top right, click on  Upload a module.

Guide to integrate with PrestaShop 2025 - 2-min.png

8. In the pop-up window, click on Select file or drag it into the dotted rectangle. The assistant will start the installation automatically.

Integration_Prestashop_-_4__without_figma_.png

9. Once the module is installed, click on Configure.

Integration_Prestashop_-_5__without_figma_.png

 

You can also access the configuration later from "Modules > Modules and Services > Connectif" by clicking on Configure.

 

STEP 3. Module configuration in PrestaShop

3.1. Linking your PrestaShop account with the Connectif module

(This section explains how to link your PrestaShop account with the Connectif module, a necessary step to complete the integration).

10. In the Basic Configuration section, click on Manage linked stores.

Guide to integrate with Prestashop 2025 - 13-min.png

11. In the pop-up window, log in to your PrestaShop account.

12. Accept the permissions to link your PrestaShop account with Connectif.

13. Once the accounts are linked, a confirmation message will appear on the module configuration screen.

Guide to integrate with Prestashop 2025 - 14-min.png

 

3.2. Basic configuration

(This section will guide you in entering your account identification data to synchronize it and start collecting real-time interaction data from your website visitors).

14. Go back to your Connectif Store (section "Integrations > PrestaShop") and copy your account’s identifying data (Client ID and Secret Key).

Integration with PrestaShop - 3-min.png

15. Return to the PrestaShop tab you left open (module configuration) and paste the copied data into the fields "Client ID" and "Secret KEY", respectively.

16. Ensure that the "Enabled" field is set to YES.

17. (Optional). If you have a referral code, you should enter it on this screen in the Referral Code field.

18. Click on   Save.

Guide to integrate with Prestashop 2025 - 3-min.png

 

3.3. Banners

 Banners are a deprecated feature in Connectif. You can find more information about it  here.

19. No action is required in this section.

Guide to integrate with Prestashop 2025 - 4-min.png

 

3.4. Public URLs

(This section automatically fills in the subscription/unsubscription URLs for the newsletter, as well as the Service Worker URL for push notifications).

 20. No action is required in this section.
 
You can check these URLs in your Connectif account:

— Subscription/unsubscription URLs for the newsletter, in the integration settings:

Integration with PrestaShop - 4-min.png

Service worker for push notifications, in Store Settings, “Channels > Push Notifications”.

Integration with PrestaShop - 5-min.png

 

3.5. Registration form fields

(This section indicates the contact properties collected in PrestaShop that you want to sync with Connectif).

21. In the Contact Fields section, the fields firstname (first name), “lastname” (last name) and birthday (birthday) are selected by default. If you want Connectif to synchronize any other options in this section or in Address Fields, select "Yes" for the desired fields.

 

To register the selected data in each contact's profile, it is necessary to create a custom field for each of them, ensuring the ID matches the one listed (e.g., id_gender). This step must be performed for all optional fields that are activated, except for the field "Newsletter", which automatically captures subscriptions. You can find more information here.

Guide to integrate with Prestashop 2025 - 5-min.png

 

3.6. Advanced parameters

(This section configures advanced integration options).

22. For a basic integration, no action is required at this step. If you want to perform a more advanced setup, enable/disable the options you want to sync with Connectif:

General settings

  • Enable multi-language: collect contact interaction data differentiating by languages.
  • Include root category in page category: include the “Root” category in the categories of the cn_page_category tag.
  • Check that the hook top is not rendered more than once: enable/disable discount percentage calculation based on prices.
  • Enable debug logs: enable/disable logs.
  • Sync contact information in Connectif when updating the customer from the PrestaShop back office: synchronize in the Connectif contact, in addition to the basic and native fields of the module, the fields that appear activated in the module in the “Registration form fields” tab of the “Contact fields” section. If the multi-language option is enabled, it will synchronize in each Connectif store where the contact’s email exists.

 

These changes are not sent to Connectif if a customer import is done in PrestaShop or if a customer is deleted from PrestaShop.

Guide to integrate with Prestashop 2025 - 6-min.png

Events

  • Purchase events: log all purchases.

  • Registration events: log registration activities.

  • Login events: log contact logins.

  • Newsletter subscription events: log newsletter subscriptions.

  • Cart status: log cart status events.

  • Search events: log search events in the eCommerce.

Guide to integrate with Prestashop 2025 - 7-min.png

Product settings

  • Use long description: collect the long description of the products.
  • Use product combinations in cart and purchases: determine whether, when Connectif receives product information from the cart, it will collect the default product or the specific combination (size, color, etc.).
  • Use SKU as product identifier: use the SKU of your PrestaShop products as the product ID in Connectif.
  • Include root category without needing to select it in the product settings: send the root category to Connectif within the product categories.

  • Include category only if active: send the product’s category to Connectif only if it is active in PrestaShop.
  • Calculate discount percentage based on prices: enable/disable the calculation that sets them automatically.
  • Include tax in discount: include VAT in discounted products.
  • Round prices: round product prices in Connectif.
  • Maximum availability in days: set the period in days before its restock date in which a product will be available for pre-purchase.
  

If the remaining days until a product’s restock date are greater than the maximum availability in days, the item will be considered out of stock, so Connectif will not recommend it in active strategies.

  • Select product image size: indicate the type of product image to be synchronized (it is recommended to select the same one used in the PrestaShop product sheet).

Guide to integrate with Prestashop 2025 - 8-min.png

3.7. Sending Purchases

(In this section, you configure the sending of purchases to Connectif from the PrestaShop module).

23. Through the Sending Purchases section, you can send purchases made in your store to Connectif, specifying a date range and the statuses to import.

 

To learn how to send purchases from PrestaShop to Connectif, check this article.

Sending purchases from PrestaShop - 3.png

 

STEP 4. Configuration in stores with multiple languages

 

You only need to complete this step if your PrestaShop has multiple languages and/or currencies.

 

eCommerce stores with multi-language require one individual account for each language and currency. For more information, contact accountmanager@connectif.es.

To register differentiated data by language, the previous point (17) must have activated the “Activate multi-language” option.

24. In the Basic Configuration tab, click on  .

Guide to integrate with Prestashop 2025 - 9-min.png

25. In a new browser window, access your Connectif account for the corresponding language and copy the identifying data (“Client Identifier” and “Secret Key”), just as indicated in point 10.

26. Return to PrestaShop and paste the identifying data (“Client ID” and “Secret KEY”).

27. Select the language and currency you want to synchronize with that Connectif account.

28. In the “Enabled” field, click on YES.

29. Click on   Save.

Guide to integrate with Prestashop 2025 - 10-min.png

 

 

 Success!
Your Connectif account integration with PrestaShop is now complete.

 

To check that the integration has been completed correctly and that interaction data is being collected, click here.

 


INCIDENT RESOLUTION

Find quick solutions to the most common incidents when performing an integration with PrestaShop.

 

1. What information does Connectif collect through this integration?

a. Information collected from Contacts

In the integrations with PrestaShop, through the tag cn_client_info, certain information about Contacts is transferred by default:

  • email

  • _name

  • _surname

  • _birthdate

  • _newsletter_subscription_status

Additionally, in the Connectif module settings in PrestaShop, there is a section that allows enabling other contact fields. These fields will be added to the cn_client_info tag with the same identifier as in that section. For Connectif to store the value, there must be a custom field in the Connectif Store with the same ID (see step 3.5).

b. Information collected from Products

In the integrations with PrestaShop, through the tag cn_product_visited and the daily catalog synchronization, certain information about the Products is collected by default:

  • quantity

  • price url

  • product_id

  • name

  • description

  • image_url

  • unit_price

  • availability

  • brand

  • published_at

  • category

  • related_external_product_id

  • tag

c. Information collected from Purchases

In the integrations with PrestaShop, through the tag cn_purchase, certain information about the Purchases is collected by default:

  • purchase_id

  • purchase_date

  • payment_method

  • cart_id

  • total_quantity

  • total_price

 

2. No data from purchases, contacts, and/or cart events are recorded

  • In Advanced Parameters, check that the following options are enabled:
      • Purchase Events”, to record purchase data.
      • Registration Events”, to collect contact data.
      • Cart Events”, to capture cart states.

If they are disabled, click Yes in the fields you need and click Save to enable them.

Guide to integrate with Prestashop 2025 - 11-min.png

  • Check that the Connectif module is hooked to the displayTop hook in “Design > Positions” in PrestaShop.

Integration PrestaShop - 16.png

  • Make sure that your template does not modify PrestaShop base pages (such as, for example, Checkout) and executes the displayTop hook as follows:
    {hook h='displayTop'}
  

You can check the official PrestaShop information by clicking here.

  • Set up your payment platform so that, after a transaction, the contact is automatically redirected to the eCommerce Purchase Confirmation page.
 

If you are unable to execute the displayTop hook due to incompatibilities with other modules, it is recommended to execute the displayConnectifTags hook on all pages and ensure the module is hooked correctly to this hook.

 

4. How to recover abandoned carts using the Cart Recovery URL

(This section explains how the Cart Recovery URL works to retrieve items associated with a specific cart).

Through the integration with PrestaShop, a Cart Recovery URL is sent to Connectif, meaning a link to recover the items related to that cart, which can be used in workflows and content.

To obtain the cart recovery URL through a workflow, it must be done via the node "Get last cart" and "On abandon cart", then mapped to the variables of the content to display or send.

  • Learn how this URL works in different CMS platforms and how to use it in this article

 

 

 


Keep learning!

To make the most of your Connectif account, we recommend continuing with the following articles: