Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Terrabit TikTok Pixel v 18.0
  4. Sales Conditions FAQ

Terrabit TikTok Pixel

by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.ro
Odoo

$ 63.55

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Website (website)
• Invoicing (account)
• Discuss (mail)
Community Apps Dependencies Show
Terrabit Website Sale Tracking Base
Lines of code 772
Technical Name terrabit_tiktok_pixel
LicenseOPL-1
Websitehttps://www.terrabit.ro
You bought this module and need support? Click here!
  • Description
  • License

Terrabit TikTok Pixel

Beta terrabit-ro/bitshop

TikTok Pixel & Conversion API (CAPI) Integration for Odoo 18

Integrate TikTok Pixel and TikTok Conversion API (CAPI) into your Odoo 18 Website to track visitor actions and optimize your ad campaigns with 100% data accuracy.

#### Key Features:
- **Hybrid Tracking (Pixel + CAPI)**: Combines client-side browser tracking with server-side events for maximum accuracy, bypassing AdBlockers and browser tracking limitations.
- **Advanced Matching**: Automatically hashes and sends user data (Email, Phone, External ID) using SHA-256 to increase match rates and improve ad performance.
- **Centralized Product Identification**: Uses global settings for **Product Variant ID**, **Product Template ID**, or **Internal Reference (SKU)** to match your TikTok Catalog.
- **Standard Events Tracking (100% Coverage)**:
  - `PageView`: Tracks every page visit.
  - `ViewContent`: Triggered when a product or category list is viewed.
  - `AddToCart`: Tracks when products are added to the cart.
  - `RemoveFromCart`: Tracks when products are removed from the cart.
  - `Search`: Tracks product searches with the search term.
  - `InitiateCheckout`: Captured during the checkout process.
  - `AddPaymentInfo`: Tracks when a payment method is selected.
  - `CompletePayment`: Sent via CAPI on order confirmation and via Pixel.
  - `CompleteRegistration`: Tracks new user registrations.
  - `Login`: Tracks user login events.
  - `AddToWishlist`: Tracks when products are added to the wishlist.
- **Lead Generation Tracking**:
  - **Frontend**: Automatically tracks clicks on phone numbers and website form submissions.
  - **Backend (CAPI)**: Real-time tracking of new leads created via CRM/Contact forms.
- **Tracking Base Dependency**: Leverages `terrabit_website_sale_tracking_base` for global deduplication and Odoo 18 route normalization.
- **Asynchronous CAPI**: Server-side events are sent in background threads, ensuring zero impact on website performance.

#### Configuration:
1. Go to **Website > Configuration > Settings**.
2. Enable **TikTok Pixel** in the Google Analytics section.
3. Enter your **TikTok Pixel ID** and **Conversion API Token**.
4. Manage **Item ID Type** and **Exclude Delivery** under the **SEO** section (Global Tracking Settings).

#### Technical Implementation:
The module extends the `terrabit_website_sale_tracking_base` event bus for frontend events and extends `sale.order` and `crm.lead` models for server-side events.

#### Support:
For support and customizations, please contact **Terrabit** at [https://www.terrabit.ro](https://www.terrabit.ro).

Table of contents

  • Usage
  • Bug Tracker
  • Credits
    • Authors
    • Maintainers

Usage

How to Use TikTok Pixel & Conversion API (CAPI) Integration

Follow these steps to configure and use the TikTok Pixel and CAPI integration in your Odoo 18 website.

#### 1. Activate TikTok Pixel in Settings
1. Go to **Website > Configuration > Settings**.
2. Scroll down to the **Google Analytics** section.
3. Check the **TikTok Pixel** option to enable it.
4. Enter your **TikTok Pixel ID** in the field provided.
5. If you want to use server-side tracking (CAPI), enter your **TikTok Conversion API Token**. This token can be generated from your TikTok Ads Manager.

#### 2. Configure Item Identification Type
You can choose which product identifier is sent to TikTok to match your Product Catalog. This is critical for Video Shopping Ads (VSA).
1. Under the TikTok Pixel settings, find the **Item ID Type** dropdown.
2. Select one of the following:
   - **Product Variant ID** (Default): Uses the database ID of the product variant.
   - **Product Template ID**: Uses the database ID of the product template.
   - **Internal Reference (SKU)**: Uses the `default_code` field from the product. If a product doesn't have an SKU, the database ID will be used as a fallback.

#### 3. Exclude Delivery from Conversion Value
If you want to track only the product value and exclude shipping costs from your ad performance reports:
1. Enable the **Exclude Delivery** toggle in the TikTok Pixel settings.
2. When this is active, the system automatically subtracts the shipping cost from the `value` parameter sent to TikTok.

#### 4. Automatic Event Tracking
Once configured, the module automatically tracks the following events without any additional setup:
- **Product Views**: Tracks every product or category page visit.
- **Add to Cart / Remove from Cart**: Tracks cart interactions in real-time.
- **Search**: Captures search terms used on the website.
- **Checkout Process**: Tracks shipping and payment information steps.
- **Purchase (CompletePayment)**:
  - **Browser (Pixel)**: Sent when the customer reaches the thank you page.
  - **Server (CAPI)**: Sent automatically when the Sale Order is confirmed in Odoo backend.

#### 5. Advanced Matching (User Identification)
The module automatically hashes (SHA-256) and sends the user's email, phone number, and external ID (database ID) when the user is logged in. This significantly improves the **Match Rate** of your events in TikTok Ads Manager.

#### 6. Lead Generation
The module tracks leads in two ways:
- **Button Clicks**: Automatically tracks clicks on phone number links (tel:).
- **Form Submissions**: Tracks when a website form (like the "Contact Us" page) is submitted.
- **CRM Leads**: When a new lead is created in the Odoo CRM, a `Lead` event is sent via CAPI to TikTok.

#### 7. Verifying the Installation
Use the **TikTok Pixel Helper** Chrome extension to verify that events are being sent correctly while navigating your website. For CAPI events, check the **Events Manager** in your TikTok Ads account.

Bug Tracker

Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Terrabit
  • Dorin Hongu

Maintainers

This module is part of the terrabit-ro/bitshop project on GitHub.

You are welcome to contribute.

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with