Skip to content
Last updated: 2026-04-06
Guide

Dxtra Tag Manager

Dxtra Tag Manager provides privacy-compliant website analytics and tag management with automatic consent integration and cookie-free tracking.

Key Features

  • Privacy-first analytics with automatic consent management integration
  • Cookie-free tracking that works without third-party cookies
  • Consent-driven tag firing -- tags only fire with appropriate consent
  • Real-time analytics with customizable dashboards
  • GDPR/CCPA compliance with automatic consent checking
  • A/B testing through built-in distribution framework

Architecture Overview

flowchart TD
    A[Your Website] --> B[Tag Manager Script]
    B --> C[Consent Check]
    C --> D[Tag Rules Engine]
    D --> E[Approved Tags Fire]
    E --> F[Analytics Collected]
    F --> G[Dashboard]

Tag Manager operates on an event-driven, rule-based engine:

  1. Events trigger evaluation (page views, clicks, form submissions)
  2. Rules determine which tags should fire based on conditions and consent status
  3. Actions execute when rules are satisfied (tag firing, data collection)

Getting Started

Installation

Add the Tag Manager script to your website:

HTML
<script src="https://tagmanager-edge.dxtra.ai/tm.js" async></script>

Creating an Application

  1. Navigate to Tag Manager in the dashboard
  2. Click Create Application
  3. Enter your application name and domain
  4. Configure privacy settings and consent categories
  5. Copy the installation code to your website

For detailed setup, see Tag Manager Installation.

Core Concepts

Events

Browser events that trigger tag evaluation:

  • Page View -- Fires on page load
  • Click Elements -- Tracks element clicks via CSS selectors
  • Form Submit -- Monitors form submissions
  • Scroll Depth -- Tracks scroll percentage
  • Time on Page -- Fires after specified duration
  • Custom Events -- Any custom JavaScript event

Rules

Rules determine when tags should fire:

Text Only
IF (Events AND Conditions) AND NOT (Exceptions)
THEN Execute Actions

Rules can be configured as repeatable (fire multiple times) with optional delay between executions.

Actions

Operations performed when rules are met:

  • Set data layer variables
  • Send HTTP requests
  • Execute custom JavaScript
  • Load external scripts

Rule Groups

Rule groups provide parallel evaluation of multiple rules and logical organization of related rules.

Distributions (A/B Testing)

Create weighted distributions for A/B testing:

  • None -- All actions execute (100%)
  • Page Load -- Random selection per page view
  • Session -- Consistent selection per user session (privacy-preserving, cookie-free)

Tags fire only with appropriate consent. The Tag Manager checks consent status before executing any tag:

  • Strictly Necessary tags always fire
  • Analytics tags require analytics consent
  • Marketing tags require marketing consent
  • Functional tags require functional consent

When a user withdraws consent, affected tags are automatically suppressed.

Privacy Features

  • No cookies or persistent identifiers -- Privacy-preserving session tracking
  • Privacy signal detection -- Respects GPC and DNT signals
  • Data minimization -- Collect only necessary data
  • Configurable retention -- Set data retention policies per application

Data Manager

The Data Manager provides custom data collection endpoints:

  • Schema design -- Define data structures for collection
  • Custom endpoints -- Generate unique endpoints for different data sources
  • Multiple destinations -- Send data to multiple backends simultaneously

Debug and Testing

Debug Mode

Enable debug mode to inspect tag behavior:

JavaScript
window.dxtraDebug = true;

Debug mode shows:

  • Events as they fire
  • Rule evaluation results
  • Data layer state
  • Action execution results

Preview Mode

Test tag configurations before publishing. Changes in preview mode do not affect live visitors.

Revision Control

Tag Manager maintains a complete revision history:

  • Version management for all configurations
  • Rollback to previous configurations
  • Compare changes between revisions

For support, contact support@dxtra.ai.