Articles on: Integrations

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.

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.



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 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:



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:



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

Was this article helpful?

Share your feedback

Cancel

Thank you!