Facebook pixel module


Description
Facebook Pixel module for Vue Storefront

Functionalities
This module enables you to seamlessly implement Facebook Pixel functionality to your Vue Storefront app, featuring generation of standard Facebook Pixel events out-of-the-box :

Standard Facebook Pixel events

Event name Description Passed parameters
PageView Triggered on every route change. No event-specific parameters
Search Triggered when SearchPanel input has text - search_string (search input value)
AddToCart Triggered after Product is added to Cart. - content_ids (added Product SKU)
- content_name (added Product Name)
- content_type (set as 'product' )
- value (added Product price * qty )
- currency (current Store View currencyCode )
AddToWishlist Triggered after Product is added to Wishlist. - content_ids (added Product SKU)
- content_name (added Product Name)
- content_type (set as product )
- value (added Product price * qty )
- currency (current Store View currencyCode )
InitiateCheckout Triggered after Checkout is created. - content_category (set as 'product' )
- content_type (set as 'product' )
- content_ids (Cart Products SKUs)
- contents (Cart contents - SKU, Price, Qty)
- currency (current Store View currencyCode )
- num_items (number of items in Cart)
- value (Cart Price for Checkout)
Purchase Triggered after Checkout success. - content_type (set as 'product' )
- content_ids (bought Products SKUs)
- contents (Checkout Cart contents - SKU, Price, Qty)
- currency (current Store View currencyCode )
- num_items (number of bought items in Cart)
- value (Checkout Total Price)

Author: newfantastic

Contact: hello@newfantastic.com

Github repo: https://github.com/new-fantastic/vsf-facebook-pixel