- Posts: 14
- Thank you received: 0
Facebook Pixel, best practice?
4 years 7 months ago - 4 years 7 months ago #339995
by jerndorff
Facebook Pixel, best practice? was created by jerndorff
-- HikaShop version -- : 4.4.5
Hello Nicolas,
We have added FB Pixel to our shop, and it works fine with the standard event PageView. But how can we track other events like "AddToCart", "Purchase", "ViewContent" etc.? Is there a plugin which can add this functionality?
Thank you in advance.
PS: There is an official FB plugin. Unfortunately it only supports the J2Store shopping cart plugin. Maybe this could be altered to support HikaShop ...
Hello Nicolas,
We have added FB Pixel to our shop, and it works fine with the standard event PageView. But how can we track other events like "AddToCart", "Purchase", "ViewContent" etc.? Is there a plugin which can add this functionality?
Thank you in advance.
PS: There is an official FB plugin. Unfortunately it only supports the J2Store shopping cart plugin. Maybe this could be altered to support HikaShop ...
Last edit: 4 years 7 months ago by jerndorff.
Please Log in or Create an account to join the conversation.
4 years 7 months ago #339997
by nicolas
Replied by nicolas on topic Facebook Pixel, best practice?
Hi,
Well, different events will requier different implementations.
For the add to cart, the cart.updated event can be used in your custom javascript code so that you can then run FB's javascript code to register the event:
www.hikashop.com/support/documentation/6...ocumentation.html#js
You'll probably want to add your js code in the product / show_default view file, via the menu Display>Views.
For the "view content", supposing that we're talking about view of a product details page, then it would be at the same place.
For the purchase, you can add your javascript in the checkout / after_end view file.
There is no one plugin already developed which can handle all that for you as far as I know.
Well, different events will requier different implementations.
For the add to cart, the cart.updated event can be used in your custom javascript code so that you can then run FB's javascript code to register the event:
www.hikashop.com/support/documentation/6...ocumentation.html#js
You'll probably want to add your js code in the product / show_default view file, via the menu Display>Views.
For the "view content", supposing that we're talking about view of a product details page, then it would be at the same place.
For the purchase, you can add your javascript in the checkout / after_end view file.
There is no one plugin already developed which can handle all that for you as far as I know.
Please Log in or Create an account to join the conversation.
4 years 7 months ago #340011
by jerndorff
Replied by jerndorff on topic Facebook Pixel, best practice?
Hi Nicolas,
Thank you for your reply and guidance. What a shame that there is no plugin.
Best regards,
Michael
Thank you for your reply and guidance. What a shame that there is no plugin.
Best regards,
Michael
Please Log in or Create an account to join the conversation.
4 years 1 week ago #345514
by aminweb
Joomla Developer | am.ebrahimzadeh[at]gmail.com
Replied by aminweb on topic Facebook Pixel, best practice?
i used this. functionally.
extensions.joomla.org/extension/extensio...meta-pixel-tracking/
extensions.joomla.org/extension/extensio...meta-pixel-tracking/
Joomla Developer | am.ebrahimzadeh[at]gmail.com
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
3 years 3 months ago #352736
by mojweb
Replied by mojweb on topic Facebook Pixel, best practice?
Not suporting php 8.aminweb wrote: i used this. functionally.
extensions.joomla.org/extension/extensio...meta-pixel-tracking/
Please Log in or Create an account to join the conversation.
3 years 3 months ago #352741
by senioriz
Joomla & Hikashop Dev - JoomlaMax.com
Replied by senioriz on topic Facebook Pixel, best practice?
hi,
We just updated to version 1.0.4.
php8 is also supported in this version.
extensions.joomla.org/extension/extensio...meta-pixel-tracking/
We just updated to version 1.0.4.
php8 is also supported in this version.
extensions.joomla.org/extension/extensio...meta-pixel-tracking/
Joomla & Hikashop Dev - JoomlaMax.com
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds