Skip to content

Adstat.pro: Pixel Tag Documentation

The Pixel Tag enables advertisers in certain countries to track website conversions resulting from their Telegram Ads campaigns. With this tool, you can measure the effectiveness of your ads by monitoring user actions on your website, such as purchases, sign-ups, or other valuable interactions.

Pixel tag data is processed anonymously and in aggregated form, making it impossible to identify individual users. It cannot be used to track user activity inside Telegram. See paragraph 5.6.1 in the Telegram Privacy Policy for more details.


📚 Index

  1. Introduction
  2. Creating the Pixel and Defining Events
  3. Implementing the Pixel Tag
  4. Managing Events
  5. Tracking Conversions in Ads Using the Pixel

Introduction

The Pixel Tag is a JavaScript snippet that you place on your website to track user actions resulting from Telegram Ads. It consists of two main components:

  • Base Code – placed on every page to track general visits and initialize the pixel.
  • Event Code – used to monitor specific user interactions (e.g., purchases, sign-ups).

Creating the Pixel and Defining Events

  1. Open Adstat.pro.
  2. Go to Pixel & Events in the main menu.
  3. Click Setup pixel on website – the base code snippet will be generated.
  4. Place the base code on every page of your website.
    • You can access it later via Set up Pixel in Pixel & Events.
  5. Create specific events:
    • Click New event
    • Name the event and select an Event Type
    • Click Save
  6. Copy and place the event code on the corresponding website elements or pages.
  7. Repeat steps 5–6 for each user action you want to track.

Ensure the base code is installed on all pages, and the event codes are correctly implemented.


Implementing the Pixel Tag

To track interactions:

  1. In Pixel & Events, locate the event to implement.
  2. Click Setup pixel on website.
  3. Copy and paste the base code just before the closing </head> tag on all pages.
    • Skip this step if already installed.
  4. Insert the event code into the appropriate website elements.

Some automatically created events (like Landing views) may not require separate event code.

Repeat for additional events as needed.


Managing Events

After installation:

  • Go to Pixel & Events in Adstat.pro.
  • Conversion event statuses:
    • Active – activity in the past 7 days.
    • Inactive – no activity or outdated.

Tracking Conversions in Ads Using the Pixel

  1. Open Adstat.pro.
  2. In the main menu, open the Ads section.
  3. Click “+” to create a new ad and select TG Ads or Campaign.
  4. Enter the target URL in the URL you want to promote field.
  5. In the Conversion Event field, select the desired pre-created event.

You can assign the event later when editing the ad, but once saved, it cannot be changed.

⚠️ Conversions will only be tracked after:

  • The event is assigned to the ad.
  • The event code is properly implemented on your site.