Skip to main content
Solved

PRESTASHOP integration


Forum|alt.badge.img+2
  • Problem Solver I
  • 15 replies

Where insert this code in prestashop?

<script type="text/javascript" src="//static.klaviyo.com/onsite/js/klaviyo.js?company_id=" ></script>

need work popup

thank

Best answer by bluesnapper

Welcome to the community @pttk 

I don’t use Prestashop, but Klaviyo has an integration module for it. More info here: https://help.klaviyo.com/hc/en-us/articles/360054551492

It looks like it’s similar to other integrations: the module should install the Klaviyo.js snippet without having to be manually added to your site’s code.

I hope that helps

Andy

View original
Did this topic or the replies in the thread help you find an answer to your question?

5 replies

bluesnapper
Partner
Forum|alt.badge.img+45
  • Champion & Partner
  • 729 replies
  • Answer
  • May 27, 2024

Welcome to the community @pttk 

I don’t use Prestashop, but Klaviyo has an integration module for it. More info here: https://help.klaviyo.com/hc/en-us/articles/360054551492

It looks like it’s similar to other integrations: the module should install the Klaviyo.js snippet without having to be manually added to your site’s code.

I hope that helps

Andy


Forum|alt.badge.img+2
  • Author
  • Problem Solver I
  • 15 replies
  • September 24, 2024

Hi, I have done EVERYTHING that the guides indicate, but I cannot get the "Sign-up forms" to display on my site.
I have checked all the parameters and nothing.

PrestaShop: 8.1.7

PHP: 8.0.30

 

Any ideas?


Forum|alt.badge.img+2
  • Author
  • Problem Solver I
  • 15 replies
  • October 30, 2024

Hi, when insert this code in index.php  ; 

<script async type="text/javascript" src="https://static.klaviyo.com/onsite/js/Wdx2DK/klaviyo.js"></script>

send error unexpected sintax error “<”

Thank


Forum|alt.badge.img+2
  • Author
  • Problem Solver I
  • 15 replies
  • October 30, 2024

The correcto code for insert in index.php is :

echo '<script async type="text/javascript" src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=Wdx2DK"></script>';

Work fine NOW
 


Forum|alt.badge.img+2
  • Author
  • Problem Solver I
  • 15 replies
  • November 11, 2024

In Prestashop 8.2 the Klaviyo code in index.php have problem with Presashop scrips, not work something functions.

echo '<script async type="text/javascript" src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id="xxxxxxxx></script>';