Integrate a powerful business tool — TikTok Pixel with your website to measure customer actions and get analytics to improve your TikTok Ads
| Availability |
Odoo Online
Odoo.sh
On Premise
|
|---|---|
| Compatibility |
Community
Enterprise
|
| Technical Name | website_sale_tiktok_pixel |
| Version | 20.0.1.0.0 |
| License | OPL-1 |
| Category | |
| Support | Free 60 days support and 360 days bug-fixing |
Use Case
Jorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Forem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Dorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.
It is a long established fact that a reader will be distracted by the readable content of a page
Korem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Korem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.
Odoo App Installation
Upload modules
Upload modules from the ZIP archive to your Odoo hosting, or a GitHub repository connected there.
Place the unzipped modules in your custom add-on directory and restart the Odoo system service.
Update App List
After restarting, activate the Developer Mode, and go to the Apps menu.
Click on Update Apps List to fetch the new modules in the list.
Activate the App
Install the new module, finding it by name and clicking on the Activate button.
* If you don't see the module, try to remove the default Apps filter from the search bar.
Configuration
Follow the instructions in the module description to complete the installation process and start using the app.
Manual
Tracking Events
The module supports tracking the following events
Search Products
Searching via global site search or within the product catalog
View Product List
Viewing the product list after opening the catalog, including search results
View Product
Viewing a product page
Add to Wishlist
Adding a product to the wishlist from any available location: catalog, product page, and cart
Add to Cart
Adding a product to the cart from any available location: catalog, product page, and wishlist
Begin Checkout
Opening the first step page of the checkout process
Add Payment Info
Proceeding from payment information to payment
Purchase
Successful purchase completion and opening the sales order confirmation page
Getting a Pixel ID
Before setting up activity tracking on your Odoo website, get a pixel ID by following the steps below.
-
01Log in to your TikTok Ads Manager account
-
02Go to the Tools — Events Manager — Data Sources menu and click Connect Data Source
-
03Select Web as the data source
-
04Paste your Odoo website URL into the corresponding field or skip this step
-
05Select Manual Setup as the connection method
-
06Select TikTok Pixel as the manual connection method
-
07Name your pixel and skip the remaining setup steps by clicking Next
-
08Open the created data source and copy the Pixel ID
Tracking Activation
After installing the module, go to the website settings and, in the Enhanced Website Tracking section, enable the Activate Tracking option. To test your website tracking and view tracked events in the browser console, also temporarily activate the Debug Logging feature.
Tracking Service Configuration
The module tracks e-commerce events on an Odoo website using a tracking service. It sends tracking events to TikTok Events Manager and allows you to log them internally in Odoo for website analysis and monitoring. Add and configure the tracking service for your Odoo website.
Adding a Tracking Service
Go to the Website — Configuration — Tracking — Services menu and click New to add a new tracking service for your Odoo website.
Firstly, fill in the following fields:
- Specify a Website (if multiple websites are used)
- Select TikTok Pixel as the service Type
- Paste your Pixel ID into the Key field
Then select the product identifier type and the product category to send to TikTok Ads Manager.
If products have attributes and variants, choose Product Variant ID in the Item Type field; if not, select Product Template ID.
Select the desired Category Type: an eCommerce Public Category or an internal Product Category.
The next option is the Lead Value on the Options tab. Set the monetary value of lead generation according to your estimates.
Tracking Logs
The solution includes an internal logging feature. To activate it, enable Internal Logs on the Options tab of the tracking service.
To view logs, go to the Website – Configuration – Tracking – Logs menu or click the Logs button at the top of the form.
The list of internal tracking events:
Advanced Matching
Advanced Matching helps optimize your advertisements by providing TikTok Ads Manager with additional user data. Open the Advanced Matching tab and click Enable allowed, which enables all available options for this tracking service.
Checking the Hashed checkbox next to the Email and Phone options indicates that customer information is protected using hashing, complying with TikTok requirements.
Customer data source
Use the Sale Order Partner value for the Customer Data Source, as it provides more user details in case you allow guest checkouts without registration.
Advanced Settings
The module includes additional settings available in Developer Mode.
Product Identifier
The module uses the Product ID field as a unique product identifier. To use a different value, specify another product field containing the desired identifier on the Technical tab:
Purchase on Portal
To track portal purchases, enable the Track Purchase on Portal option:
Exclude Delivery
The next available setting for tracking services is Exclude Delivery. When enabled, the service excludes delivery lines from sales orders in tracking data transmissions:
Exclude Rewards
To exclude reward order lines from tracking data, enable the Exclude Reward option:
Add to Cart
By default, the module tracks the actual addition of a product to the cart. To track the event upon clicking the button without waiting for the actual addition to the cart, perform the following steps:
- Navigate to Website — Configuration — Websites
- Open the website on the Enhanced Tracking tab
- Enable the Add to Cart on Click option
Purchase
To track purchases only after a successful payment transaction, enable the Track Confirmed Purchases only option:
If business logic considers an order with a Pending payment status as a purchase, enable the Track Pending Purchases too option as well.
Testing
You can test the TikTok Pixel tracking script integration using test events in TikTok Events Manager or via a browser extension.
Testing via Test Events
To verify pixel operation in TikTok Events Manager:
-
01Open your data source on the Test Events tab
-
02Paste your Odoo website URL into the field and click Open Website
-
03Perform several actions on your website, e.g., open a product list or add an item to the cart
-
04Return to TikTok Events Manager and check for the logged test events in the list
Testing via Browser Extension
The TikTok Pixel Helper browser extension allows you to verify that the pixel script is properly installed on your website and transmitting tracking events. You can get the extension via the link: https://chromewebstore.google.com/detail/tiktok-pixel-helper/aelgobmabdmlfmiblddjfnjodalhidnn.
Changelog
16.0.1.2.2 2024-10-29
- Add the "Event ID" parameter.
16.0.1.2.1 2024-10-23
- Improve the logic to check available user tracking fields to activate.
16.0.1.2.0 2024-09-03
- Improve user data processing.
- Extend product parameters to send.
16.0.1.1.2 2024-04-06
- Improve the settings view.
16.0.1.1.1 2024-02-13
- Refactor code.
16.0.1.1.0 2023-12-22
- Fix linter warnings.
- Improve the advanced matching.
16.0.1.0.0 2023-08-09
- Migrate from 15.0.
15.0.1.1.1 2024-04-06
- Improve the settings view.
15.0.1.1.0 2024-02-07
- Fix linter warnings.
- Improve the advanced matching.
15.0.1.0.0 2023-08-10
- Migration from 14.0.
14.0.1.1.0 2024-02-06
- Fix linter warnings.
- Improve the advanced matching.
14.0.1.0.0 2023-07-15
- Init version.
17.0.1.1.0 2024-10-30
- Add the "Event ID" parameter.
- Improve the logic to check available user tracking fields to activate.
17.0.1.0.0 2024-09-03
- Migration from 16.0.
18.0.1.2.0 2026-02-19
- Implement the "Exclude Delivery" option for order tracking data.
- Implement the option to specify different product identifiers instead of the product "id".
- Add the "order_id" value to the "Purchase" event.
18.0.1.1.0 2025-01-14
- Improve the logic to check available user tracking fields to activate.
18.0.1.0.0 2024-10-11
- Migration from 17.0.
19.0.1.1.0 2026-02-19
- Implement the "Exclude Delivery" option for order tracking data.
- Implement the option to specify different product identifiers instead of the product "id".
- Add the "order_id" value to the "Purchase" event.
19.0.1.0.0 2025-10-23
- Migration from 18.0.
20.0.1.0.0 2026-09-28
- Migration from 19.0.