Required Apps |
•
eCommerce (website_sale)
• Website (website) • Invoicing (account) |
Included Dependencies | Show |
Lines of code | 691 |
Technical Name |
website_sale_facebook_pixel |
License | OPL-1 |
Website | https://garazd.biz/shop |
Also available in version | v 15.0 v 14.0 v 13.0 v 12.0 |
Track customer eCommerce activities with Facebook Pixel events on product and category website pages

- CompleteRegistration: when a customer registers on a website from the login page;
- ViewContent: when a customer viewing a product list/grid page or product page;
- Search: when a customer searching products;
- AddToCart: when a customer clicking on the Add to Cart button on a product or a product list page;
- InitiateCheckout: when a customer starting the checkout process from the cart page;
- AddPaymentInfo: when a customer clicking on the Next button after filling in address fields;
- Purchase: when a customer finishing the checkout process on the confirmation page.
Activate the Facebook Pixel easily
Multi-Website support
Free 30 days support and 180 days bug-fixing
Demo & Test. Click on the "Live Preview" button
The event ViewContent
The event ViewContent code activates when someone visits a product web page's URL or the product catalog page.
The following event properties will be sent:
- content_type: product
- content_name: the product name
- content_category: the product website category name
- content_ids: the list of product template or product variant ids (it can be defined in the Website Settings)
- value: the product template sale price
- currency: the website default currency

The event Search
The event Search code activates when a visitor has perfomed a search in the product catalog on a website.
The following event properties will be sent:
- search_string: entered search string
- content_type: product
- content_ids: the list of product template or product variant ids (it can be defined in the Website Settings)
- currency: the website default currency

The event AddToCart
The event AddToCart code will be added on a product page. It will be fired on the clicking button Add to cart.
The following event properties will be sent:
- content_type: product
- content_name: the product name
- content_category: the product website category name
- content_ids: the list of product template or product variant ids (it can be defined in the Website Settings)
- value: the product template sale price
- currency: the website default currency

The module also adds the event AddToCart to the webpage /shop (product list). To enable this feature activate the option Add to Cart in the Customize website menu.

The event InitiateCheckout
The event InitiateCheckout code will be added on the Cart page. It will be fired on the clicking button Process Checkout.
The following event properties will be sent:
- content_type: product
- content_ids: list of product template or product variant ids (it can be defined in the Website Settings)
- contents: list of value pairs of product template (or product variant) id and product quantity
- value: the total amount of products in the Cart
- currency: the default pricelist currency
- num_items: number of product lines in the Cart

The event AddPaymentInfo
The event AddPaymentInfo code activates when payment information is added and a visitor clicks the Next button on the billing address webpage.
The following event properties will be sent:
- content_type: product
- content_ids: list of product template or product variant ids (it can be defined in the Website Settings)
- contents: list of value pairs of product template (or product variant) id and product quantity
- value: the order total amount
- currency: the order pricelist currency

The event Purchase
The event Purchase code will be added on the Confirmation page. It will be activated on the visiting the final page of the checkout process.
The following event properties will be sent:
- content_type: product
- content_ids: list of product template or product variant ids (it can be defined in the Website Settings)
- contents: list of value pairs of product template (or product variant) id and ordered quantity
- num_items: number of product lines in the Sale Order
- value: the total amount of a Sale Order
- currency: the Sale Order pricelist currency

Copyright © Garazd Creation
-
16.0.1.0.0 2022-11-04Migration from 15.0.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module