How to Add a Constant Variable for Tiktok Pixel ID in Google Tag Manager | Scribe

    How to Add a Constant Variable for Tiktok Pixel ID in Google Tag Manager

    • |
    • 14 steps |
    • 3 minutes
    information ordinal icon
    VISION To show how to add a constant variable for Tiktok Pixel ID in Google Tag Manager
    information ordinal icon
    RESOURCES Admin Access to Google Tag Manager Account Access to Tiktok Ad account or Pixel ID [Watch this Loom Video Walkthrough](https://www.loom.com/share/ca400982026e48eb84c4156625070cd1)
    alert ordinal icon
    NOTE You can use this Constant Variable when sending different conversion events on the Tiktok Pixel when you are using the Tiktok Pixel Community Template so you don't have to keep on copy pasting it every time in Google Tag Manager when you are setting up Tiktok Event tracking
    information ordinal icon
    PROCEDURE
    1
    Log-in to client's Google Tag Manager account[https://tagmanager.google.com](https://tagmanager.google.com/#/container/accounts/6214107821/containers/175789491/workspaces/3)
    2
    Click on "Variables"
    3
    Click "New" to add a new variable
    4
    Double-click "Untitled Variable"
    5
    Type Tiktok Pixel ID on the variable name field then click on Variable Configuration
    6
    Click the search field icon on the top right corner
    7
    Search for "Constant" and select from the dropdown
    8
    Double-click this text field.
    9
    Go to client's Tiktok Ad account. Click "Tools"
    10
    Click "Events"
    11
    Click "Manage" under Web events
    12
    Copy the Tiktok Pixel ID
    13
    Paste the Pixel ID and click "Save"
    14
    It will be saved under User-defined variables.