TikTok Pixel Integration with the Consentmo GDPR app
The TikTok Pixel is a JavaScript code that tracks user actions on your website, such as adding to cart or placing an order. These actions are stored in your TikTok Ads account for building custom audiences, optimizing ads, and measuring campaign performance.
How It Works
When the Analytics and Marketing cookie groups are blocked or the customer opts out, the TikTok Pixel script will not execute.
Automatic integration
Step 1: Setup the TikTok pixel ID
- Go to the homepage of your TikTok Ads Manager account and on the "Tools" tab located in the top menu.
- An additional drop-down menu will appear, locate and click on the **"Events" **button.
- In the Events Manager, navigate to the section of the page titled "Datasets overview" and click on your current pixel.
- In your current Pixel, navigate to the section of the page titled "ID" **and copy your **Pixel ID.
- Navigate to Consentmo's settings and click on the Integrations tab > TikTok Pixel section
- Enable consentmo's integration
- Paste the Pixel ID in the input field
- **Save **the changes
The final result should look like this:
Manual Integration
- Open Shopify Admin
- Click on Online Store link in the left menubar.
- Click on the Actions dropdown button and select Edit Code from there.
- Create a new liquid file in the **Snippets **section of the theme files, called
ttp-integration-script
- After that download and copy the content of the integration script provided below and paste it in the newly created Snippet file:
- A new page will open with a list of files on the left side of the screen. Open the
theme.liquid
file.
- Locate the opening
<head>
add the following line of code:
{% render 'ttp-integration-script' %}
A reference on the process can also be checked here:
Need help?
In case you need any assistance, please make sure to reach out to our support team via live chat or at support@consentmo.com
Updated on: 05/06/2025
Thank you!