Skip to content

Complete Tokens and Macros Reference

Comprehensive Token Reference for All Pixel and Postback Integrations

Applies To: All Pixel and Postback Types


📋 Overview

This document provides a complete reference for all tokens and macros available across pixel and postback integration types. Each token includes detailed support information for specific pixel/postback types.

Token Format Differences:

  • Client-Side Tokens: Use #TOKEN# format (hash symbols)
  • Server-Side Tokens: Use {token} format (curly braces)

🔍 Complete Token Reference Table

This comprehensive table shows all available tokens across all pixel and postback types. Use the support columns to identify which tokens work with your specific integration type.


📱 Client-Side Tokens

Common Session and Event Tokens

Token Description Client-Side
#SESSION_ID# Unique session identifier
#session_id# Alternative session ID format (lowercase)
#REFERRER# Page referrer URL
#DATE# Current date (YYYYMMDD format)

User Data Tokens (PII - Automatically Hashed)

Token Description Client-Side
#SHA256EMAIL# User email (hashed)
#SHA256PHONE# User phone (hashed)
{contact.PROPERTY} Any contact field (automatically hashed)

URL Parameter Tokens

Token Description Client-Side
{parameter_name} Any URL parameter from current page

🖥️ Server-Side Tokens

Common Session and Event Tokens

Token Description Server-Side
{sessionid} Unique session identifier
{campaignid} Campaign identifier
{locationurl} Landing page URL
{refererUrl} HTTP referer URL
{ipaddress} User's IP address
{useragent} User's browser user agent
{event_time} Unix timestamp of event

User Data Tokens (PII - Automatically Hashed)

Token Description Server-Side
{email} User email address
{phone} User phone number
{first_name} User first name
{last_name} User last name
{gender} User gender
{dob} Date of birth (YYYYMMDD)
{city} User city
{state} User state
{zip} User zip code
{country} User country
{external_id} External user identifier

Revenue & Attribution Tokens

Token Description Server-Side
{publisherrevenue} Publisher revenue amount
{externalidentifier} External identifier for deduplication
{advertisername} Name of the advertiser
{ref} Advertiser reference
{gclid} Google Click ID
{eventtype} Event type identifier

Request Data Access Tokens

Token Description Server-Side
{req.qs.PARAM} Query string parameter access
{req.cookie.NAME} Cookie value access
{req.body.PARAM} POST body parameter access
{req.sessionData.PROPERTY} Session data property access