From 6e49296f97c5bb7e6c08fcec62cc28fa4fd77363 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Thu, 11 Sep 2025 16:36:33 +0200 Subject: [PATCH] Add more fields to track --- src/track.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/track.ts b/src/track.ts index f0e2927..afc9774 100644 --- a/src/track.ts +++ b/src/track.ts @@ -1,5 +1,6 @@ import { ComponentSettings, MCEvent } from '@managed-components/types' +// sourced from https://ads.tiktok.com/help/article/about-parameters?lang=en const USER_DATA: Record = { email: { hashed: true }, phone: { hashed: true }, @@ -8,6 +9,19 @@ const USER_DATA: Record = { ttp: { hashed: false }, ttclid: { hashed: false }, locale: { hashed: false }, + content_type: { hashed: false }, + quantity: { hashed: false }, + description: { hashed: false }, + content_ids: { hashed: false }, + currency: { hashed: false }, + price: { hashed: false }, + value: { hashed: false }, + search_string: { hashed: false }, + contents: { hashed: false }, + delivery_category: { hashed: false }, + content_name: { hashed: false }, + content_category: { hashed: false }, + status: { hashed: false }, } const getTtclid = (event: MCEvent) => {