TikTok Pixel Integration with the Consentmo GDPR app
The TikTok Pixel is a piece of Javascript code you install on your website. With this code on your website, TikTok automatically captures user actions on your website and can track events such as adding to cart or placing an order. These events are stored in your TikTok Ads account, where they can be referenced to build custom audiences, optimize ad delivery, and inform attribution to measure campaign performance.
The TikTok Pixel can be integrated with Consentmo either automatically or manually.
Note: The automatic integration is available only for the Paid plans users (Standard, Plus and Enterprise).
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.
![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/tiktok-pixel-events-manager_1h30u4u.png)
In your current Pixel, navigate to the section of the page titled "ID" and copy your Pixel ID.
![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/tiktok-pixel-id_1p7v8ex.png)
Navigate to Consentmo's settings and click on the Pricing & Integrations tab > Integrations > Services Tracking > TikTok Pixel integration page
Paste the ID in the field
Save the changes
Enable consentmo's integration by clicking on the button Turn on.
The final result should look like this:
![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/tiktok-pixel-final-result_1b0pxpj.png)
Open Shopify Admin.
Click on Online Store link in the left menubar.
Click on the Actions dropdown button and select Edit Code from there.
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:
Note: The line of code should be placed after the opening <head> tag and before the TikTok Pixel script as the integration script needs to be executed before the TikTok one.
Create a new liquid file in the Snippets section of the theme files, called ttp-integration-script
After that copy the content of the integration script provided below and paste it in the newly created Snippet file:
Download TikTok Pixel Integration script
The final result should look like this:
NOTE: Make sure to remove the added code before deleting the app. This way, no snippets of code will be left in your theme. For more information on what you should be aware of when deleting our app check this article of our FAQ page.
In need of any assistance with the setup, do not hesitate to drop us a line at support@consentmo.com or via our Live chat.
How to integrate TikTok Pixel with Consentmo app?
The TikTok Pixel can be integrated with Consentmo either automatically or manually.
Automatic integration:
Note: The automatic integration is available only for the Paid plans users (Standard, Plus and Enterprise).
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.
![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/tiktok-pixel-events-manager_1h30u4u.png)
In your current Pixel, navigate to the section of the page titled "ID" and copy your Pixel ID.
![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/tiktok-pixel-id_1p7v8ex.png)
Navigate to Consentmo's settings and click on the Pricing & Integrations tab > Integrations > Services Tracking > TikTok Pixel integration page
Paste the ID in the field
Save the changes
Step 2: Enable the TikTok Pixel integration
Enable consentmo's integration by clicking on the button Turn on.
The final result should look like this:
![](https://storage.crisp.chat/users/helpdesk/website/b07f7406951a4000/tiktok-pixel-final-result_1b0pxpj.png)
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.
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' %}
Note: The line of code should be placed after the opening <head> tag and before the TikTok Pixel script as the integration script needs to be executed before the TikTok one.
Create a new liquid file in the Snippets section of the theme files, called ttp-integration-script
After that copy the content of the integration script provided below and paste it in the newly created Snippet file:
Download TikTok Pixel Integration script
The final result should look like this:
![](https://gdprstorage.b-cdn.net/faq/gif/ttp-manual-integration-preview.gif)
NOTE: Make sure to remove the added code before deleting the app. This way, no snippets of code will be left in your theme. For more information on what you should be aware of when deleting our app check this article of our FAQ page.
In need of any assistance with the setup, do not hesitate to drop us a line at support@consentmo.com or via our Live chat.
Updated on: 27/08/2024
Thank you!