# Installation

### TagFly Google Tag Tracking GTM Installation

⭐️ Installation

Step 1: Log into your Shopify account in App Store. Click the ADD APP button to buy the app for your store.&#x20;

Step 2: You will then be redirected to your admin page and start installing.

Step 3: After press Install app, the app will be automatically installed and take you to the configuration tab, enter GTM Container ID, Analytics Tracking ID and choose tracking options for the app to work.&#x20;


# Get your GTM container ID

The first step to start tracking your data

{% hint style="info" %}
If you already have a Google Tag Manager account, skip to Step 2 to connect it with TagFly.
{% endhint %}

## Step 1: Create a new GTM account

* Go to [Google Tag Manager](https://tagmanager.google.com/) and follow the setup instructions to create your account.

**#Tutorial video**

{% embed url="<https://app.arcade.software/share/b9cYv7AlhOoU49boREkZ>" %}

## Step 2: Find & Connect Your GTM Container ID

* Open [Google Tag Manager](https://tagmanager.google.com/).
* Locate your **Container ID**—it should look like `GTM-XXXXXXX`. You can find it in these places:

<figure><img src="/files/NqL4A5xNdT0USJ444keA" alt=""><figcaption><p>On the homepage interface</p></figcaption></figure>

<figure><img src="/files/i1wKO7JZHJP1dSIfyeOo" alt=""><figcaption><p>In the workspace interface</p></figcaption></figure>

* Copy the Container ID and paste it into the TagFly app. Make sure it starts with "**GTM-**".

<figure><img src="/files/nXp0sfc3nIumfSZKV0pp" alt=""><figcaption></figcaption></figure>

**That’s it! Your GTM is now well connected to TagFly. 🎉**


# How to import pre-built GTM container

Follow these simple steps to import a pre-built Google Tag Manager (GTM) container for client-side tracking.

## **Step 1: Download the GTM Container**

Click **Download** to get the pre-built container file (.json) in your destination’s settings.

<figure><img src="/files/bTQyPQbcV4xVwd5CEYia" alt=""><figcaption></figcaption></figure>

## Step 2: Import the GTM Container into Google Tag Manager

**#Tutorial video**

{% embed url="<https://app.arcade.software/share/n6nSBuveXX9i4V6SHwjh>" %}

**#Step-by-step guide**

1. In your Google Tag Web Manager container > click Admin > then click Import Container

<figure><img src="/files/0awKyqRMGaLdQKfJlVX3" alt=""><figcaption></figcaption></figure>

2. Click Choose Container File and select the .json file you downloaded.

<figure><img src="/files/7gtXWb7SFAgqRtg7JukT" alt=""><figcaption></figcaption></figure>

3. Select an existing Workspace or create a new one.

<figure><img src="/files/apELMjMkfx9yUj4EvdAR" alt=""><figcaption></figcaption></figure>

4. <mark style="color:red;">**IMPORTANT**</mark>: Choose '*Merge*' then '*Overwrite conflicting tags, triggers and variables*'

<figure><img src="/files/gxWNy4K7e7D0Z6eP8j9K" alt=""><figcaption></figcaption></figure>

5. Select ***Confirm*** to import the tags. Now, the tags, triggers, and variables you imported will appear in your Workspace Changes! 🎉
6. To publish the changes, click **Submit** in Google Tag Manager > Then click **Publish** to make the setup live

<figure><img src="/files/O0dClalNNSL5jAFEpQqc" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ULHscFhR7E8aWNw9F6By" alt=""><figcaption></figcaption></figure>

✅ **Your GTM container is now set up and ready to use!** 🚀


# Import pre-built container

Follow these steps to download and import web containers if your destination has this step.

If the destination options you've set up include events that track clients through the browser, you will encounter a Web Container Setup step for your destination. To finalize your tracking, you must download these tags and import them into Google Tag Manager (GTM).

### Step 1 - Download your pre-built container <a href="#step-1-download-your-pre-built-container" id="step-1-download-your-pre-built-container"></a>

Click the *Download* to download the file.

<figure><img src="/files/SqMsoWZ1qBpX3Go9nYHp" alt=""><figcaption></figcaption></figure>

### Step 2 - Import the container into your GTM container <a href="#step-2-import-the-container-into-your-gtm-container" id="step-2-import-the-container-into-your-gtm-container"></a>

1. Go to your Google Tag Web Manager container > click *Admin* > then click *Import Container*

<figure><img src="/files/UM8jVhT2PptiUfcIsI8F" alt=""><figcaption></figcaption></figure>

2. Click '*Choose Container file*' and select the *.json* file you downloaded from the TagFly app

<figure><img src="/files/MVLXw54QIcyMbfOxkIJo" alt=""><figcaption></figcaption></figure>

3. Choose an existing workspace or create a new workspace.

<figure><img src="/files/DnJ4UkER0TAdcnOwOESq" alt=""><figcaption></figcaption></figure>

4. **IMPORTANT** Choose '*Merge*' then '*Overwrite conflicting tags, triggers and variables*'

<figure><img src="/files/OKATW6HY6zhKyPD7uchD" alt=""><figcaption></figcaption></figure>

5. Select *Confirm* to import the tags.&#x20;

Now, the tags, triggers, and variables you imported will appear in your Workspace Changes! 🎉

### Step 3 - Publish the changes in your GTM container

In your *workspace*, select *Submit*

<figure><img src="/files/SlGk5zHZumDQ0afn4HKa" alt=""><figcaption></figcaption></figure>

Select *Publish*

<figure><img src="/files/vxCI77RWVjjuEJuvcgLj" alt=""><figcaption></figcaption></figure>


# Get GTM container ID

#### Tutorial video:

&#x20;

{% embed url="<https://youtu.be/3o4p2Fi4LzY>" %}

#### **Create a new Google Tag Manager account or get your Container ID for your existing account at** [**https://tagmanager.google.com** ](https://tagmanager.google.com/)

**Create a new account**

Step 1: Choose Create Account

<figure><img src="/files/dS9s2v1XaDEQvxZkRKeJ" alt=""><figcaption></figcaption></figure>

**Step 2: Enter account information and choose Web for target platform**

<figure><img src="/files/HGP3hMXqUEInkd4QiRa6" alt=""><figcaption></figcaption></figure>

&#x20;

**Step 3: Click Create, Yes with terms and conditions and get the container ID**&#x20;

<figure><img src="/files/rra9TSjkHjvfT2S2u6YF" alt=""><figcaption></figcaption></figure>

&#x20;

**Copy and paste Container ID in the app, please note that it must begin with GTM-**


# How to set up your cookie consent banner

TagFly seamlessly integrates with various cookie banners and cookie consent apps to comply with regulations such as GDPR and CCPA.

If you're unsure how to set up a cookie consent banner that works smoothly with TagFly, follow this guide to take a step closer to a consent-aware journey.

## Use Shopify Consent Provider Apps

TagFly is compatible with most Shopify cookie banners. If you're in the process of choosing a solution, we recommend: [Consentik GDPR Cookies Banner](https://apps.shopify.com/eu-cookies-notification?utm_campaign=crs\&utm_source=tagfly\&utm_medium=docs-setup\&sf_type=partner\&sf_detail=tagfly)

<figure><img src="/files/xwD0sAYQ9MHJ75t5zs3H" alt=""><figcaption></figcaption></figure>

This app helps manage cookie privacy, ensuring compliance with GDPR and other regulations like CCPA and LGPD. It offers customizable cookie banners, multi-language support, automatic script blocking, and more.

[View on Shopify App Store](https://apps.shopify.com/eu-cookies-notification?utm_campaign=crs\&utm_source=tagfly\&utm_medium=docs-setup\&sf_type=partner\&sf_detail=tagfly)

## Use Shopify's default cookie banner

If you prefer a simpler option, you can use Shopify's default cookie banner. Here’s how to enable it:

1. In your Shopify admin, go to Settings

   <figure><img src="/files/ZIqYES1sRxYic45Wxy8r" alt=""><figcaption></figcaption></figure>
2. Navigate to Customer Privacy > Cookie banner

   <figure><img src="/files/tfmqZNKv3YaBYes5dtrU" alt=""><figcaption></figcaption></figure>
3. Enable the cookie banner for your store.

   <figure><img src="/files/BwEZcDtznXZP3GEhThBz" alt=""><figcaption></figcaption></figure>


# How to check if Consent Mode is active in TagFly

If you are unsure whether your consent mode is working properly, here’s our guide for you to test it. You can use either of the two provided options to check your consent mode.

{% hint style="warning" %}
Note: Consent mode is only active in regions under privacy regulations
{% endhint %}

## Use Tag Assistant

Go to <https://tagassistant.google.com/>,  you can debug the consent states for any sites running Google Tags.

After adding the domain you want to debug, select a Tag ID from the top of Tag Assistant.

<figure><img src="/files/8rACy6juBv24uy2bgXQP" alt=""><figcaption></figcaption></figure>

Then, choose an event from the left navigation and click the "Consent" tab. This will show you the state of different consent signals at the time of the event.

Check if all default consents are in <mark style="color:red;">D</mark><mark style="color:red;">**enied**</mark> state

<figure><img src="/files/RLzl3W9fj6GQ27eAKdz1" alt=""><figcaption></figcaption></figure>

Next, verify the consent status after the user grants permission by accepting cookies.

<figure><img src="/files/JggkC2sDjtNJhThxe9GR" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Note that the <mark style="color:green;">Granted</mark> status depends on the specific permissions the shoppers agree to give us.
{% endhint %}

## Use Network tab

To open the **network tab**, you can use **right-click** > **Inspect** > **Select the Network tab**

Filter for `gcs` to find all requests containing this parameter. Look for the request named `collect` that includes the `gcs` parameter.

After clicking on the request, scroll through the request payload parameters to locate the `gcs` value in the list:

<figure><img src="/files/tUtYGt2tXhXxNW0sMMrI" alt=""><figcaption></figcaption></figure>

In the original version of Consent Mode, when examining network requests, look for a parameter called `&gcs`. This parameter has a value formatted as `G1xy`.

`x` stands for consent to Google Ads cookies and is either `1` (granted) or `0` (denied).

`y` stands for consent to Google Analytics cookies and is either `1` (granted) or `0` (denied).

<table><thead><tr><th width="126">Value</th><th>Description</th></tr></thead><tbody><tr><td>G100</td><td>No consent has been granted</td></tr><tr><td>G110</td><td>Google Ads has consent, Google Analytics 4 does not</td></tr><tr><td>G101</td><td>Google Analytics has consent, Google Ads does not</td></tr><tr><td>G111</td><td>Both Google Ads and Google Analytics have consent</td></tr></tbody></table>


# Set Consent Requirements for Client-Side Tags

Discover how to configure your GTM client-side tags to comply with consent rules

## Enable GTM Consent Overview

### Container settings

* Start from your Google Tag Manager homepage and make sure you're in the "Admin" tab.
* Go to the "Container" section on the Admin page and select "Container Settings."

<figure><img src="/files/fqbdEQYOPMT0eDOfB66a" alt=""><figcaption></figcaption></figure>

* In the Container Settings of your Google Tag Manager, proceed to the "Additional Settings" section on the page.
  * Check the box labeled "Enable consent overview."
  * &#x20;Please make sure to save your changes by clicking the "Save" button located in the upper right corner of the page.

<figure><img src="/files/dM16CcwDx5TmzHCpfW8m" alt=""><figcaption></figcaption></figure>

## Assign Consent Requirements

* Start from your Google Tag Manager homepage and select the "Tags" tab.
* Find the shield icon in the upper right corner of the Tags section and click on it.

<figure><img src="/files/5izCVazu8gB4ICmrFBXw" alt=""><figcaption></figcaption></figure>

* Choose all the tags you want, then click the shield icon located in the upper right corner of the page.

<figure><img src="/files/29cvhCniniksdEDm0l2v" alt=""><figcaption></figcaption></figure>

* Decide if the tags need consent. If consent is required, specify the type of consent necessary for the tags to trigger.
* Ensure that you save any changes by clicking the "Save" button located in the upper right corner of the page.

<figure><img src="/files/UDLDQLmGs5EbTHxESvXv" alt=""><figcaption></figcaption></figure>

## Publish

* Once you have completed all your desired changes, go to the "Workspace" tab in Google Tag Manager.
* Next, click the "Submit" button located in the upper right corner of the page.
  * A confirmation window will appear; make sure to click the "Publish" button in the upper right corner of the window.

<figure><img src="/files/crcXOlLEFkuFqX8eOf6q" alt=""><figcaption></figcaption></figure>


# TagFly Google Ads Conversion Tracking Setup Guide

Learn how to connect and track Google Ads conversions in just a few steps

## Connect your Google Account & Customer ID

* Sign in with your Google account and authorize access to the TagFly app

<figure><img src="/files/XWPA02kEHvsHQuocDkNR" alt=""><figcaption></figcaption></figure>

* From the dropdown, select the **Google Ads Customer ID** you want to connect.

<figure><img src="/files/gWWc4PeZDrDuBkYZOdDH" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**If the dropdown shows "No data"**:&#x20;

This means you don’t have an active Google Ads account. Please go to [Google Ads](https://ads.google.com) to create one before continuing.
{% endhint %}

## Choose Conversion Value

Decide what to include in your conversion value calculation:

* **Shipping** – Adds shipping fees to the value.
* **Taxes** – Adds tax fees to the value.
* **Discount** – Uses the final amount after discounts.

{% hint style="info" %}
If an option is not selected, its fee will be excluded from the conversion value.
{% endhint %}

<figure><img src="/files/aAA9cDShVbH549mCwofN" alt=""><figcaption></figcaption></figure>

**Example:**

* **Total Price:** $100 (includes $10 shipping, $5 tax, and a $15 discount applied)

| Selected Options                       | Formula                | Conversion Value  |
| -------------------------------------- | ---------------------- | ----------------- |
| All selected (Shipping, Tax, Discount) | Total Price            | $100              |
| Shipping not selected                  | Total Price – Shipping | $100 – $10 = $90  |
| Taxes not selected                     | Total Price – Taxes    | $100 – $5 = $95   |
| Discount not selected                  | Total Price + Discount | $100 + $15 = $115 |

## **Select Conversion Events to Track**

Choose the events (e.g., purchase, add to cart) you want to track — TagFly will automatically create the corresponding conversion actions in Google Ads.

<figure><img src="/files/XRSfOgsQOD0rFTuqJdO7" alt=""><figcaption><p>Choose events you want to track via TagFly's server-side</p></figcaption></figure>

{% hint style="info" %}
**If an error screen appears, it may be caused by one of the following:**

* The connected account must be a standard Google Ads account (not created via MCC).
* Make sure you’ve accepted **all required permissions** when connecting your Google account.
* Your account must have *Standard or Admin-level permissions.*
* If a conversion action was **previously created and deleted** using TagFly, Google may block its recreation. In this case, please add it back by retrieving the conversion from the trash: <https://prnt.sc/ocxtQHpZsefW>
  {% endhint %}

<figure><img src="/files/N8MNsvGhtorzoNX4V4h9" alt=""><figcaption><p>Error screen while creating conversion actions</p></figcaption></figure>

✅ Once you see a **Conversion Action CTID**, your conversion events have been created successfully in your Google Ads account.

<figure><img src="/files/5CZZnxmNzag696cONMXe" alt=""><figcaption></figcaption></figure>

If you have any issues setting up Google Ads, feel free to contact us anytime; we're always here to assist you 24/7!

## Choose Transaction Identifier

Select how each order will be identified in your reports:

* **Order ID**: The unique ID of the order in Shopify (e.g., `987654321`).
* **Order Name**: The name of the order (e.g., `#1234`).
* **Order Number**: The numerical order reference (e.g., `1234`).

<figure><img src="/files/0umHUf4cauVsaGXoyEA5" alt=""><figcaption></figcaption></figure>

## **Choose Product Identifier**

Finally, decide how products in the cart should be tracked:

* **Product ID** – The main identifier for the product.
* **Variant ID** – Tracks specific product variations instead of general product IDs.

<figure><img src="/files/3GUwpvaaVlKUx0KlfEVu" alt=""><figcaption></figcaption></figure>

🎉You’re all set! Your Google Ads destination is now successfully connected.

{% hint style="info" %}
**Note**: Google Ads may take **3 to 6 hours** to review and activate conversion tracking. Please wait before launching ads to ensure all events are tracked correctly.
{% endhint %}

That's it! If you have any concerns with the app setup, we’re here to assist you every step of the way. Feel free to contact us through the **in-app chat** or [**schedule a meeting**](https://xipatcorp.sg.larksuite.com/scheduler/bb6af6fed45399f1) with our team.


# How to find Google Ads Account ID

Discover how to find your Google Ads Account ID with ease

## Step 1: Navigate to your Google Ads Account settings Page

Access the [Google Ads Accounts](https://ads.google.com/intl/en_PH/home/)

## Step 2: Copy your Google Ads Account ID

Go to the upper-right corner of the homepage, where you will find your Google Ads Account ID

<figure><img src="/files/BekTNeRz4Rpg1CaRODkg" alt=""><figcaption></figcaption></figure>

## Step 3: Paste it into TagFly

Be sure to **remove the dashes** when entering your Google Ads server-side destination

<figure><img src="/files/6sI85GtIh7LuUhRu0crU" alt=""><figcaption></figcaption></figure>


# Get tracking ID

### How to get Analytics Tracking ID

#### Tutorial video:&#x20;

{% embed url="<https://youtu.be/JvwwblDqogY>" %}

Create a new Analytics account, property and view to get Analytics Tracking ID at <https://analytics.google.com> or get tracking ID for your current account at <https://analytics.google.com/analytics/web/#management/Settings>

#### Create a new account

**Step 1: Account setup: enter account name**&#x20;

&#x20;

<figure><img src="/files/Hjt03dx7WVttCJD0cDh6" alt=""><figcaption></figcaption></figure>

**Step 2: Property setup**&#x20;

<figure><img src="/files/Tgd4tf9rsKGOWrbpSX3D" alt=""><figcaption></figcaption></figure>

Enter your property name and address<br>

**Step 3: About your business**

Enter your business information

<figure><img src="/files/AFg4M6oTan2WEVXHARbJ" alt=""><figcaption></figcaption></figure>

Click Create, Accept terms and set up data stream for web&#x20;

<figure><img src="/files/LDcpdn78MbrDHSPxLWbK" alt=""><figcaption></figcaption></figure>

&#x20;

Enter your website URL, name your stream and click Create stream

<figure><img src="/files/9SkhgUiNxcHTuyu8AQ8s" alt=""><figcaption></figcaption></figure>

&#x20;

<figure><img src="/files/Cf7hU6dpEKnKLKpxKEIN" alt=""><figcaption></figcaption></figure>

Copy and paste tracking ID in the app, please note that it must begin with G- or UA-


# How to find the TikTok Test Event Code

If you want to test TikTok server-side events, we will need the test event code.

## Step 1: Access to your TikTok Events Manager

Log in to your [TikTok Ads Manager](https://ads.tiktok.com/). From the top navigation bar, go to Tools then select Events

<figure><img src="/files/ZGVyccmrz5E4mQToCuwj" alt=""><figcaption></figcaption></figure>

## Step 2: Select the pixel you are using then go to the Test Events tab

<figure><img src="/files/8kUoTX2w9bWLUuMjSWza" alt=""><figcaption></figcaption></figure>

## Step 3: Copy the test event code

<figure><img src="/files/6wLTAFdqWeoUs7I9HkiK" alt=""><figcaption></figcaption></figure>

## Step 4: Paste the test event code in the TagFly App

Make sure that the conversion API Token is properly configured to run the test event code

<figure><img src="/files/UbOyCO9vtZdS7d4uCCHs" alt=""><figcaption></figcaption></figure>

## Step 5: View logged events

After completing all the required steps in the TagFly app, you can view the logged events in this section.

<figure><img src="/files/wXHMgkMhXp5PIAMAG6yn" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Important: Remember to turn off test server-side events after testing to ensure live events are properly recorded.
{% endhint %}


# How to find the TikTok Pixel ID

To set up Google Tag Manager tags for TikTok, it's essential to obtain a TikTok Pixel ID.

## Step 1: Navigate to your TikTok Events Manager

Login in your [TikTok Ads Manager](https://ads.tiktok.com/).

<figure><img src="/files/EnKULwvyacPCTLBOx0Zo" alt=""><figcaption></figcaption></figure>

Under Tools from the navigation select Events.

## Step 2: Under Web Events, select Manage

<figure><img src="/files/1GO6eKP7yePME5TtvwQU" alt=""><figcaption></figcaption></figure>

## Step 3: Select Your Pixel

Locate the pixel you are using for tracking. You can find the Pixel ID as demonstrated in the following steps. Example: COUU1U2U3UUUUUUUUUMG

<figure><img src="/files/puqvFumv43JsPIXig61P" alt=""><figcaption></figcaption></figure>

Don't have a TikTok Pixel? [Follow our guide](/tiktok/how-to-create-a-tiktok-pixel).


# How to find the TikTok Access Token

Discover how to locate your TikTok Access Token to initiate server-side tracking.

## Step 1: Navigate to your TikTok Events Manager

Login in your [TikTok Ads Manager](https://ads.tiktok.com/).

<figure><img src="/files/c6nHXBscytQ0IQ0LeSPu" alt=""><figcaption></figcaption></figure>

Under Tools from the navigation select Events.

## Step 2: Under Web Events, select Manage

<figure><img src="/files/WfCLv8EDXH9XtHkogD1h" alt=""><figcaption></figcaption></figure>

## Step 3: Choose the Pixel for which you are configuring the Events API

<figure><img src="/files/j2MWfo3PJA40HSOUVnAn" alt=""><figcaption></figcaption></figure>

## Step 4: Navigate to Settings

<figure><img src="/files/qbDjcBIDfOVFNlxP10pS" alt=""><figcaption></figcaption></figure>

## Step 5: Select Generate Access Token

Scroll down and click on the "Generate Access Token" button in the Events API section.

<figure><img src="/files/a18RPhISiQ5EGyIJdJ8W" alt=""><figcaption></figcaption></figure>

Copy the token and paste it into the app.

<figure><img src="/files/DorL9qJexp74d2jZRv7q" alt=""><figcaption></figcaption></figure>


# How to create a TikTok Pixel

## Step 1: Navigate to your TikTok Events Manager

Login in your [TikTok Ads Manager](https://ads.tiktok.com/).

<figure><img src="/files/rCxoNCxDb3KDwOfhDIhQ" alt=""><figcaption></figcaption></figure>

Under Tools from the navigation select Events.

## Step 2: Under Web Events, select Manage

<figure><img src="/files/V5a8N5RxE51ms3xYIXBX" alt=""><figcaption></figcaption></figure>

## Step 3: Create Your Pixel

Click "Set Up Web Events"

<figure><img src="/files/VpgXXPLEPmzvKEx0iwMy" alt=""><figcaption></figcaption></figure>

Select "Manual setup"

<figure><img src="/files/bVBbaLSo26fKhMFgPJQ4" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/QzF4yXsoDbinZjFepVek" alt=""><figcaption><p>Input your pixel name -> Next</p></figcaption></figure>

You can use a template here

<figure><img src="/files/6tHjpIJadzx1UIOvdxi9" alt=""><figcaption></figcaption></figure>

You can maintain the default settings for the remaining steps. Once completed, your pixel will be ready!


# Get Your TikTok Pixel Ready

If you’re looking for a simple way to create your first TikTok Pixel one, you're in the right place!

Follow these steps to create your first TikTok Pixel. If you already have a TikTok Pixel, you can skip to the next step!

{% content-ref url="/pages/bM3UJ8YpXZZ15NaRN9sc" %}
[How to Integrate TikTok Pixel & Events API with TagFly](/tiktok/how-to-integrate-tiktok-pixel-and-events-api-with-tagfly)
{% endcontent-ref %}

## Step 1: Navigate to TikTok Events Manager

* Login in your [TikTok Ads Manager](https://ads.tiktok.com/).
* In the navigation menu, select **Tools** and then choose **Events**.

<figure><img src="/files/oGSf2kFUkEoN8ma9NKzy" alt=""><figcaption></figcaption></figure>

## Step 2: Set Up your data source

* On the left sidebar, click **Connect data source**

<figure><img src="/files/JLZQG0zgQZmqEYHVx0iQ" alt=""><figcaption></figcaption></figure>

* When the pop-up appears, choose **Web**, then click **Next**

<figure><img src="/files/suXDZqzkSLfWAbrzR59t" alt=""><figcaption></figcaption></figure>

* Enter your store’s URL to activate pixel tracking, then click **Next**

<figure><img src="/files/xQkGKKxXZoyBVSB6kaja" alt=""><figcaption></figcaption></figure>

* Choose **Manual setup**

<figure><img src="/files/p8qFWX43Pk2DabYkv9HJ" alt=""><figcaption></figcaption></figure>

* In the next step, make sure you select **TikTok Pixel + Events API**

<figure><img src="/files/3UjtSxytUHowt1sMiPOR" alt=""><figcaption></figcaption></figure>

## Step 3: Setup your pixel

* Name your Pixel then click **Create**

<figure><img src="/files/bqvSdPCvvI1UnJ6qt2oe" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %} <mark style="color:orange;">**IMPORTANT**</mark>: Skip step 2 to avoid event duplication when integrating with TagFly
{% endhint %}

<figure><img src="/files/PFqlzV9CrmF50feSxgmD" alt=""><figcaption></figcaption></figure>

* In step 3, turn on **Automatic Advanced Matching** to allow your pixel to automatically scan customer info on your website and match web events to TikTok users

<figure><img src="/files/zKHOpUc1HExtISytV0nR" alt=""><figcaption></figcaption></figure>

* Skip steps 4 and 5

<figure><img src="/files/mvJ5XqptLfgUu9bBBBQX" alt=""><figcaption></figcaption></figure>

* At step 6, you can either customize your business funnel to suit your needs or simply use TikTok's provided template

<figure><img src="/files/GK92qhkl8anowrvcGWsD" alt=""><figcaption></figcaption></figure>

* Skip steps 7 and 8

<figure><img src="/files/MLuLVkF0iXMRiyplY1ee" alt=""><figcaption></figcaption></figure>

Once completed, click **Finish**. Your pixel is now ready!

Now, let's move to the next step to integrate your TikTok Pixel with TagFly.


# How to Integrate TikTok Pixel & Events API with TagFly

To configure Google Tag Manager tags and server-side tracking for TikTok, simply provide us with your TikTok Pixel ID and Events API Token.

## Before You Begin

If you’re new to TikTok Pixel setup, refer to this guide:

{% content-ref url="/pages/YbvRalbAlnmsdUgjp721" %}
[Get Your TikTok Pixel Ready](/tiktok/get-your-tiktok-pixel-ready)
{% endcontent-ref %}

## How to link your TikTok Pixel to TagFly

### Step 1: Navigate to TikTok Events Manager

* Login in your [TikTok Ads Manager](https://ads.tiktok.com/)
* In the navigation menu, select **Tools** and then choose **Events**.

<figure><img src="/files/lWVbqUUeRmyeLmMmZpNg" alt=""><figcaption></figcaption></figure>

### Step 2: Select Your Pixel

* Locate the **data source** section and choose the pixel you want to use for tracking

<figure><img src="/files/HYOdeb9IrGvJ6rokdA44" alt=""><figcaption></figcaption></figure>

* Find and copy the Pixel ID as shown below (e.g., CRLS0P3C77UDDAORF8JG).

<figure><img src="/files/b2O9YbyU6b2BBV0EzcHU" alt=""><figcaption></figcaption></figure>

### Step 3: Pass the copied ID to the TagFly app

<figure><img src="/files/lJOmmYcw2AjMCRV6623S" alt=""><figcaption></figcaption></figure>

## How to link your Tiktok Events API to TagFly

Using the Events API will help improve your tracking accuracy through server-side tracking, even when client-side tracking is limited by ad blockers or iOS 14 cookie restrictions.

### Step 1: Go to Settings tab of your pixel

<figure><img src="/files/msG9BCIY9bpm5fjH39U7" alt=""><figcaption></figcaption></figure>

### Step 2: Generate Access Token

* Scroll down to the bottom. At the Events API section, click Generate Access Token

<figure><img src="/files/hyGDsMvXAkMH6m2ylduh" alt=""><figcaption></figcaption></figure>

### Step 3: Pass the token to the TagFly app

* Once generated, click the token to copy it and paste the copied token to the app

<figure><img src="/files/va9zHnCwr1nlOoUbaNAe" alt=""><figcaption></figcaption></figure>

## **Next steps**

That’s it! You’ve successfully linked your TikTok Pixel and Events API Token to TagFly. Ensure you complete all required steps in the app to enable accurate TikTok tracking.

To verify everything is working properly, we recommend testing your events using the next guide.


# How to test whether your TikTok events tracking works properly

Are you concerned about the effectiveness of your event tracking? Use the Test Events feature to see what’s working and identify any issues with your tracking setup.

## Setting Up Server Event Testing

* In the Pixel you are using, go to the **Test events** tab

<figure><img src="/files/7FuLlwc79U0RpMZeLiO5" alt=""><figcaption></figcaption></figure>

* Copy your Test Event Code

<figure><img src="/files/wCCNqv2sfPonxGeh8fHq" alt=""><figcaption></figcaption></figure>

* Turn the toggle on and pass the copied code to the app

{% hint style="info" %}
Please note that for the test event code to function properly, you must ensure that the Conversion API Token is filled correctly
{% endhint %}

<figure><img src="/files/L5dfPFL3rAvqsfiUfGCM" alt=""><figcaption></figcaption></figure>

## View Logged Server Events

**#Checklist**

✅ You’ve done all the required setup steps in TagFly app

✅ You’ve removed all pre-existing scripts outside TagFly

✅ The test feature is turned on and the Test event code is filled correctly

When you’re all set, you can view the logged events in this section.

<figure><img src="/files/eK0FdIZSO6915NNS0Gkf" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %} <mark style="color:orange;">**Important**</mark>: Remember to turn off test server-side events after testing to ensure live events are properly recorded.
{% endhint %}

If you encounter any tracking problems, please contact our support team for fast and personalized assistance!


# How to find the Facebook Dataset ID

To configure Google Tag Manager tags for Facebook, we require a Facebook Dataset ID.

## Step 1: Access Facebook Events Manager

Access [Facebook Events Managers](https://business.facebook.com/events_manager2) and select Data sources from the left navigation

<figure><img src="/files/KktqFutoW2b1YiPqOCf1" alt=""><figcaption></figcaption></figure>

## Step 2: Select the Dataset you are using and go to your Settings tab

<figure><img src="/files/TtO3vfFtic9W0YHDhj9K" alt=""><figcaption></figcaption></figure>

## Step 3: Copy your Dataset ID

If you find you are seeing Pixel ID rather than Dataset ID, both are compatible with our tracking.

<figure><img src="/files/ErL23pujKKL0hFMOZhYx" alt=""><figcaption><p>Click the ID to copy</p></figcaption></figure>

## Step 4: Update Your Dataset ID in the TagFly App

Navigate to your TagFly > Tracking > **Facebook Destination**

<figure><img src="/files/rr8bXJc48ckVcN9iUJY8" alt=""><figcaption><p>Paste your Dataset ID</p></figcaption></figure>


# How to find the Facebook CAPI Token

To configure Facebook Conversion Tracking, we require a Facebook CAPI Token.

## Step 1: Access Facebook Events Manager

Access [Facebook Events Managers](https://business.facebook.com/events_manager2) and select Data sources from the left navigation

<figure><img src="/files/0Fx49T8MuCQC6v3NgKU2" alt=""><figcaption></figcaption></figure>

## Step 2: Select the Dataset you are using and go to your Settings tab

<figure><img src="/files/yjcU03Ki8xvrkYTyyYS3" alt=""><figcaption></figcaption></figure>

## Step 3: Generate Access token

Then scroll down to the Conversion API section. You should see the "Generate Access Token" link

<figure><img src="/files/sn8r31k7BvHiAJPSCxwa" alt=""><figcaption></figcaption></figure>

Once you click Generate Access Token you should see this:

<figure><img src="/files/5XeV4J21DndS1UiR3h86" alt=""><figcaption></figcaption></figure>

Copy the Generated Token.

## Step 4: Update Your Token in the TagFly App

Navigate to your TagFly > Tracking > **Facebook Destination**

<figure><img src="/files/nlmrLmtBCewvR2HqH0RI" alt=""><figcaption></figcaption></figure>

Paste your Conversion API Token and Save!


# How to find the Facebook Test Event Code

To test server-side events for Facebook, you will need the test event code

## Step 1: Access Facebook Events Manager

Access [Facebook Events Managers](https://business.facebook.com/events_manager2) and select Data sources from the left navigation

<figure><img src="/files/IdqXfwn9kQoxPFuikUvi" alt=""><figcaption></figcaption></figure>

## Step 2: Select the Dataset you are using and go to the Event Testings tab

<figure><img src="/files/PHSkAKyLaw4GxOBXdgO6" alt=""><figcaption></figcaption></figure>

## Step 3: Copy your Test Event Code

Please note that simply using the string 'TEST...' is insufficient; in this case, the correct value to use is **TEST80162**

<figure><img src="/files/LTfxC1cfvKr0avDHTP4m" alt=""><figcaption></figcaption></figure>

## Step 4: Update Your Test Event Code in the TagFly App

Please note that for the test event code to function properly, you must ensure that the Conversion API Token is configured correctly

<figure><img src="/files/3y58gK2HBcla1339ksoc" alt=""><figcaption></figcaption></figure>

## Step 5: View Logged Events

After installing and testing the event, you can view the logged events in this section.

<figure><img src="/files/6NgPLZNZIZO9kxefxRVR" alt=""><figcaption></figcaption></figure>


# How to set up your Facebook Pixel (Now is Dataset ID)

If you're new to Facebook Pixel (now called Dataset ID) and looking for a simple way to create your first one, you're in the right place. Follow this easy step-by-step guide to get started.

If you already have a Facebook Pixel set up, you can skip ahead to the next step: [How to integrate Facebook Pixel and CAPI to TagFly](/facebook/how-to-integrate-facebook-pixel-and-conversion-api-to-tagfly)

## Now, let’s get started!

* From [Facebook Events Manager](https://www.facebook.com/events_manager) in your Business profile, click Connect Data in the left menu, select Web, then click Next to continue

<figure><img src="/files/1tbGczifH20UrIHsRCj2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/IhPaJrN7zj2DU7BOloQh" alt=""><figcaption></figcaption></figure>

* Name your dataset, then click **Create**

<figure><img src="/files/JOC3nIOjuXtdBffr35Tk" alt=""><figcaption></figcaption></figure>

* Once your dataset is created, you can skip the remaining setup steps. Our app will handle all other configurations for you.

<figure><img src="/files/GI67lOGJF28sfzRYuUEG" alt=""><figcaption></figcaption></figure>

That's it! Your Facebook Dataset ID (pixel) is ready. Now, let's move to the next step:

[How to Integrate Facebook Pixel and Conversion API to TagFly](/facebook/how-to-integrate-facebook-pixel-and-conversion-api-to-tagfly)


# How to Integrate Facebook Pixel and Conversion API to TagFly

To configure Google Tag Manager tags and server-side tracking for Facebook, simply provide us with your Facebook Dataset ID and Conversion API Token.

## Before You Begin

If you’re new to Facebook Pixel setup, you might find this guide helpful:

{% content-ref url="/pages/2kK13MoSzht15xUppC0N" %}
[How to set up your Facebook Pixel (Now is Dataset ID)](/facebook/how-to-set-up-your-facebook-pixel-now-is-dataset-id)
{% endcontent-ref %}

## How to link your Facebook Dataset ID to TagFly

* Access [Facebook Events Managers](https://business.facebook.com/events_manager2). In the left navigation panel, select **Data Source** > choose the Dataset you want to track with TagFly

<figure><img src="/files/a3NZ8I6imONVdmh3U8ad" alt=""><figcaption></figcaption></figure>

* Go to the **Settings** tab, locate your Dataset ID. If you see a Pixel ID instead, that's fine too—they're both compatible. **Click the ID to copy it**

<figure><img src="/files/MxzDbYdDj9lAiUpjhALf" alt=""><figcaption></figcaption></figure>

* Pass the copied Dataset ID to the TagFly app.

<figure><img src="/files/EXDCzRguzpmt6jmn0tBp" alt=""><figcaption></figcaption></figure>

## How to link your Facebook Conversion API Token to TagFly

Using the Conversion API ensures accurate server-side tracking, even when browser-based tracking is limited by privacy updates.

* In the **Settings** tab of your pixel, scroll down to the **Conversion API** section > click **Generate Access Token.**

<figure><img src="/files/HnlhKqhKf8nUTXZvz9CR" alt=""><figcaption></figcaption></figure>

* Once generated, click the token to copy it.

<figure><img src="/files/DSGhsJFp9H24Bp1MnJCn" alt=""><figcaption></figcaption></figure>

* Pass the copied access token to the TagFly app

<figure><img src="/files/X5ztNOw7qgbtPfnWH8Ib" alt=""><figcaption></figcaption></figure>

## Next steps

That’s it! You’ve successfully linked your Facebook Dataset ID and Conversion API Token to TagFly. Make sure to complete all the required steps in the app to enable Facebook tracking.

To verify everything is working correctly, we recommend testing your events using this guide:

[How to test whether your pixel installation is set up correctly](/facebook/how-to-test-whether-your-pixel-installation-is-set-up-correctly)


# How to test whether your pixel installation is set up correctly

Are you concerned about the effectiveness of your event tracking? Use the Test Events feature to see what’s working and identify any issues with your tracking setup.

## Setting Up Event Testing

* In the Dataset ID you are using, go to the **Test events tab**

<figure><img src="/files/L3ZWP1tUAr9yHEku56wU" alt=""><figcaption></figcaption></figure>

* Copy your Test Event Code

{% hint style="info" %}
Please note that simply using the string 'TEST...' is insufficient; in this case, the correct value to use is TEST80162
{% endhint %}

<figure><img src="/files/rYXmUOfPCdLfZ3hYx2YI" alt=""><figcaption></figcaption></figure>

* Turn the toggle on and pass the copied code to the app

{% hint style="info" %}
Please note that for the test event code to function properly, you must ensure that the Conversion API Token is configured correctly
{% endhint %}

<figure><img src="/files/JTpwgaS6PlwoiZKT77eZ" alt=""><figcaption></figcaption></figure>

## View Logged Events

**#Checklist**

✅ You’ve done all the required setup steps in TagFly app

✅ You’ve removed all pre-existing scripts outside TagFly

✅ The test feature is turned on and the Test event code is filled correctly

When you’re all set, you can view the logged events in this section.

<figure><img src="/files/ePWblbUMVdNPbOqa8mKp" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %} <mark style="color:orange;">Important</mark>: Remember to turn off test server-side events after testing to ensure live events are properly recorded.
{% endhint %}


# How to find Pinterest Ad Account ID

## Step 1: Navigate to your Pinterest Conversion Page

Access the [Pinterest Conversion Page](https://ads.pinterest.com/)

<figure><img src="/files/dA7ob80WNS7WPsbwZV5d" alt=""><figcaption></figcaption></figure>

## Step 2: Go to the Conversion access token

You will find your Ad Account ID near your business name.

<figure><img src="/files/jHV2nFXp5iu26Ddehhi2" alt=""><figcaption><p>Copy your Ad Account ID</p></figcaption></figure>


# How to find Pinterest Conversion Access Token

## Step 1: Navigate to your Pinterest Conversion Page

Access the [Pinterest Conversion Page](https://ads.pinterest.com/)

<figure><img src="/files/dA7ob80WNS7WPsbwZV5d" alt=""><figcaption></figcaption></figure>

## Step 2: Go to the Conversion access token

Click **Generate new token**

<figure><img src="/files/OjYOL706tGDcfbeYeObW" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/CB4RIm7TKztJ5qfRcwlP" alt=""><figcaption></figcaption></figure>

Conversion Access Token should start with "pina\_". Copy and paste it into our app!


# How to find Pinterest Tag ID

To configure Google Tag Manager tags for Pinterest, we require a Pinterest Tag ID.

## Step 1: Navigate to your Pinterest Conversion Page

Access the [Pinterest Conversion Page](https://ads.pinterest.com/)

<figure><img src="/files/TbJqYkNsitRAT5FsFm97" alt=""><figcaption></figcaption></figure>

## Step 2: Access Tag Manager

<figure><img src="/files/7zqXTuw0BwwJKnZhmf8j" alt=""><figcaption><p>Copy your Tag ID</p></figcaption></figure>

If you don't have a Pinterest Tag, [follow our guide](/pinterest/how-to-create-a-pinterest-tag-id) to create one!


# How to create a Pinterest Tag ID

## *Step* 1: Navigate to your Pinterest Conversion Page

Access the [Pinterest Conversion Page](https://ads.pinterest.com/)

<figure><img src="/files/Tvc4E7HxoxOKEgR1VcBG" alt=""><figcaption></figcaption></figure>

## Step 2: Create a new Pinterest Tag

<figure><img src="/files/HjAawGN7NEBge6PqGwSH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/rv2Kec4zUoxRbo462Z5H" alt=""><figcaption><p>Select recommended connection source</p></figcaption></figure>

<figure><img src="/files/yHWdupqAabxs7O3rFrOd" alt=""><figcaption><p>Skip to manual setup</p></figcaption></figure>

<figure><img src="/files/shSZ7FiN6kPg02vtftxJ" alt=""><figcaption><p>Continue</p></figcaption></figure>

<figure><img src="/files/jpAPmJLaV7VH0uQeFhc2" alt=""><figcaption><p>At this step, you can get Ad Account ID and Conversion Access Token</p></figcaption></figure>

Continue until you reach **Connect a data source** step. Here you can get your Tag ID

<figure><img src="/files/8kzJewDxhfIwj4cm3WtW" alt=""><figcaption><p>Copy Tag ID and paste into app</p></figcaption></figure>


# How to find Snapchat Pixel ID

To configure Google Tag Manager tags for Snapchat, it's essential to obtain a Snap Pixel ID.

## Step 1: Navigate to your Snapchat Events Manager

Access the [Snapchat Event Manager](https://ads.snapchat.com/)

<figure><img src="/files/23NX0nzWF2xKloCtyYWv" alt=""><figcaption></figcaption></figure>

## Step 2: Grab your Pixel ID

<figure><img src="/files/nTqWrsgjd2agpk9SQgGl" alt=""><figcaption><p>Copy and paste it into TagFly</p></figcaption></figure>


# How to find Snapchat Conversion Access Token

Learn how to generate your Snapchat Access Token to enable server-side tracking.

## Step 1: Navigate to your Business Dashboard

Access the [Snapchat Event Manager](https://ads.snapchat.com/) -> Business Dashboard.

<figure><img src="/files/lz91LDWp99ql1EYPXpZT" alt=""><figcaption></figcaption></figure>

## Step 2: Navigate to Business Details

<figure><img src="/files/AGTPfvwsnd4Ka72vI7Hz" alt=""><figcaption></figcaption></figure>

## Step 3: Generate or retrieve your Access Token

<figure><img src="/files/9ZMcHLRwDNdquFW8oTWR" alt=""><figcaption></figcaption></figure>

You can generate a new token or copy an existing one and paste it into TagFly.


# How to find the Twitter Pixel ID

You will need to create a Twitter Pixel ID via your Twitter Ads account

## Step 1: Log in to your Twitter Ads account at [ads.x.com](https://ads.x.com/)

## Step 2: Click to Tools and select Events manager from the top navigation

<figure><img src="/files/8MrbzRdOGGWJJfYAmh1u" alt=""><figcaption></figcaption></figure>

Are you not seeing a Tools tab in your account? This is likely because a credit card hasn’t been added to your account. Find how to add one [here](https://business.x.com/en/help/account-setup/billing-basics.html).

## Step 3: Create your Twitter Pixel ID

When you finish step 2, the interface will look like this if you don't have any Pixel IDs yet. Then you need to create your Pixel ID by clicking "Add event source”

<figure><img src="/files/1TV0i0yCAPnwSNDGOxR6" alt=""><figcaption></figcaption></figure>

Select install with Pixel code then press the "Save" button.

<figure><img src="/files/mmmI71cCod1q1ecqpeH6" alt=""><figcaption></figcaption></figure>

## Step 4: Copy your Pixel ID

<figure><img src="/files/bIqVocn9msQ5evsikJZd" alt=""><figcaption></figcaption></figure>

## Step 5: Update your Pixel ID in the TagFly App

Navigate to TagFly > Twitter > Twitter Pixel Settings

<figure><img src="/files/blYaournAbtslBNN170O" alt=""><figcaption></figcaption></figure>


# How to find Twitter Event ID

## Step 1: In Twitter's Event Manager, click on the "Add events" button

<figure><img src="/files/RL6LX6DkPO1rSFN3lr9G" alt=""><figcaption></figcaption></figure>

## Step 2: Configure your event

For example, if you're configuring an “Add to cart” event, it may look like the following

<figure><img src="/files/OKxIt5vUvlON3AKckB6z" alt=""><figcaption></figcaption></figure>

At the Setup method, you should choose Define event with code, then go to the next step

<figure><img src="/files/YahZfZwR4JnpHMfZatTA" alt=""><figcaption></figcaption></figure>

Finally, select the parameters you want to view. Then click the Save button

<figure><img src="/files/BgQqjM8PW1FFGEdJR5uL" alt=""><figcaption></figcaption></figure>

## Step 3: Copy the Event ID

After creating an event, your event ID will be displayed as ID: tw-xxx-yyy Copy them to configure TagFly

<figure><img src="/files/W7R4EDaTYhytbCMUex3q" alt=""><figcaption></figcaption></figure>

## Step 4: Add event ID to TagFly

After copying the event ID -> move to TagFly > Twitter -> Events.

<figure><img src="/files/vFpGxNjRABs8owm8Tvwi" alt=""><figcaption></figcaption></figure>

Click on the “Add event” button or the Pencil icon to paste your event ID

<figure><img src="/files/ncwXQVI3hFdfFx4FalSg" alt=""><figcaption></figcaption></figure>


# How to create a Klaviyo Private API Key

Discover how to create a Klaviyo Private API Key with ease

In order to setup server-side tracking for Klaviyo, we'll need to have a Private API Key.

## Create a Klaviyo Private API Key

### Account settings

* Sign in to your [Klaviyo Account](https://www.klaviyo.com/login).
* Start by navigating to the Klaviyo homepage. Then, click on the "Account" button found in the lower left-hand corner of the page.&#x20;
* A new pop-up menu will appear; click on the "Settings" tab.&#x20;

<figure><img src="/files/KXnGq20j0KFRBVM1aNdQ" alt=""><figcaption></figcaption></figure>

### API keys settings

* After accessing your account settings, select the "API Keys" tab from the left-hand menu.&#x20;
* Scroll to the section labeled "Private API Keys."&#x20;

<figure><img src="/files/YA8dTJh9L0wE7L50Cg5U" alt=""><figcaption></figcaption></figure>

* In the upper right-hand corner of the Private API Keys box, find and click the "Create Private API Key" button.

<figure><img src="/files/Fx9oZ0UUskchEAXOPEyP" alt=""><figcaption></figcaption></figure>

### Private API key details

* After clicking the "Create Private API Key" button, you'll be directed to a new page where you can input the necessary details for your new API Key.&#x20;
* Find the section labeled "Private API Key Name" and enter key name in the text box (eg: "TagFly"). Next, go to the section titled "Select Access Level" and choose the "Full Access Key" option.&#x20;
* Once you've filled out all the required information, click the "Create" button located in the upper right-hand corner of the screen.

<figure><img src="/files/TxWxP5nJTypKj0WI61aH" alt=""><figcaption></figcaption></figure>

### Private API key confirmation

* Once you've created your Private API Key, you'll be directed to a confirmation page.&#x20;
* Head to the section titled "Your Private Key" and find the box containing your key.&#x20;
  * For example, a Private API Key might look like this: pk\_436db120d44347058e96d4832d3abed094.

<figure><img src="/files/aX31BpZshhoebiOsy59w" alt=""><figcaption><p>Copy the key and paste it into our app</p></figcaption></figure>


# How to setting up Klaviyo's browse and cart abandonment flows

Enhance the performance of Klaviyo's flows using our server-side tracking

## Setting up Klaviyo's flows with TagFly

Merchants commonly utilize two or three of these Klaviyo flows: browse abandonment, cart abandonment, and checkout abandonment. These flows are generally driven by client-side tracking and events. TagFly can enhance the performance of these flows by implementing our server-side tracking of events and enriching sessions.

To enhance the performance of browse, cart, and checkout abandonment flows using TagFly's server-side tracking, follow these streamlined steps:

1. **Duplicate Existing Flows**: Create server-side versions by cloning each client-side flow.
2. **Update Triggers**: Switch the trigger on the new server-side flows to TagFly's server-side trigger.
3. **Implement Profile Filters**: Add filters to the server-side flows to exclude customers already enrolled in the corresponding client-side flows.
4. **Develop Custom Reports**: Construct reports to analyze and compare the efficiency of client-side flows against the enhancements from TagFly-powered server-side flows.

**Standard Flow Triggers**:

* Browse Abandonment: "Viewed Product"
* Cart Abandonment: "Added to Cart"
* Checkout Abandonment: "Started Checkout"

**TagFly Server-Side Event Triggers**:

* Browse Abandonment: "Viewed Product - TagFly SS"
* Cart Abandonment: "Added to Cart - TagFly SS"
* Checkout Abandonment: "Begin Checkout - TagFly SS"

After duplicating and updating the triggers, ensure you have at least four distinct flows:

* **Client-Side Browse Abandonment Flow**: Triggered by "Viewed Product"
* **Client-Side Cart Abandonment Flow**: Triggered by "Added to Cart"
* **Server-Side Browse Abandonment Flow**: Triggered by "Viewed Product - TagFly SS"
* **Server-Side Cart Abandonment Flow**: Triggered by "Added to Cart - TagFly SS"

Finally, ensure to include a profile filter in the server-side flows to prevent customers from being enrolled in both the server-side and client-side flows, maintaining exclusivity in flow participation.

## Configuring flows

To evaluate the revenue impact and confirm the effectiveness of TagFly's performance, follow these steps to set up your flows:

* Navigate to the Flows section.
* Next, locate a flow that uses the "Added to Cart" event as its trigger.

<figure><img src="/files/86voBPzUbOYaRMrJhwdE" alt=""><figcaption></figcaption></figure>

* Next, we aim to create a clone of this flow that activates only if the user doesn't trigger your existing flow. Click "Clone" on your existing flow.

<figure><img src="/files/QRXxivkIqLNKk1SD5hd5" alt=""><figcaption></figcaption></figure>

* When the Clone window appears, select the "Added to Cart - TagFly SS" event as shown, and update the name of the flow accordingly.

<figure><img src="/files/ZycgCaFs1zTLP2nVIyTN" alt=""><figcaption></figcaption></figure>

* Click "Clone Flow." Once inside the flow, add an additional filter to exclude users who will trigger your existing flow.

<figure><img src="/files/6Eez6z8gsqoXomU2FD6D" alt=""><figcaption></figcaption></figure>

* Ensure that you filter out your legacy event, not the TagFly server-side event.&#x20;
* You now have a new flow that can run alongside your existing flow.

{% hint style="info" %}
There's no need to maintain two dual flows; this setup is simply to verify that the server-side events function correctly and to measure the additional revenue generated.
{% endhint %}


# How to Create a New UET Tag in Your Microsoft Ads Account

* **Log in** to your [**Microsoft Advertising**](https://ads.microsoft.com/Auth?n1pq=caa99776-08b3-4042-af2f-c58389d6f11f\&fdmkt=en-ph\&fdiso=ph\&fdtz=8)**.**
* In the left-hand menu, go to **Conversions** > **UET Tag**.
* Click the **+ Create** button to add a new UET Tag.

<figure><img src="/files/JIwWMEWVhmEyyiaP02Gn" alt=""><figcaption></figcaption></figure>

* Enter a **Tag Name** and an optional **Description**, then click **Next**.

<figure><img src="/files/wHrFzfo7HZNeFN2Fisr3" alt=""><figcaption></figcaption></figure>

* On the **Set up tagging** step, select **Install the tag yourself**, then click **Next**

<figure><img src="/files/W49N6SMxXzGlIJybpwEN" alt=""><figcaption></figcaption></figure>

* In the next step, just click **Next**—no additional setup needed.&#x20;

*TagFly will take care of all the tracking setup for you.*

<figure><img src="/files/D0q2NMPnLvtV1q8FAp8t" alt=""><figcaption></figcaption></figure>

* Click **Done** to finish.

✅ You’re all set!


# Microsoft (Bing) Ads conversion tracking set up guide

Learn how to set up tracking for Microsoft Ads in under a minute with TagFly

## Locate UET Tag ID

To set up Microsoft (Bing) Ads conversion tracking, you’ll need a UET Tag ID.

* Sign in to your [**Microsoft Ads**](https://ads.microsoft.com) account.
* Go to **Tools > Conversions** and select **UET Tag**.
* Locate the **Tag ID** section — the combination of numbers you see is your UET Tag ID (e.g., `1111111`).

<figure><img src="/files/3bGfthyQVXhWF528QdzP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/DWZ9dWa7CnA2vjb0KyG7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you want to create a new UET Tag for conversion tracking, you can [follow our guide here](https://xipatcorp.sg.larksuite.com/wiki/Hrwkw7M1QipA4Skcj92lNeC8gMb).
{% endhint %}

## Enter Microsoft (Bing) Ads settings in TagFly

* Copy the **Tag ID** of the **UET tag** you want to track and pass it to TagFly app.

<figure><img src="/files/dpmkHpovxctQXXEYaD9Q" alt=""><figcaption><p>Copy the <strong>Tag ID</strong> of the <strong>UET tag</strong> you want to track and pass it to TagFly app.</p></figcaption></figure>

* Select your event you want TagFly to track (*e.g., purchase, page view, etc.*)

<figure><img src="/files/NcsFyD3xrP0oMBB0O1EP" alt=""><figcaption></figcaption></figure>

✅ That’s it! Your Microsoft Ads tracking is now active.

## Verify Tag status

Once connected, TagFly will automatically send your selected events to Microsoft Ads. You can monitor the event data in your Microsoft Ads dashboard.

<figure><img src="/files/TEKUm4eOQMNPIXqLrwhT" alt=""><figcaption><p>Events sent by TagFly server-side tracking</p></figcaption></figure>

{% hint style="warning" %}
**Note**: It can take up to 24 hours for the UET tag to become active.
{% endhint %}

🚨 **Important**:

If you’ve previously installed Microsoft’s UET tracking code manually, make sure to remove it to prevent duplicate event tracking.

If you have any concerns with the app setup, we’re here to assist you every step of the way. Feel free to contact us through the **in-app chat** or [**schedule a meeting**](https://xipatcorp.sg.larksuite.com/scheduler/bb6af6fed45399f1) with our team.

## Next steps

To start tracking the results of your ad campaigns, you need to set up conversion goals. Follow this guide to configure your conversion goals to work seamlessly with TagFly.


# How to Create Conversion Goals in Your Microsoft (Bing) Ads Account

Learn how to set up conversion goals to start measuring your ad campaign performance.

## Create Event-Based Conversion Goal

* Sign in to your [**Microsoft Ads**](https://ads.microsoft.com) account.
* Navigate to **Tools** > **Conversions**, then select the **Conversion Goals** tab.
* Click the **+ Create** button.

<figure><img src="/files/APkX5SUSYSF6ByAn9E79" alt=""><figcaption></figcaption></figure>

## New Conversion Goal Settings

* Set Up Conversion Goal: Choose **Website**, then click **Next**.

<figure><img src="/files/VrgutCaiV8wimRUQlPg7" alt=""><figcaption></figcaption></figure>

* Define Goal Type

  * Under **Goal Category**, choose a type from the dropdown (e.g., Purchase, Add to cart).
  * Under **Goal Type**, select **Event**, then click **Next**.

  <figure><img src="/files/RE3ECdtmxjAOkKzFvgf5" alt=""><figcaption></figcaption></figure>

* Set up **Conversion goal details**

  * **Goal name**: Enter a name for your goal (e.g., “Website Purchase”).
  * In **Revenue** section: Choose **"Conversion action value may vary (for example, by purchase price)"** tab in the drop-down menu.
  * *(Optional)* Advanced settings: If you want to customize your tracking, you can select additional options in advanced settings

  <figure><img src="/files/9GHllqYD8klErBduGmKW" alt=""><figcaption></figcaption></figure>

  * Click **Next** button at the bottom of the page

* Select if you'd like to turn on [Enhanced conversions](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.ads.microsoft.com%2F%23apex%2Fads%2Fen%2F60178%2F2\&data=05%7C02%7Cv-maguino%40microsoft.com%7Ca088f901a6ce4dc554be08dccdc81716%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638611506468936648%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C\&sdata=s1qVQA9zS%2BwFQog7ebUd%2BCrwp1ezsHgursk9oYlp%2B5Y%3D\&reserved=0) or "I don't want to use enhanced conversions.". Then, select **Save and next**.

<figure><img src="/files/1nShge6qP29v6h4n5JPg" alt=""><figcaption></figcaption></figure>

* **Set up stagging**

  * Select the **UET tag** you want to use.
  * For the question "Do you have this UET tag installed on your website?", select the **second option**.
  * Click **Save and next**.

  <figure><img src="/files/TxkHf8I3YynSbl1WT750" alt=""><figcaption></figcaption></figure>
* Install event tag

  * Choose **Manual installation**, then click **Next**

  <figure><img src="/files/R84jeTKUf41kOKmBqdra" alt=""><figcaption></figcaption></figure>
* Custom Event Parameters:
  * In the **Action** field, enter the correct event action value.
  * Click **+ Add another parameter** to add the **Category** field, and enter the corresponding category value.

{% hint style="warning" %}
**Important note**

The **Action** and **Category** values must exactly match the parameters sent by **TagFly** as shown in your **UET Tag dashboard**.

If these values don’t match, the conversion goal **will not work**.
{% endhint %}

*Use the following table to find the correct Action and Category values:*

| Event names    | Action & Category name |
| -------------- | ---------------------- |
| Page view      | page\_view             |
| View Item      | view\_item             |
| Search         | search                 |
| Add To Cart    | add\_to\_cart          |
| Begin Checkout | begin\_checkout        |
| Purchase       | purchase               |

* In **"When do you want to track this event?"** section and choose **"Track event on inline action"** from the dropdown.

<figure><img src="/files/VpYThJ04xAUlxPUFe5uk" alt=""><figcaption></figcaption></figure>

* After entering all the required information, **ignore the provided script** and click **Save and Next**, then **Done**.

✅ Your conversion goal has now been created successfully and is active!

That's it! If you need help with setting this up in the app, feel free to reach out via the in-app chat or [**schedule a meeting**](https://xipatcorp.sg.larksuite.com/scheduler/bb6af6fed45399f1) with our team. We’re happy to help!


# FAQs

<details>

<summary>What can I do with Omega Google Tag?</summary>

Google Conversion Tracking makes it easier to add Google Tag Manager (GTM)  tracking code on your website to measure conversions, track your marketing data in the most efficient way.&#x20;

You just simply need to copy and paste the ID into the app&#x20;

</details>

<details>

<summary>How do I use Omega Google Tag?</summary>

1\. Go to your Google Tag Manager Account and copy the ID&#x20;

Check how to get here: [https://www.omegatheme.com/documents/google-conversion-tracking/how-to-get-gtm-container-id](https://omegatheme.com/documents/google-conversion-tracking/how-to-get-gtm-container-id)

2\. Paste this container ID into our app here:&#x20;

![](/files/VgNDrZYn4SGfm2jkyuDe)

3\. Go to your Analytics account and copy the code&#x20;

Check how to get here: [https://www.omegatheme.com/documents/google-conversion-tracking/how-to-get-analytics-tracking-id](https://omegatheme.com/documents/google-conversion-tracking/how-to-get-analytics-tracking-id)

4\. Paste this tracking code into our app here:&#x20;

![](/files/RGbMMbYCcRVOSvfTt0Ua)

5\. Choose tracking options and click **Save**&#x20;

![](/files/mLLVHyuv9kkGDLwvwXtW)

</details>

<details>

<summary>How do I know if my tag is working?</summary>

To check if Google Tag Manager is working, you can use the extension on Chrome to check:

Add [Google Tag Assistant ](https://chrome.google.com/webstore/detail/tag-assistant-legacy-by-g/kejbdjndbnbjgmefkgdddjlbokphdefk)to your Chrome browser After you install the extension, click the Tag Assistant icon in your browser.<br>

Enable the Tag Assistant and refresh your browser.

![](/files/ZkibGuonJkbpUQakkdaS)

Look at the status of the Google Tag Manager container. If you have yellow or red, there are problems with your installation.&#x20;

Click on the icon to further reveal what the problem is. You aim to see a blue tag, just like in the screenshot below.\
\
![](https://omegatheme.com/images/BLOG-KAY/google-11.png)

</details>

<details>

<summary>Do I need to delete any code after uninstalling?</summary>

No, the app will not leave any code/ script after uninstalling.&#x20;

</details>

<details>

<summary>How to I get support if I have any issues?</summary>

You can send the request to our email <contact@omegatheme.com>.&#x20;

Or you can support messages right from our app.&#x20;

Our team will reply to you within 24 hours on weekdays.&#x20;

</details>


