*Event Data Integration: API, File Dump & BigQuery Requirements

Important notes

  • For web (GET API) integrations, some required data does not require explicit mapping. Symbiosys can add support to parse data from the Page View URL (e.g., Channel Click Identifier).

  • Ad platforms do not always append campaign data to click-through URLs, so these should be explicitly mapped if available.

  • For web (GET API) orders with multiple products, product-level parameters (Product ID, Brand, Seller ID, Quantity, Regular Unit Price, Discounted Unit Price, etc.) should contain multiple product values separated by a tilde. Example: prodid=101~102~103&qty=1~2~1.

  • For all API (GET/POST) integrations, use the parameter names documented for each method.

  • For file dump and BigQuery integrations, column names should mirror the POST API parameter names.

  • Most parameters marked required (✔️) for Visits (page views) are specifically required on the initial visit (landing page view). It is helpful to load our tag and pass these same data (if available) on subsequent page views.

  • Unavailable data can be passed as ''.

  • For online events, include at least two user identifiers (e.g., vid, crmid, hashed_email).

  • For offline orders, include as many user identifiers as possible (can be identifiers not documented below).

  • All hashing should use the SHA-256 hashing algorithm.

Legend

✔️ Required · ❌ Not required · ⭐ Optional, nice to have

Data requirements

Each row includes the field definition, parameter mappings, and requirements for visits, online orders, and offline orders.

Connection and event metadata

Field

Type

Description and notes

GET API

POST API, file dumps & BigQuery

Visits online (web/app)

Orders online (web/app)

Orders offline (in-store)

API Key

string

Your Symbiosys-provided API key. Only required for Event API integrations. Not required for file dumps or BigQuery.

api_key

api_key

✔️

✔️

❌

Page View Timestamp

numeric

The timestamp (unix epoch) at which the visit (or other page view) event occurred. Should be as precise as possible; denotes when the event occurs, not when it is sent to Symbiosys.

ts

page_view_ts

✔️

❌

❌

Order Timestamp

numeric

The timestamp (unix epoch) at which the order event occurred. Should be as precise as possible; denotes when the event occurs, not when it is sent to Symbiosys.

ts

order_ts

❌

✔️

✔️

Platform

string

"web" or "app", "offline". You must pass "app" for app events and "offline" for in-store purchases. This defaults to "web" if using API and platform is not explicitly passed.

-

platform

✔️

✔️

✔️

User identifiers

Field

Type

Description and notes

GET API

POST API, file dumps & BigQuery

Visits online (web/app)

Orders online (web/app)

Orders offline (in-store)

Visitor ID

string

The unique identifier that is scoped to a specific user. Should be as sticky as possible between browsing and app sessions.

vid

visitor_id

✔️

✔️

❌

Session ID

string

The unique identifier scoped to a user session in app or in browser. Helpful identifier for attribution. Should be globally unique (if not, please let us know).

sid

session_id

✔️

✔️

❌

CRM ID

string

The unique hashed identifier that is mapped to a logged-in user. If CRM ID is unavailable, this can be sha256-hashed email.

crmid

crm_id

✔️

✔️

⭐

Loyalty Program Member ID

string

The unique identifier attached to a shopper's profile (generally in-store). Include in offline data if this is different from CRM ID and/or if CRM ID is unavailable.

-

-

❌

❌

⭐

Hashed Email

string

The hashed user email. Required for social channel attribution (YouTube, TikTok, Meta).

hashed_email

hashed_email

✔️

✔️

✔️

Hashed Phone Number

string

The hashed user phone gathered from the order form. Required for Snapchat, works for TikTok, Meta, Pinterest. Pre-hashed value should contain country code with no "+". Ex: "12223334444".

hashed_phone

hashed_phone

⭐

⭐ / ✔️

✔️

Hashed Phone Number (User)

string

The hashed user phone attached to the user profile. Required for Snapchat, works for TikTok, Meta, Pinterest. Pre-hashed value should contain country code with no "+".

hashed_phone_user

hashed_phone_user

⭐

⭐ / ✔️

✔️

Hashed Phone Number, E.164 Formatted

string

The hash of the E.164 formatted phone number gathered from the order form. Works for Google, TikTok, Pinterest, Meta. Pre-hashed value should contain "+" and country code. Ex: "+12223334444".

hashed_phone_e164

hashed_phone_e164

⭐

⭐ / ✔️

✔️

Hashed Phone Number (User), E.164 Formatted

string

The hash of the E.164 formatted phone number attached to the user profile. Works for Google, TikTok, Pinterest, Meta. Pre-hashed value should contain "+" and country code. Ex: "+12223334444".

hashed_phone_e164_user

hashed_phone_e164_user

⭐

⭐ / ✔️

⭐ / ✔️

Hashed First Name

string

The hashed user's first name gathered from the order form. Helpful identifier for attribution.

hashed_first_name

hashed_first_name

