c15t 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/README.md +15 -15
- package/dist/index.cjs +29 -26
- package/dist/index.js +29 -26
- package/dist-types/client/hosted/init.d.ts +1 -1
- package/dist-types/client/hosted/types.d.ts +1 -1
- package/dist-types/client/offline/types.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/libs/iab-tcf/types.d.ts +4 -4
- package/dist-types/libs/policy.d.ts +8 -5
- package/dist-types/store/type.d.ts +2 -2
- package/dist-types/version.d.ts +1 -1
- package/docs/ai-agents.md +111 -0
- package/docs/iab/overview.md +4 -4
- package/docs/integrations/ahrefs-analytics.md +224 -0
- package/docs/integrations/cloudflare-web-analytics.md +194 -0
- package/docs/integrations/crisp.md +214 -0
- package/docs/integrations/databuddy.md +136 -65
- package/docs/integrations/fathom-analytics.md +221 -0
- package/docs/integrations/google-tag-manager.md +84 -15
- package/docs/integrations/google-tag.md +89 -8
- package/docs/integrations/hotjar.md +211 -0
- package/docs/integrations/intercom.md +214 -0
- package/docs/integrations/linkedin-insights.md +130 -11
- package/docs/integrations/matomo-analytics.md +246 -0
- package/docs/integrations/meta-pixel.md +377 -24
- package/docs/integrations/microsoft-clarity.md +241 -0
- package/docs/integrations/microsoft-uet.md +120 -9
- package/docs/integrations/mixpanel-analytics.md +198 -0
- package/docs/integrations/overview.md +69 -74
- package/docs/integrations/plausible-analytics.md +237 -0
- package/docs/integrations/posthog.md +172 -41
- package/docs/integrations/promptwatch.md +187 -0
- package/docs/integrations/reddit-pixel.md +336 -0
- package/docs/integrations/rybbit-analytics.md +222 -0
- package/docs/integrations/segment.md +213 -0
- package/docs/integrations/snapchat-pixel.md +244 -0
- package/docs/integrations/tiktok-pixel.md +88 -10
- package/docs/integrations/umami-analytics.md +220 -0
- package/docs/integrations/vercel-analytics.md +213 -0
- package/docs/integrations/x-pixel.md +99 -10
- package/docs/script-loader.md +168 -51
- package/package.json +25 -15
- package/readme.json +1 -1
|
@@ -1,39 +1,368 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Meta Pixel
|
|
3
3
|
description: Track conversions and build audiences for Facebook and Instagram advertising campaigns.
|
|
4
|
-
lastModified:
|
|
5
|
-
|
|
4
|
+
lastModified: 2026-05-11
|
|
6
5
|
icon: meta
|
|
7
6
|
---
|
|
8
|
-
Meta Pixel (formerly Facebook Pixel) is Meta's conversion tracking and audience targeting tool for Facebook and Instagram advertising. It tracks user actions, measures ad effectiveness, builds custom audiences, and optimizes ad delivery.
|
|
7
|
+
Meta Pixel (formerly Facebook Pixel) is Meta's conversion tracking and audience targeting tool for Facebook and Instagram advertising. It tracks user actions, measures ad effectiveness, builds custom audiences, and optimizes ad delivery.
|
|
8
|
+
|
|
9
|
+
## Integrate with c15t
|
|
10
|
+
|
|
11
|
+
**React**
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import { type ReactNode } from 'react';
|
|
15
|
+
import { ConsentManagerProvider } from '@c15t/react';
|
|
16
|
+
import { metaPixel } from '@c15t/scripts/meta-pixel';
|
|
17
|
+
|
|
18
|
+
const scripts = [
|
|
19
|
+
metaPixel({
|
|
20
|
+
pixelId: '123456789012345',
|
|
21
|
+
}),
|
|
22
|
+
];
|
|
23
|
+
|
|
24
|
+
export function ConsentProvider({ children }: { children: ReactNode }) {
|
|
25
|
+
return (
|
|
26
|
+
<ConsentManagerProvider
|
|
27
|
+
options={{
|
|
28
|
+
mode: 'hosted',
|
|
29
|
+
backendURL: 'https://your-instance.c15t.dev',
|
|
30
|
+
scripts,
|
|
31
|
+
}}
|
|
32
|
+
>
|
|
33
|
+
{children}
|
|
34
|
+
</ConsentManagerProvider>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
```
|
|
9
38
|
|
|
10
|
-
|
|
39
|
+
**Next.js**
|
|
11
40
|
|
|
12
|
-
|
|
41
|
+
```tsx
|
|
42
|
+
'use client';
|
|
13
43
|
|
|
14
|
-
|
|
15
|
-
|
|
44
|
+
import { type ReactNode } from 'react';
|
|
45
|
+
import { ConsentManagerProvider } from '@c15t/nextjs';
|
|
46
|
+
import { metaPixel } from '@c15t/scripts/meta-pixel';
|
|
47
|
+
|
|
48
|
+
const scripts = [
|
|
49
|
+
metaPixel({
|
|
50
|
+
pixelId: '123456789012345',
|
|
51
|
+
}),
|
|
52
|
+
];
|
|
53
|
+
|
|
54
|
+
export function ConsentProvider({ children }: { children: ReactNode }) {
|
|
55
|
+
return (
|
|
56
|
+
<ConsentManagerProvider
|
|
57
|
+
options={{
|
|
58
|
+
mode: 'hosted',
|
|
59
|
+
backendURL: '/api/c15t',
|
|
60
|
+
scripts,
|
|
61
|
+
}}
|
|
62
|
+
>
|
|
63
|
+
{children}
|
|
64
|
+
</ConsentManagerProvider>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**JavaScript**
|
|
16
70
|
|
|
17
71
|
```ts
|
|
72
|
+
import { getOrCreateConsentRuntime } from 'c15t';
|
|
18
73
|
import { metaPixel } from '@c15t/scripts/meta-pixel';
|
|
19
74
|
|
|
75
|
+
getOrCreateConsentRuntime({
|
|
76
|
+
mode: 'hosted',
|
|
77
|
+
backendURL: 'https://your-instance.c15t.dev',
|
|
78
|
+
scripts: [
|
|
79
|
+
metaPixel({
|
|
80
|
+
pixelId: '123456789012345',
|
|
81
|
+
}),
|
|
82
|
+
],
|
|
83
|
+
});
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## How c15t loads it
|
|
87
|
+
|
|
88
|
+
* **Category:** `marketing` (Ads & Pixels)
|
|
89
|
+
* **Loads when:** marketing consent is granted
|
|
90
|
+
* **Default install:** c15t queues `fbq('consent', 'grant')`, `fbq('init', pixelId)`, `fbq('track', 'PageView')`, then loads Meta's `fbevents.js`
|
|
91
|
+
* **On revocation:** [persists](/docs/frameworks/react/script-loader#persist-after-revocation) — c15t calls `fbq('consent', 'revoke')` so Meta stops tracking without removing the script
|
|
92
|
+
|
|
93
|
+
Meta recommends installing the base pixel on every page you want to measure. c15t injects scripts into the document head by default, which matches Meta's recommendation to load the pixel early.
|
|
94
|
+
|
|
95
|
+
## Configure the integration
|
|
96
|
+
|
|
97
|
+
Use the default setup when you want Meta's standard `PageView` event to fire as soon as the pixel loads after marketing consent.
|
|
98
|
+
|
|
99
|
+
```ts
|
|
20
100
|
metaPixel({
|
|
21
101
|
pixelId: '123456789012345',
|
|
22
|
-
})
|
|
102
|
+
});
|
|
23
103
|
```
|
|
24
104
|
|
|
25
|
-
|
|
105
|
+
For single-page applications, disable the automatic `PageView` and track route changes yourself.
|
|
26
106
|
|
|
27
|
-
|
|
107
|
+
```ts
|
|
108
|
+
metaPixel({
|
|
109
|
+
pixelId: '123456789012345',
|
|
110
|
+
trackPageView: false,
|
|
111
|
+
});
|
|
112
|
+
```
|
|
28
113
|
|
|
29
|
-
|
|
114
|
+
You can pass optional init data as the third argument to `fbq('init', ...)`.
|
|
115
|
+
|
|
116
|
+
```ts
|
|
117
|
+
metaPixel({
|
|
118
|
+
pixelId: '123456789012345',
|
|
119
|
+
initOptions: {
|
|
120
|
+
external_id: 'customer-123',
|
|
121
|
+
},
|
|
122
|
+
});
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Tracking events in your app
|
|
126
|
+
|
|
127
|
+
c15t gates the Meta Pixel script from loading until `marketing` consent is
|
|
128
|
+
granted. After consent is granted the script stays in the DOM, and c15t calls
|
|
129
|
+
`fbq('consent', 'revoke')` if consent is later revoked so Meta stops tracking
|
|
130
|
+
without removing the script.
|
|
131
|
+
|
|
132
|
+
This means `window.fbq` and the `metaPixelEvent` helpers are only defined after
|
|
133
|
+
the user has granted marketing consent at least once. Before that, unguarded
|
|
134
|
+
calls throw.
|
|
135
|
+
|
|
136
|
+
### Standard events
|
|
137
|
+
|
|
138
|
+
Use `metaPixelEvent` to track Meta standard events. It is a typed wrapper around `fbq('track', ...)`.
|
|
139
|
+
|
|
140
|
+
Meta documents standard event tracking in its [conversion tracking guide](https://developers.facebook.com/docs/meta-pixel/implementation/conversion-tracking) and [Marketing API pixel examples](https://developers.facebook.com/docs/meta-pixel/implementation/marketing-api).
|
|
30
141
|
|
|
31
142
|
```ts
|
|
32
143
|
import { metaPixelEvent } from '@c15t/scripts/meta-pixel';
|
|
33
144
|
|
|
34
|
-
metaPixelEvent('
|
|
145
|
+
metaPixelEvent('Lead', {
|
|
146
|
+
value: 40,
|
|
147
|
+
currency: 'USD',
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
metaPixelEvent('AddToCart', {
|
|
151
|
+
content_ids: ['SKU-123'],
|
|
152
|
+
content_type: 'product',
|
|
153
|
+
value: 49.99,
|
|
154
|
+
currency: 'USD',
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
metaPixelEvent(
|
|
158
|
+
'Purchase',
|
|
159
|
+
{
|
|
160
|
+
contents: [
|
|
161
|
+
{ id: 'SKU-123', quantity: 2 },
|
|
162
|
+
{ id: 'SKU-456', quantity: 1 },
|
|
163
|
+
],
|
|
164
|
+
content_type: 'product',
|
|
165
|
+
value: 149.97,
|
|
166
|
+
currency: 'USD',
|
|
167
|
+
},
|
|
168
|
+
'browser-event-123'
|
|
169
|
+
);
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
The optional third argument can be an event ID string or an options object. c15t forwards string IDs as `{ eventID: '...' }`, which is the browser-side format used for Conversions API deduplication.
|
|
173
|
+
|
|
174
|
+
```ts
|
|
175
|
+
metaPixelEvent(
|
|
176
|
+
'Purchase',
|
|
177
|
+
{ value: 149.97, currency: 'USD' },
|
|
178
|
+
{ eventID: 'browser-event-123' }
|
|
179
|
+
);
|
|
35
180
|
```
|
|
36
181
|
|
|
182
|
+
### Custom events
|
|
183
|
+
|
|
184
|
+
Use `metaPixelCustomEvent` when Meta's standard events do not fit the action you are measuring. Meta custom event names must be strings and cannot exceed 50 characters.
|
|
185
|
+
|
|
186
|
+
```ts
|
|
187
|
+
import { metaPixelCustomEvent } from '@c15t/scripts/meta-pixel';
|
|
188
|
+
|
|
189
|
+
metaPixelCustomEvent('ShareDiscount', {
|
|
190
|
+
promotion: 'share_discount_10%',
|
|
191
|
+
});
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Custom events can also use an event ID for Conversions API deduplication.
|
|
195
|
+
|
|
196
|
+
```ts
|
|
197
|
+
metaPixelCustomEvent(
|
|
198
|
+
'ShareDiscount',
|
|
199
|
+
{ promotion: 'share_discount_10%' },
|
|
200
|
+
'browser-event-456'
|
|
201
|
+
);
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Guard event calls with consent
|
|
205
|
+
|
|
206
|
+
The example below intentionally uses `useConsentManager().has('marketing')` as
|
|
207
|
+
a defensive policy so your app avoids calling `metaPixelEvent` whenever consent
|
|
208
|
+
is currently revoked, even though Meta also suppresses tracking after initial
|
|
209
|
+
load.
|
|
210
|
+
|
|
211
|
+
```tsx
|
|
212
|
+
import { useConsentManager } from '@c15t/react';
|
|
213
|
+
import { metaPixelEvent } from '@c15t/scripts/meta-pixel';
|
|
214
|
+
|
|
215
|
+
function useTrackPurchase() {
|
|
216
|
+
const { has } = useConsentManager();
|
|
217
|
+
|
|
218
|
+
// Defensive pattern: only call metaPixelEvent while marketing consent is granted.
|
|
219
|
+
return () => {
|
|
220
|
+
if (has('marketing')) {
|
|
221
|
+
metaPixelEvent('Purchase', { value: 10.0, currency: 'USD' });
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function PurchaseButton() {
|
|
227
|
+
const trackPurchase = useTrackPurchase();
|
|
228
|
+
|
|
229
|
+
return <button onClick={trackPurchase}>Complete purchase</button>;
|
|
230
|
+
}
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### SPA route changes
|
|
234
|
+
|
|
235
|
+
Meta's [SPA guidance](https://developers.facebook.com/docs/facebook-pixel/implementation/tag_spa) recommends tracking meaningful URL changes from your router. Disable the install-time `PageView`, then emit page views after navigation while marketing consent is granted.
|
|
236
|
+
|
|
237
|
+
```tsx
|
|
238
|
+
import { useConsentManager } from '@c15t/react';
|
|
239
|
+
import { metaPixelEvent } from '@c15t/scripts/meta-pixel';
|
|
240
|
+
import { useEffect } from 'react';
|
|
241
|
+
import { useLocation } from 'react-router-dom';
|
|
242
|
+
|
|
243
|
+
function MetaRouteTracking() {
|
|
244
|
+
const { has } = useConsentManager();
|
|
245
|
+
const location = useLocation();
|
|
246
|
+
|
|
247
|
+
useEffect(() => {
|
|
248
|
+
if (has('marketing')) {
|
|
249
|
+
metaPixelEvent('PageView');
|
|
250
|
+
}
|
|
251
|
+
}, [has, location.pathname, location.search]);
|
|
252
|
+
|
|
253
|
+
return null;
|
|
254
|
+
}
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
## Consent and privacy
|
|
258
|
+
|
|
259
|
+
Meta's GDPR guidance documents `fbq('consent', 'revoke')` and `fbq('consent', 'grant')`. c15t handles those calls for you after the script has loaded once:
|
|
260
|
+
|
|
261
|
+
* Before marketing consent, c15t does not load Meta Pixel.
|
|
262
|
+
* When marketing consent is granted, c15t loads Meta Pixel and calls `fbq('consent', 'grant')`.
|
|
263
|
+
* When marketing consent is revoked later, c15t keeps the script in place and calls `fbq('consent', 'revoke')`.
|
|
264
|
+
|
|
265
|
+
For US state privacy rules, Meta supports [Data Processing Options](https://developers.facebook.com/docs/meta-pixel/implementation/data-processing-options). Pass `dataProcessingOptions` to queue `fbq('dataProcessingOptions', ...)` before `fbq('init', ...)`.
|
|
266
|
+
|
|
267
|
+
Let Meta geolocate Limited Data Use:
|
|
268
|
+
|
|
269
|
+
```ts
|
|
270
|
+
metaPixel({
|
|
271
|
+
pixelId: '123456789012345',
|
|
272
|
+
dataProcessingOptions: {
|
|
273
|
+
options: ['LDU'],
|
|
274
|
+
country: 0,
|
|
275
|
+
state: 0,
|
|
276
|
+
},
|
|
277
|
+
});
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
Enable Limited Data Use for California:
|
|
281
|
+
|
|
282
|
+
```ts
|
|
283
|
+
metaPixel({
|
|
284
|
+
pixelId: '123456789012345',
|
|
285
|
+
dataProcessingOptions: {
|
|
286
|
+
options: ['LDU'],
|
|
287
|
+
country: 1,
|
|
288
|
+
state: 1000,
|
|
289
|
+
},
|
|
290
|
+
});
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
Explicitly disable Limited Data Use:
|
|
294
|
+
|
|
295
|
+
```ts
|
|
296
|
+
metaPixel({
|
|
297
|
+
pixelId: '123456789012345',
|
|
298
|
+
dataProcessingOptions: {
|
|
299
|
+
options: [],
|
|
300
|
+
},
|
|
301
|
+
});
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
## Catalog and collaborative ads
|
|
305
|
+
|
|
306
|
+
For Advantage+ catalog ads, Meta requires `ViewContent`, `AddToCart`, and `Purchase` events to include either `content_ids` or `contents`. IDs must match your product catalog. See Meta's [Advantage+ catalog ads guide](https://developers.facebook.com/docs/meta-pixel/get-started/advantage-catalog-ads).
|
|
307
|
+
|
|
308
|
+
```ts
|
|
309
|
+
metaPixelEvent('ViewContent', {
|
|
310
|
+
content_ids: ['SKU-123'],
|
|
311
|
+
content_type: 'product',
|
|
312
|
+
value: 49.99,
|
|
313
|
+
currency: 'USD',
|
|
314
|
+
});
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
For collaborative ads, Meta requires `content_type: 'product'`; `AddToCart` and `Purchase` also require `contents`, `currency`, and `value`. See Meta's [collaborative ads pixel guide](https://developers.facebook.com/docs/meta-pixel/implementation/pixel-for-collaborative-ads).
|
|
318
|
+
|
|
319
|
+
```ts
|
|
320
|
+
metaPixelEvent('AddToCart', {
|
|
321
|
+
contents: [{ id: 'SKU-123', quantity: 2 }],
|
|
322
|
+
content_type: 'product',
|
|
323
|
+
value: 99.98,
|
|
324
|
+
currency: 'USD',
|
|
325
|
+
});
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
## Movies
|
|
329
|
+
|
|
330
|
+
Meta's [movies pixel guide](https://developers.facebook.com/docs/meta-pixel/implementation/pixel-for-movies) uses the standard events `ViewContent`, `InitiateCheckout`, `Purchase`, and `PageView` with movie-specific parameters such as `movieref`.
|
|
331
|
+
|
|
332
|
+
```ts
|
|
333
|
+
metaPixelEvent('InitiateCheckout', {
|
|
334
|
+
content_ids: ['movie-1|theater-1|2026-05-11T19:30:00-07:00'],
|
|
335
|
+
movieref: 'fb_movies',
|
|
336
|
+
num_items: 2,
|
|
337
|
+
});
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
## Multiple pixels
|
|
341
|
+
|
|
342
|
+
Meta's [multiple pixel guidance](https://developers.facebook.com/docs/facebook-pixel/implementation/accurate_event_tracking) warns that `fbq('track', ...)` and `fbq('trackCustom', ...)` fire for every initialized pixel ID. If another integration or tag manager initializes more than one pixel, use the single-pixel helpers to prevent overfiring.
|
|
343
|
+
|
|
344
|
+
```ts
|
|
345
|
+
import {
|
|
346
|
+
metaPixelSingleCustomEvent,
|
|
347
|
+
metaPixelSingleEvent,
|
|
348
|
+
} from '@c15t/scripts/meta-pixel';
|
|
349
|
+
|
|
350
|
+
metaPixelSingleEvent('PIXEL-A', 'Purchase', {
|
|
351
|
+
value: 149.97,
|
|
352
|
+
currency: 'USD',
|
|
353
|
+
});
|
|
354
|
+
|
|
355
|
+
metaPixelSingleCustomEvent('PIXEL-B', 'Step4', {
|
|
356
|
+
funnel: 'checkout',
|
|
357
|
+
});
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
## Custom audiences and sharing
|
|
361
|
+
|
|
362
|
+
Meta custom audiences are configured in Events Manager after standard events, custom events, or custom conversions are being received. The c15t integration sends the browser events; audience rules are managed in Meta. See Meta's [custom audiences guide](https://developers.facebook.com/docs/facebook-pixel/implementation/custom-audiences).
|
|
363
|
+
|
|
364
|
+
Pixel sharing between businesses or agencies is also managed through Meta Business Manager or the Business Management APIs, not through the browser script. See Meta's [pixel sharing guide](https://developers.facebook.com/docs/marketing-api/business-asset-management/guides/business-pixel-sharing).
|
|
365
|
+
|
|
37
366
|
## Types
|
|
38
367
|
|
|
39
368
|
### MetaPixelOptions
|
|
@@ -41,8 +370,25 @@ metaPixelEvent('Purchase', { value: 10.0, currency: 'USD' });
|
|
|
41
370
|
|Property|Type|Description|Default|Required|
|
|
42
371
|
|:--|:--|:--|:--|:--:|
|
|
43
372
|
|pixelId|string|Your Meta Pixel ID|-|✅ Required|
|
|
373
|
+
|initOptions|Record\<string, unknown> \|undefined|Optional payload passed as the third argument to \`fbq('init', ...)\`.|-|Optional|
|
|
374
|
+
|trackPageView|boolean \|undefined|Queue the default \`PageView\` event during setup.|true|Optional|
|
|
375
|
+
|dataProcessingOptions|MetaPixelDataProcessingOptions \|undefined|Optional Meta data processing options, such as Limited Data Use. When provided, c15t queues \`fbq('dataProcessingOptions', ...)\` before \`fbq('init', ...)\`.|-|Optional|
|
|
44
376
|
|scriptSrc|string \|undefined|Meta Pixel loader URL.|-|Optional|
|
|
45
377
|
|
|
378
|
+
### MetaPixelDataProcessingOptions
|
|
379
|
+
|
|
380
|
+
|Property|Type|Description|Default|Required|
|
|
381
|
+
|:--|:--|:--|:--|:--:|
|
|
382
|
+
|options|"LDU"\[] \|\[]|Data processing flags sent to Meta before \`init\`. Use \`\['LDU']\` to enable Limited Data Use, or \`\[]\` to explicitly disable it.|-|✅ Required|
|
|
383
|
+
|country|number \|undefined|Meta country code. Use \`0\` to let Meta geolocate the event or \`1\` for USA.|-|Optional|
|
|
384
|
+
|state|number \|undefined|Meta state code. Use \`0\` to let Meta geolocate the event.|-|Optional|
|
|
385
|
+
|
|
386
|
+
### MetaPixelEventOptions
|
|
387
|
+
|
|
388
|
+
|Property|Type|Description|Default|Required|
|
|
389
|
+
|:--|:--|:--|:--|:--:|
|
|
390
|
+
|eventID|[string \|undefined](https://developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events)|Event ID used to deduplicate browser events against Conversions API events.|-|Optional|
|
|
391
|
+
|
|
46
392
|
### Script
|
|
47
393
|
|
|
48
394
|
|Property|Type|Description|Default|Required|
|
|
@@ -130,17 +476,18 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
130
476
|
|AddToCart|AddToCartParams|-|-|✅ Required|
|
|
131
477
|
|AddToWishlist|AddToWishlistParams|-|-|✅ Required|
|
|
132
478
|
|CompleteRegistration|CompleteRegistrationParams|-|-|✅ Required|
|
|
133
|
-
|Contact|
|
|
134
|
-
|CustomizeProduct|
|
|
135
|
-
|Donate|
|
|
136
|
-
|FindLocation|
|
|
479
|
+
|Contact|ContactParams|-|-|✅ Required|
|
|
480
|
+
|CustomizeProduct|CustomizeProductParams|-|-|✅ Required|
|
|
481
|
+
|Donate|DonateParams|-|-|✅ Required|
|
|
482
|
+
|FindLocation|FindLocationParams|-|-|✅ Required|
|
|
137
483
|
|InitiateCheckout|InitiateCheckoutParams|-|-|✅ Required|
|
|
138
484
|
|Lead|LeadParams|-|-|✅ Required|
|
|
485
|
+
|PageView|FbqCustomParams|-|-|✅ Required|
|
|
139
486
|
|Purchase|PurchaseParams|-|-|✅ Required|
|
|
140
|
-
|Schedule|
|
|
487
|
+
|Schedule|ScheduleParams|-|-|✅ Required|
|
|
141
488
|
|Search|SearchParams|-|-|✅ Required|
|
|
142
489
|
|StartTrial|StartTrialParams|-|-|✅ Required|
|
|
143
|
-
|SubmitApplication|
|
|
490
|
+
|SubmitApplication|SubmitApplicationParams|-|-|✅ Required|
|
|
144
491
|
|Subscribe|SubscribeParams|-|-|✅ Required|
|
|
145
492
|
|ViewContent|ViewContentParams|-|-|✅ Required|
|
|
146
493
|
|
|
@@ -180,7 +527,7 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
180
527
|
|value|number \|undefined|-|-|Optional|
|
|
181
528
|
|status|boolean \|undefined|-|-|Optional|
|
|
182
529
|
|
|
183
|
-
#### `Contact`
|
|
530
|
+
#### `Contact` ContactParams
|
|
184
531
|
|
|
185
532
|
|Property|Type|Description|Default|Required|
|
|
186
533
|
|:--|:--|:--|:--|:--:|
|
|
@@ -190,13 +537,14 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
190
537
|
|content\_type|"product" \|"product\_group" \|undefined|-|-|Optional|
|
|
191
538
|
|contents|FbqContent \|undefined|-|-|Optional|
|
|
192
539
|
|currency|string \|undefined|-|-|Optional|
|
|
540
|
+
|delivery\_category|"in\_store" \|"curbside" \|"home\_delivery" \|undefined|-|-|Optional|
|
|
193
541
|
|num\_items|number \|undefined|-|-|Optional|
|
|
194
542
|
|predicted\_ltv|number \|undefined|-|-|Optional|
|
|
195
543
|
|search\_string|string \|undefined|-|-|Optional|
|
|
196
544
|
|status|boolean \|undefined|-|-|Optional|
|
|
197
545
|
|value|number \|undefined|-|-|Optional|
|
|
198
546
|
|
|
199
|
-
#### `CustomizeProduct`
|
|
547
|
+
#### `CustomizeProduct` CustomizeProductParams
|
|
200
548
|
|
|
201
549
|
|Property|Type|Description|Default|Required|
|
|
202
550
|
|:--|:--|:--|:--|:--:|
|
|
@@ -206,13 +554,14 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
206
554
|
|content\_type|"product" \|"product\_group" \|undefined|-|-|Optional|
|
|
207
555
|
|contents|FbqContent \|undefined|-|-|Optional|
|
|
208
556
|
|currency|string \|undefined|-|-|Optional|
|
|
557
|
+
|delivery\_category|"in\_store" \|"curbside" \|"home\_delivery" \|undefined|-|-|Optional|
|
|
209
558
|
|num\_items|number \|undefined|-|-|Optional|
|
|
210
559
|
|predicted\_ltv|number \|undefined|-|-|Optional|
|
|
211
560
|
|search\_string|string \|undefined|-|-|Optional|
|
|
212
561
|
|status|boolean \|undefined|-|-|Optional|
|
|
213
562
|
|value|number \|undefined|-|-|Optional|
|
|
214
563
|
|
|
215
|
-
#### `Donate`
|
|
564
|
+
#### `Donate` DonateParams
|
|
216
565
|
|
|
217
566
|
|Property|Type|Description|Default|Required|
|
|
218
567
|
|:--|:--|:--|:--|:--:|
|
|
@@ -222,13 +571,14 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
222
571
|
|content\_type|"product" \|"product\_group" \|undefined|-|-|Optional|
|
|
223
572
|
|contents|FbqContent \|undefined|-|-|Optional|
|
|
224
573
|
|currency|string \|undefined|-|-|Optional|
|
|
574
|
+
|delivery\_category|"in\_store" \|"curbside" \|"home\_delivery" \|undefined|-|-|Optional|
|
|
225
575
|
|num\_items|number \|undefined|-|-|Optional|
|
|
226
576
|
|predicted\_ltv|number \|undefined|-|-|Optional|
|
|
227
577
|
|search\_string|string \|undefined|-|-|Optional|
|
|
228
578
|
|status|boolean \|undefined|-|-|Optional|
|
|
229
579
|
|value|number \|undefined|-|-|Optional|
|
|
230
580
|
|
|
231
|
-
#### `FindLocation`
|
|
581
|
+
#### `FindLocation` FindLocationParams
|
|
232
582
|
|
|
233
583
|
|Property|Type|Description|Default|Required|
|
|
234
584
|
|:--|:--|:--|:--|:--:|
|
|
@@ -238,6 +588,7 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
238
588
|
|content\_type|"product" \|"product\_group" \|undefined|-|-|Optional|
|
|
239
589
|
|contents|FbqContent \|undefined|-|-|Optional|
|
|
240
590
|
|currency|string \|undefined|-|-|Optional|
|
|
591
|
+
|delivery\_category|"in\_store" \|"curbside" \|"home\_delivery" \|undefined|-|-|Optional|
|
|
241
592
|
|num\_items|number \|undefined|-|-|Optional|
|
|
242
593
|
|predicted\_ltv|number \|undefined|-|-|Optional|
|
|
243
594
|
|search\_string|string \|undefined|-|-|Optional|
|
|
@@ -272,7 +623,7 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
272
623
|
|currency|string|-|-|Optional|
|
|
273
624
|
|value|number|-|-|Optional|
|
|
274
625
|
|
|
275
|
-
#### `Schedule`
|
|
626
|
+
#### `Schedule` ScheduleParams
|
|
276
627
|
|
|
277
628
|
|Property|Type|Description|Default|Required|
|
|
278
629
|
|:--|:--|:--|:--|:--:|
|
|
@@ -282,6 +633,7 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
282
633
|
|content\_type|"product" \|"product\_group" \|undefined|-|-|Optional|
|
|
283
634
|
|contents|FbqContent \|undefined|-|-|Optional|
|
|
284
635
|
|currency|string \|undefined|-|-|Optional|
|
|
636
|
+
|delivery\_category|"in\_store" \|"curbside" \|"home\_delivery" \|undefined|-|-|Optional|
|
|
285
637
|
|num\_items|number \|undefined|-|-|Optional|
|
|
286
638
|
|predicted\_ltv|number \|undefined|-|-|Optional|
|
|
287
639
|
|search\_string|string \|undefined|-|-|Optional|
|
|
@@ -307,7 +659,7 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
307
659
|
|value|number \|undefined|-|-|Optional|
|
|
308
660
|
|predicted\_ltv|number \|undefined|-|-|Optional|
|
|
309
661
|
|
|
310
|
-
#### `SubmitApplication`
|
|
662
|
+
#### `SubmitApplication` SubmitApplicationParams
|
|
311
663
|
|
|
312
664
|
|Property|Type|Description|Default|Required|
|
|
313
665
|
|:--|:--|:--|:--|:--:|
|
|
@@ -317,6 +669,7 @@ Callback executed whenever the consent store is changed. This callback only appl
|
|
|
317
669
|
|content\_type|"product" \|"product\_group" \|undefined|-|-|Optional|
|
|
318
670
|
|contents|FbqContent \|undefined|-|-|Optional|
|
|
319
671
|
|currency|string \|undefined|-|-|Optional|
|
|
672
|
+
|delivery\_category|"in\_store" \|"curbside" \|"home\_delivery" \|undefined|-|-|Optional|
|
|
320
673
|
|num\_items|number \|undefined|-|-|Optional|
|
|
321
674
|
|predicted\_ltv|number \|undefined|-|-|Optional|
|
|
322
675
|
|search\_string|string \|undefined|-|-|Optional|
|