Skip to main content
Active Contributor I
April 19, 2023
Solved

Prestashop integration problems and questions

  • April 19, 2023
  • 15 replies
  • 1053 views

Hi,

I have installed the official Klaviyo prestashop module but I am facing some problems and also have some doubts:

 

1- It does nor sync API events: Added to Cart, Active on Site, or Viewed Product

 

2-Added to cart is not even created as event in klaviyo. It should be in API section according to the documentation)

 

3- Started checkout does not work:

 

image.png

 

4- Question; Should we use this script when using the module? I remember to read that is not necessary but maybe it complements some functions not working/addition to the module)

https://developers.klaviyo.com/en/v1-2/docs/javascript-api

image.png

 

    This topic has been closed for replies.
    Best answer by David To

    Hey @lesielle,

    Since you’re PrestaShop is a multi-store, can you confirm if you’ve set the Klaviyo Public / Private API Key settings to the store level (not the group level) and that there are no extra spaces surrounding the keys. 

    In my experience, this is one of the most common issues related to a multi-store PrestaShop integration with Klaviyo when you don’t see any active on site, viewed product, and started checkout events. 

    David

     

    15 replies

    Contributor I
    August 6, 2023

    I have solved the checkout reporting issue.

    It seems it does not work correctly in Multistore.

    Change the line 655 to correctly select the URL of each multistore:

    'baseUrl' => Tools::getHttpHost(true).__PS_BASE_URI__, 

     

    Regards

     

     

    I changed this parameter but still “Started checkout” event donest work.

     

    I dont know what to do…

     

    (Its a multistore with configuration at shop level, every other metric is working fine)

    Contributor I
    August 7, 2023

    Also I´ve noticed that there are two “started checkout” statusses in the metric dropdown at the dashboard.

     

    Both of them trigerred from Prestashop.

     

     

    Brian Turcotte
    Klaviyo Alum
    August 17, 2023

    Hi @HouseoftaraLon1 and @Pepe!

     

    Are you by chance using the Lightspeed Cache module or Cloudflare module for Prestashop? 


    Klaviyo events like Viewed Product, Added to Cart, and Started Checkout rely on additional Javascript files that are loaded from the Klaviyo module based on the website resource that the customer is viewing (i.e. a Product Page or the Checkout Page). The Lightspeed Cache module prevents these additional JS files from loading at the appropriate times, so this could be why these events are missing. If you are, you can try disabling these modules to confirm.

     

    Best,

    Brian

    Contributor I
    September 7, 2023

    The rest of the events are registered.

    Also as I mentioned the event Started Checkout is shown twice (or duplicated as you wish), in the dropdown of triggers.

     

    I also switched off all caches and nothing… Still not working.

     

    Case still open.

     

    Thanks,

     

    Pepe

    Contributor I
    September 7, 2023

    Problem reated to a customer with hundreds of adresses, also the suggested code change is not needed.

    Problem solved after deletion of those addreses.

    Thanks,

     

    Pepe