[Skip to main content](#vessel-content)

#   Connect the Meta Pixel with HikaShop

##

- **[returnsrl](/forum/user/7622-returnsrl "View returnsrl's Profile")**
- [![returnsrl's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7622-returnsrl "View returnsrl's Profile") Topic Author
- [ Offline](/forum/user/7622-returnsrl)

Less More

- Posts: 5
- Thank you received: 2
-
-

8 months 1 day ago [\#370655](#370655) by [returnsrl](/forum/user/7622-returnsrl "View returnsrl's Profile")  *[Connect the Meta Pixel with HikaShop](/forum/30-integrations/910151-connect-the-meta-pixel-with-hikashop#370655 "-- url of the page with the problem -- :   www.sicilia-beneteau.it  -- HikaShop version -- : 6.3.0 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4.16 -- Browser(s) name and version -- : Google Chrome 145.0.7632.117  Hi, I followed the instructions on how to install the Meta Pixel. On all pages, the script is inserted:  Now it is required to insert it on the product page (show&#95;default):  And on the order confirmation page (end):  Could you please provide me with the correct code to insert into these two pages with the two specific events, “AddToCart” and “Purchase”?  Thank you for your support.")* was created by *[returnsrl](/forum/user/7622-returnsrl "View returnsrl's Profile")*

-- url of the page with the problem -- : [ www.sicilia-beneteau.it](https://www.sicilia-beneteau.it)
-- HikaShop version -- : 6.3.0
-- Joomla version -- : 6.0.3
-- PHP version -- : 8.4.16
-- Browser(s) name and version -- : Google Chrome 145.0.7632.117

Hi,
I followed the instructions on how to install the Meta Pixel. On all pages, the script is inserted:
Code:

&lt;script&gt; !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '1942042939703170'); fbq('track', 'PageView'); &lt;/script&gt;

Now it is required to insert it on the product page (show_default): Code:

fbq('track', 'AddToCart');

And on the order confirmation page (end): Code:

fbq('track', 'Purchase’);

Could you please provide me with the correct code to insert into these two pages with the two specific events, “AddToCart” and “Purchase”?

Thank you for your support.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy85MTAxNTEtY29ubmVjdC10aGUtbWV0YS1waXhlbC13aXRoLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86326
- Thank you received: 14288
-
-

8 months 1 day ago [\#370656](#370656) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Connect the Meta Pixel with HikaShop](/forum/30-integrations/910151-connect-the-meta-pixel-with-hikashop#370656 "-- url of the page with the problem -- :   www.sicilia-beneteau.it  -- HikaShop version -- : 6.3.0 -- Joomla version -- : 6.0.3 -- PHP version -- : 8.4.16 -- Browser(s) name and version -- : Google Chrome 145.0.7632.117  Hi, I followed the instructions on how to install the Meta Pixel. On all pages, the script is inserted:  Now it is required to insert it on the product page (show&#95;default):  And on the order confirmation page (end):  Could you please provide me with the correct code to insert into these two pages with the two specific events, “AddToCart” and “Purchase”?  Thank you for your support.")*

Hi,

This is not as simple as just copy / paste. It requires proper development and we don't have any ready-made code for this.
I would recommend you to use this plugin: [ extensions.joomla.org/extension/hikashop...meta-pixel-tracking/](https://extensions.joomla.org/extension/hikashop-facebook-meta-pixel-tracking/)
It was made specifically for this so that you can set it up easily without any coding.

The following user(s) said Thank You: [returnsrl](/forum/user/7622-returnsrl "View returnsrl's Profile"), [senioriz](/forum/user/68695-senioriz "View senioriz's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy85MTAxNTEtY29ubmVjdC10aGUtbWV0YS1waXhlbC13aXRoLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.047 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