❌

⭐

✔️

Hashed First Name (User)

string

The hashed user's first name attached to their profile. Helpful identifier for attribution.

hashed_first_name_user

hashed_first_name_user

⭐

⭐

⭐

Hashed Last Name

string

The hashed user's last name gathered from the order form. Helpful identifier for attribution.

hashed_last_name

hashed_last_name

❌

⭐

✔️

Hashed Last Name (User)

string

The hashed user's last name attached to their profile. Helpful identifier for attribution.

hashed_last_name_user

hashed_last_name_user

⭐

⭐

⭐

Hashed Date Of Birth

string

The hashed user's birthdate gathered from the order form. Helpful identifier for attribution.

hashed_date_of_birth

hashed_date_of_birth

❌

⭐

✔️

Hashed Date Of Birth (User)

string

The hashed user's birthdate attached to their profile. Helpful identifier for attribution.

hashed_date_of_birth_user

hashed_date_of_birth_user

⭐

⭐

⭐

Hashed Zip Code

string

The hashed user's zip code gathered from the order form. Helpful identifier for attribution.

hashed_zip_code

hashed_zip_code

❌

⭐

✔️

Hashed Zip Code (User)

string

The hashed user's zip code attached to their profile. Helpful identifier for attribution.

hashed_zip_code_user

hashed_zip_code_user

⭐

⭐

⭐

Hashed City

string

The hashed user's city gathered from the order form. Helpful identifier for attribution.

hashed_city

hashed_city

❌

⭐

✔️

Hashed City (User)

string

The hashed user's city attached to their profile. Helpful identifier for attribution.

hashed_city_user

hashed_city_user

⭐

⭐

⭐

Hashed State

string

The hashed user's state gathered from the order form. Helpful identifier for attribution.

hashed_state

hashed_state

❌

⭐

✔️

Hashed State (User)

string

The hashed user's state attached to their profile. Helpful identifier for attribution.

hashed_state_user

hashed_state_user

⭐

⭐

⭐

Visit, attribution, and privacy fields

Field

Type

Description and notes

GET API

POST API, file dumps & BigQuery

Visits online (web/app)

Orders online (web/app)

Orders offline (in-store)

User Agent

string

Device user agent. Required for Pinterest. If integrating app, should contain: os, os_version, device_model_name, app_package_name, app_version_short, app_version_long.

-

user_agent

⭐ / ✔️

⭐

❌

User Opt-Out Flag

boolean

Determines whether or not to opt user out of tracking, optimization and targeting. If user_opt_out:true and gbraid is present in the URL, gbraid will be used as the click identifier.

user_opt_out

user_opt_out

⭐

❌

❌

Page View URL

string

The current page URL. For app, this is the deep link URI and only required on page view.

page_url

page_view_url

✔️

✔️

❌

Channel Click Identifier

string

The click identifier appended to the URL by the ad channel. E.g., fbclid, gclid.

cclid

channel_click_identifier

✔️

❌

❌

Campaign ID

string

The campaign identifier appended to the URL by the ad channel. Only required on landing pages (especially important for Meta ads); can be parsed from page_view_url.

ccmp_id

external_campaign_id

⭐ / ✔️

❌

❌

Product and order fields

Field

Type

Description and notes

GET API

POST API, file dumps & BigQuery

Visits online (web/app)

Orders online (web/app)

Orders offline (in-store)

Product ID

string

The unique identifier for an individual product. Required in product page views. This ID should match the ID in your product catalog. For example, "12345-S-R" could refer specifically to the red, small-sized version of a shirt.

prodid

product_id

⭐ / ✔️

✔️

✔️

Item Group ID

string

The identifier that groups related product variations together. For example, "12345" is the item group ID that refers to all variations of the shirt (different sizes, colors, etc.) in the previous example.

item_group_id

item_group_id

⭐ / ✔️

✔️

✔️

Category ID

string

The category ID (if present on product listing or category page). This is helpful to send on category pages.

category_id

category_id

⭐

⭐

⭐

Order ID

string

The unique identifier for an order.

oid

order_id

❌

✔️

✔️

Brand

string

The brand name of the ordered product.

brand

brand

⭐ / ✔️

⭐ / ✔️

⭐ / ✔️

Seller ID

string

The unique identifier for the advertiser that the item was purchased from. Only applicable for seller-based retailers, where multiple sellers/vendors can sell the same product, in which case the vendor is not necessarily the brand.

seller_id

seller_id

❌

⭐ / ✔️

❌

Quantity

string

The quantity of the ordered product(s).

qty

quantity

❌

✔️

✔️

Regular Unit Price

string

The base price of the ordered product(s).

regunitpr

regular_unit_price

❌

✔️

✔️

Discounted Unit Price

string

The discounted unit price(s) of the ordered product(s). If not applicable, pass the regular unit price(s) here.

disunitpr

discount_unit_price

❌

✔️

✔️