@getlatedev/node 0.2.1730 → 0.2.1732
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/dist/index.d.mts +58 -4
- package/dist/index.d.ts +58 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -0
- package/src/generated/types.gen.ts +58 -4
package/dist/index.d.mts
CHANGED
|
@@ -11218,6 +11218,52 @@ type ConversionAction = {
|
|
|
11218
11218
|
};
|
|
11219
11219
|
type ConversionAuditAnswer = {
|
|
11220
11220
|
report: ConversionAuditReport;
|
|
11221
|
+
/**
|
|
11222
|
+
* Each ad network with its final setup and leak, computed exactly as the public report page shows them, best setup first.
|
|
11223
|
+
*/
|
|
11224
|
+
networks: Array<{
|
|
11225
|
+
/**
|
|
11226
|
+
* Stable platform key (meta, google, tiktok, ...), as in `report.platforms`.
|
|
11227
|
+
*/
|
|
11228
|
+
key: string;
|
|
11229
|
+
/**
|
|
11230
|
+
* Short network name (Meta, Google, TikTok, ...).
|
|
11231
|
+
*/
|
|
11232
|
+
name: string;
|
|
11233
|
+
/**
|
|
11234
|
+
* How the network gets its conversions: `verified`, `likely` or `possible` server path, `not-visible` (browser pixel, no server path visible), `not-firing` (installed, sent nothing), `configured` (tag manager only, never seen firing, not at risk) or `missing`.
|
|
11235
|
+
*/
|
|
11236
|
+
setup: 'verified' | 'likely' | 'possible' | 'not-visible' | 'not-firing' | 'configured' | 'missing';
|
|
11237
|
+
/**
|
|
11238
|
+
* Share of this network's conversions at risk, 0-100 (0 once a server path is verified). Null when the network has no working browser pixel to measure.
|
|
11239
|
+
*/
|
|
11240
|
+
leakPct: (number) | null;
|
|
11241
|
+
/**
|
|
11242
|
+
* `zernio-tag` when the pixel comes from the Zernio site tag's settings (it loads the pixel after consent) rather than from the page itself, on a scan that read the page source only.
|
|
11243
|
+
*/
|
|
11244
|
+
loadedBy: ('zernio-tag') | null;
|
|
11245
|
+
}>;
|
|
11246
|
+
/**
|
|
11247
|
+
* The few fixes that matter most, in the order the public report page lists them.
|
|
11248
|
+
*/
|
|
11249
|
+
topFixes: Array<{
|
|
11250
|
+
/**
|
|
11251
|
+
* The action to take.
|
|
11252
|
+
*/
|
|
11253
|
+
title: string;
|
|
11254
|
+
/**
|
|
11255
|
+
* Why it matters on this site.
|
|
11256
|
+
*/
|
|
11257
|
+
why: string;
|
|
11258
|
+
/**
|
|
11259
|
+
* Points the score gains when this fix alone lands, or null when the scan can't tell.
|
|
11260
|
+
*/
|
|
11261
|
+
points: (number) | null;
|
|
11262
|
+
/**
|
|
11263
|
+
* True when what's at stake is data sent without consent rather than lost signal.
|
|
11264
|
+
*/
|
|
11265
|
+
compliance: boolean;
|
|
11266
|
+
}>;
|
|
11221
11267
|
/**
|
|
11222
11268
|
* A prompt to paste into a coding agent. It lists the report's findings, then connecting Zernio, sending conversions server-side and verifying them.
|
|
11223
11269
|
*/
|
|
@@ -11340,6 +11386,10 @@ type ConversionAuditReport = {
|
|
|
11340
11386
|
* The only server path seen is the Zernio site tag relay; `serverSideVerified` says whether its delivery to this platform is proven.
|
|
11341
11387
|
*/
|
|
11342
11388
|
relayedBy?: 'zernio-tag';
|
|
11389
|
+
/**
|
|
11390
|
+
* On a scan that read the page source only: the pixel comes from the Zernio site tag's settings, which load it after consent, not from the page. Its ids are not reported.
|
|
11391
|
+
*/
|
|
11392
|
+
loadedBy?: 'zernio-tag';
|
|
11343
11393
|
/**
|
|
11344
11394
|
* The Zernio site tag on the page belongs to an account whose destination for this platform accepted the site's events in the last 7 days.
|
|
11345
11395
|
*/
|
|
@@ -11447,6 +11497,10 @@ type ConversionAuditReport = {
|
|
|
11447
11497
|
evidence: string;
|
|
11448
11498
|
}>;
|
|
11449
11499
|
note: string;
|
|
11500
|
+
/**
|
|
11501
|
+
* The server-side path that collects on the site's own domain, when the scan saw one.
|
|
11502
|
+
*/
|
|
11503
|
+
firstPartyCollection?: string;
|
|
11450
11504
|
};
|
|
11451
11505
|
consent?: {
|
|
11452
11506
|
/**
|
|
@@ -15674,7 +15728,7 @@ type ForwardingRule = {
|
|
|
15674
15728
|
/**
|
|
15675
15729
|
* Event sources forwarded to this destination; null forwards events from every source.
|
|
15676
15730
|
*/
|
|
15677
|
-
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'postback' | 'form_leads')> | null;
|
|
15731
|
+
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'gohighlevel' | 'postback' | 'form_leads')> | null;
|
|
15678
15732
|
/**
|
|
15679
15733
|
* Only when an `apiSecret` was saved by this request. Google Analytics never confirms a Measurement Protocol API secret, so it is `false` there: the first events in GA4 Realtime prove the secret is right.
|
|
15680
15734
|
*/
|
|
@@ -23065,7 +23119,7 @@ type StoredEvent = {
|
|
|
23065
23119
|
*/
|
|
23066
23120
|
profileId?: string;
|
|
23067
23121
|
/**
|
|
23068
|
-
* Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `stripe`, `hubspot`, `salesforce`, `meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads` or `postback` (an affiliate network's postback to a tracking link).
|
|
23122
|
+
* Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `stripe`, `hubspot`, `salesforce`, `gohighlevel`, `meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`, `form_leads` (a website form or `POST /v1/leads`) or `postback` (an affiliate network's postback to a tracking link).
|
|
23069
23123
|
*/
|
|
23070
23124
|
source?: string;
|
|
23071
23125
|
eventName?: string;
|
|
@@ -28660,7 +28714,7 @@ type WebhookPayloadConversion = {
|
|
|
28660
28714
|
eventTime: string;
|
|
28661
28715
|
receivedAt: string;
|
|
28662
28716
|
/**
|
|
28663
|
-
* Who sent it: `api`, `relay`, a lead form (`meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`), a store (`shopify`, `woocommerce`), `stripe`, `hubspot`, `salesforce`, `web` or `postback` (an affiliate network's postback to a tracking link).
|
|
28717
|
+
* Who sent it: `api`, `relay`, a lead form (`meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`, `form_leads`), a store (`shopify`, `woocommerce`), `stripe`, `hubspot`, `salesforce`, `gohighlevel`, `web` or `postback` (an affiliate network's postback to a tracking link).
|
|
28664
28718
|
*/
|
|
28665
28719
|
source: string;
|
|
28666
28720
|
actionSource?: (string) | null;
|
|
@@ -79771,7 +79825,7 @@ type CreateForwardingRuleData = {
|
|
|
79771
79825
|
/**
|
|
79772
79826
|
* Forward only events from these sources, such as only `web` for a tracked website. Leave it out to forward events from every source.
|
|
79773
79827
|
*/
|
|
79774
|
-
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'postback' | 'form_leads')>;
|
|
79828
|
+
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'gohighlevel' | 'postback' | 'form_leads')>;
|
|
79775
79829
|
/**
|
|
79776
79830
|
* Google Analytics streams only: the stream's Measurement Protocol API secret (GA4 Admin › Data streams). Optional when the connection has edit access, since Zernio then creates it. Checked against Google's validation server, stored encrypted, never returned. Change it with `PATCH /v1/events/forwarding-rules/{ruleId}`.
|
|
79777
79831
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -11218,6 +11218,52 @@ type ConversionAction = {
|
|
|
11218
11218
|
};
|
|
11219
11219
|
type ConversionAuditAnswer = {
|
|
11220
11220
|
report: ConversionAuditReport;
|
|
11221
|
+
/**
|
|
11222
|
+
* Each ad network with its final setup and leak, computed exactly as the public report page shows them, best setup first.
|
|
11223
|
+
*/
|
|
11224
|
+
networks: Array<{
|
|
11225
|
+
/**
|
|
11226
|
+
* Stable platform key (meta, google, tiktok, ...), as in `report.platforms`.
|
|
11227
|
+
*/
|
|
11228
|
+
key: string;
|
|
11229
|
+
/**
|
|
11230
|
+
* Short network name (Meta, Google, TikTok, ...).
|
|
11231
|
+
*/
|
|
11232
|
+
name: string;
|
|
11233
|
+
/**
|
|
11234
|
+
* How the network gets its conversions: `verified`, `likely` or `possible` server path, `not-visible` (browser pixel, no server path visible), `not-firing` (installed, sent nothing), `configured` (tag manager only, never seen firing, not at risk) or `missing`.
|
|
11235
|
+
*/
|
|
11236
|
+
setup: 'verified' | 'likely' | 'possible' | 'not-visible' | 'not-firing' | 'configured' | 'missing';
|
|
11237
|
+
/**
|
|
11238
|
+
* Share of this network's conversions at risk, 0-100 (0 once a server path is verified). Null when the network has no working browser pixel to measure.
|
|
11239
|
+
*/
|
|
11240
|
+
leakPct: (number) | null;
|
|
11241
|
+
/**
|
|
11242
|
+
* `zernio-tag` when the pixel comes from the Zernio site tag's settings (it loads the pixel after consent) rather than from the page itself, on a scan that read the page source only.
|
|
11243
|
+
*/
|
|
11244
|
+
loadedBy: ('zernio-tag') | null;
|
|
11245
|
+
}>;
|
|
11246
|
+
/**
|
|
11247
|
+
* The few fixes that matter most, in the order the public report page lists them.
|
|
11248
|
+
*/
|
|
11249
|
+
topFixes: Array<{
|
|
11250
|
+
/**
|
|
11251
|
+
* The action to take.
|
|
11252
|
+
*/
|
|
11253
|
+
title: string;
|
|
11254
|
+
/**
|
|
11255
|
+
* Why it matters on this site.
|
|
11256
|
+
*/
|
|
11257
|
+
why: string;
|
|
11258
|
+
/**
|
|
11259
|
+
* Points the score gains when this fix alone lands, or null when the scan can't tell.
|
|
11260
|
+
*/
|
|
11261
|
+
points: (number) | null;
|
|
11262
|
+
/**
|
|
11263
|
+
* True when what's at stake is data sent without consent rather than lost signal.
|
|
11264
|
+
*/
|
|
11265
|
+
compliance: boolean;
|
|
11266
|
+
}>;
|
|
11221
11267
|
/**
|
|
11222
11268
|
* A prompt to paste into a coding agent. It lists the report's findings, then connecting Zernio, sending conversions server-side and verifying them.
|
|
11223
11269
|
*/
|
|
@@ -11340,6 +11386,10 @@ type ConversionAuditReport = {
|
|
|
11340
11386
|
* The only server path seen is the Zernio site tag relay; `serverSideVerified` says whether its delivery to this platform is proven.
|
|
11341
11387
|
*/
|
|
11342
11388
|
relayedBy?: 'zernio-tag';
|
|
11389
|
+
/**
|
|
11390
|
+
* On a scan that read the page source only: the pixel comes from the Zernio site tag's settings, which load it after consent, not from the page. Its ids are not reported.
|
|
11391
|
+
*/
|
|
11392
|
+
loadedBy?: 'zernio-tag';
|
|
11343
11393
|
/**
|
|
11344
11394
|
* The Zernio site tag on the page belongs to an account whose destination for this platform accepted the site's events in the last 7 days.
|
|
11345
11395
|
*/
|
|
@@ -11447,6 +11497,10 @@ type ConversionAuditReport = {
|
|
|
11447
11497
|
evidence: string;
|
|
11448
11498
|
}>;
|
|
11449
11499
|
note: string;
|
|
11500
|
+
/**
|
|
11501
|
+
* The server-side path that collects on the site's own domain, when the scan saw one.
|
|
11502
|
+
*/
|
|
11503
|
+
firstPartyCollection?: string;
|
|
11450
11504
|
};
|
|
11451
11505
|
consent?: {
|
|
11452
11506
|
/**
|
|
@@ -15674,7 +15728,7 @@ type ForwardingRule = {
|
|
|
15674
15728
|
/**
|
|
15675
15729
|
* Event sources forwarded to this destination; null forwards events from every source.
|
|
15676
15730
|
*/
|
|
15677
|
-
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'postback' | 'form_leads')> | null;
|
|
15731
|
+
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'gohighlevel' | 'postback' | 'form_leads')> | null;
|
|
15678
15732
|
/**
|
|
15679
15733
|
* Only when an `apiSecret` was saved by this request. Google Analytics never confirms a Measurement Protocol API secret, so it is `false` there: the first events in GA4 Realtime prove the secret is right.
|
|
15680
15734
|
*/
|
|
@@ -23065,7 +23119,7 @@ type StoredEvent = {
|
|
|
23065
23119
|
*/
|
|
23066
23120
|
profileId?: string;
|
|
23067
23121
|
/**
|
|
23068
|
-
* Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `stripe`, `hubspot`, `salesforce`, `meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads` or `postback` (an affiliate network's postback to a tracking link).
|
|
23122
|
+
* Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `stripe`, `hubspot`, `salesforce`, `gohighlevel`, `meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`, `form_leads` (a website form or `POST /v1/leads`) or `postback` (an affiliate network's postback to a tracking link).
|
|
23069
23123
|
*/
|
|
23070
23124
|
source?: string;
|
|
23071
23125
|
eventName?: string;
|
|
@@ -28660,7 +28714,7 @@ type WebhookPayloadConversion = {
|
|
|
28660
28714
|
eventTime: string;
|
|
28661
28715
|
receivedAt: string;
|
|
28662
28716
|
/**
|
|
28663
|
-
* Who sent it: `api`, `relay`, a lead form (`meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`), a store (`shopify`, `woocommerce`), `stripe`, `hubspot`, `salesforce`, `web` or `postback` (an affiliate network's postback to a tracking link).
|
|
28717
|
+
* Who sent it: `api`, `relay`, a lead form (`meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`, `form_leads`), a store (`shopify`, `woocommerce`), `stripe`, `hubspot`, `salesforce`, `gohighlevel`, `web` or `postback` (an affiliate network's postback to a tracking link).
|
|
28664
28718
|
*/
|
|
28665
28719
|
source: string;
|
|
28666
28720
|
actionSource?: (string) | null;
|
|
@@ -79771,7 +79825,7 @@ type CreateForwardingRuleData = {
|
|
|
79771
79825
|
/**
|
|
79772
79826
|
* Forward only events from these sources, such as only `web` for a tracked website. Leave it out to forward events from every source.
|
|
79773
79827
|
*/
|
|
79774
|
-
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'postback' | 'form_leads')>;
|
|
79828
|
+
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'gohighlevel' | 'postback' | 'form_leads')>;
|
|
79775
79829
|
/**
|
|
79776
79830
|
* Google Analytics streams only: the stream's Measurement Protocol API secret (GA4 Admin › Data streams). Optional when the connection has edit access, since Zernio then creates it. Checked against Google's validation server, stored encrypted, never returned. Change it with `PATCH /v1/events/forwarding-rules/{ruleId}`.
|
|
79777
79831
|
*/
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1732",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1732",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -25477,6 +25477,9 @@ export const prepareMedia = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
25477
25477
|
* - `report.visibility: "limited"` means some pixels load through a tag manager or a store platform, so only part of the setup is visible from outside. It does not mean the tracking failed or is missing.
|
|
25478
25478
|
* - `status: "warn"` (browser-only) is the leak: the platform is tracked in the browser but not server-side.
|
|
25479
25479
|
* - `status: "good"` (server-side) means conversions reach the platform server-side, which recovers most of that signal.
|
|
25480
|
+
* - `networks` and `topFixes` are the per-network setup, leak and ordered fixes exactly as the public report page
|
|
25481
|
+
* computes them; read them instead of deriving your own from `report`.
|
|
25482
|
+
*
|
|
25480
25483
|
* - `fixPrompt` is the same fix prompt the Conversion Leak Report page shows: this scan's findings, then the steps to send conversions server-side with `POST /v1/events` and to verify them.
|
|
25481
25484
|
* - To fix the leak with Zernio, follow https://docs.zernio.com/products/server-side-tracking/fix-with-agent: a tracking site, its tag, a forwarding rule per network to the pixel the page runs, then a rescan. A network turns `good` once the site's events reached that pixel in the last 7 days.
|
|
25482
25485
|
* - `publicReport` links the host's public page on is-bleeding.com. A homepage scan that could read the site's pixels becomes that page's snapshot, the same as a scan on is-bleeding.com. Any other scan links the stored snapshot, taken at `scannedAt`, or returns null when the host has none.
|
|
@@ -8976,6 +8976,52 @@ export type ConversionAction = {
|
|
|
8976
8976
|
|
|
8977
8977
|
export type ConversionAuditAnswer = {
|
|
8978
8978
|
report: ConversionAuditReport;
|
|
8979
|
+
/**
|
|
8980
|
+
* Each ad network with its final setup and leak, computed exactly as the public report page shows them, best setup first.
|
|
8981
|
+
*/
|
|
8982
|
+
networks: Array<{
|
|
8983
|
+
/**
|
|
8984
|
+
* Stable platform key (meta, google, tiktok, ...), as in `report.platforms`.
|
|
8985
|
+
*/
|
|
8986
|
+
key: string;
|
|
8987
|
+
/**
|
|
8988
|
+
* Short network name (Meta, Google, TikTok, ...).
|
|
8989
|
+
*/
|
|
8990
|
+
name: string;
|
|
8991
|
+
/**
|
|
8992
|
+
* How the network gets its conversions: `verified`, `likely` or `possible` server path, `not-visible` (browser pixel, no server path visible), `not-firing` (installed, sent nothing), `configured` (tag manager only, never seen firing, not at risk) or `missing`.
|
|
8993
|
+
*/
|
|
8994
|
+
setup: 'verified' | 'likely' | 'possible' | 'not-visible' | 'not-firing' | 'configured' | 'missing';
|
|
8995
|
+
/**
|
|
8996
|
+
* Share of this network's conversions at risk, 0-100 (0 once a server path is verified). Null when the network has no working browser pixel to measure.
|
|
8997
|
+
*/
|
|
8998
|
+
leakPct: (number) | null;
|
|
8999
|
+
/**
|
|
9000
|
+
* `zernio-tag` when the pixel comes from the Zernio site tag's settings (it loads the pixel after consent) rather than from the page itself, on a scan that read the page source only.
|
|
9001
|
+
*/
|
|
9002
|
+
loadedBy: ('zernio-tag') | null;
|
|
9003
|
+
}>;
|
|
9004
|
+
/**
|
|
9005
|
+
* The few fixes that matter most, in the order the public report page lists them.
|
|
9006
|
+
*/
|
|
9007
|
+
topFixes: Array<{
|
|
9008
|
+
/**
|
|
9009
|
+
* The action to take.
|
|
9010
|
+
*/
|
|
9011
|
+
title: string;
|
|
9012
|
+
/**
|
|
9013
|
+
* Why it matters on this site.
|
|
9014
|
+
*/
|
|
9015
|
+
why: string;
|
|
9016
|
+
/**
|
|
9017
|
+
* Points the score gains when this fix alone lands, or null when the scan can't tell.
|
|
9018
|
+
*/
|
|
9019
|
+
points: (number) | null;
|
|
9020
|
+
/**
|
|
9021
|
+
* True when what's at stake is data sent without consent rather than lost signal.
|
|
9022
|
+
*/
|
|
9023
|
+
compliance: boolean;
|
|
9024
|
+
}>;
|
|
8979
9025
|
/**
|
|
8980
9026
|
* A prompt to paste into a coding agent. It lists the report's findings, then connecting Zernio, sending conversions server-side and verifying them.
|
|
8981
9027
|
*/
|
|
@@ -9101,6 +9147,10 @@ export type ConversionAuditReport = {
|
|
|
9101
9147
|
* The only server path seen is the Zernio site tag relay; `serverSideVerified` says whether its delivery to this platform is proven.
|
|
9102
9148
|
*/
|
|
9103
9149
|
relayedBy?: 'zernio-tag';
|
|
9150
|
+
/**
|
|
9151
|
+
* On a scan that read the page source only: the pixel comes from the Zernio site tag's settings, which load it after consent, not from the page. Its ids are not reported.
|
|
9152
|
+
*/
|
|
9153
|
+
loadedBy?: 'zernio-tag';
|
|
9104
9154
|
/**
|
|
9105
9155
|
* The Zernio site tag on the page belongs to an account whose destination for this platform accepted the site's events in the last 7 days.
|
|
9106
9156
|
*/
|
|
@@ -9208,6 +9258,10 @@ export type ConversionAuditReport = {
|
|
|
9208
9258
|
evidence: string;
|
|
9209
9259
|
}>;
|
|
9210
9260
|
note: string;
|
|
9261
|
+
/**
|
|
9262
|
+
* The server-side path that collects on the site's own domain, when the scan saw one.
|
|
9263
|
+
*/
|
|
9264
|
+
firstPartyCollection?: string;
|
|
9211
9265
|
};
|
|
9212
9266
|
consent?: {
|
|
9213
9267
|
/**
|
|
@@ -13607,7 +13661,7 @@ export type ForwardingRule = {
|
|
|
13607
13661
|
/**
|
|
13608
13662
|
* Event sources forwarded to this destination; null forwards events from every source.
|
|
13609
13663
|
*/
|
|
13610
|
-
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'postback' | 'form_leads')> | null;
|
|
13664
|
+
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'gohighlevel' | 'postback' | 'form_leads')> | null;
|
|
13611
13665
|
/**
|
|
13612
13666
|
* Only when an `apiSecret` was saved by this request. Google Analytics never confirms a Measurement Protocol API secret, so it is `false` there: the first events in GA4 Realtime prove the secret is right.
|
|
13613
13667
|
*/
|
|
@@ -21362,7 +21416,7 @@ export type StoredEvent = {
|
|
|
21362
21416
|
*/
|
|
21363
21417
|
profileId?: string;
|
|
21364
21418
|
/**
|
|
21365
|
-
* Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `stripe`, `hubspot`, `salesforce`, `meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads` or `postback` (an affiliate network's postback to a tracking link).
|
|
21419
|
+
* Where the event came from: `api`, `relay`, `web`, `shopify`, `woocommerce`, `stripe`, `hubspot`, `salesforce`, `gohighlevel`, `meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`, `form_leads` (a website form or `POST /v1/leads`) or `postback` (an affiliate network's postback to a tracking link).
|
|
21366
21420
|
*/
|
|
21367
21421
|
source?: string;
|
|
21368
21422
|
eventName?: string;
|
|
@@ -27208,7 +27262,7 @@ export type WebhookPayloadConversion = {
|
|
|
27208
27262
|
eventTime: string;
|
|
27209
27263
|
receivedAt: string;
|
|
27210
27264
|
/**
|
|
27211
|
-
* Who sent it: `api`, `relay`, a lead form (`meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`), a store (`shopify`, `woocommerce`), `stripe`, `hubspot`, `salesforce`, `web` or `postback` (an affiliate network's postback to a tracking link).
|
|
27265
|
+
* Who sent it: `api`, `relay`, a lead form (`meta_leads`, `google_leads`, `linkedin_leads`, `tiktok_leads`, `form_leads`), a store (`shopify`, `woocommerce`), `stripe`, `hubspot`, `salesforce`, `gohighlevel`, `web` or `postback` (an affiliate network's postback to a tracking link).
|
|
27212
27266
|
*/
|
|
27213
27267
|
source: string;
|
|
27214
27268
|
actionSource?: (string) | null;
|
|
@@ -81757,7 +81811,7 @@ export type CreateForwardingRuleData = {
|
|
|
81757
81811
|
/**
|
|
81758
81812
|
* Forward only events from these sources, such as only `web` for a tracked website. Leave it out to forward events from every source.
|
|
81759
81813
|
*/
|
|
81760
|
-
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'postback' | 'form_leads')>;
|
|
81814
|
+
sources?: Array<('api' | 'relay' | 'hubspot' | 'meta_leads' | 'google_leads' | 'linkedin_leads' | 'tiktok_leads' | 'shopify' | 'woocommerce' | 'stripe' | 'web' | 'salesforce' | 'gohighlevel' | 'postback' | 'form_leads')>;
|
|
81761
81815
|
/**
|
|
81762
81816
|
* Google Analytics streams only: the stream's Measurement Protocol API secret (GA4 Admin › Data streams). Optional when the connection has edit access, since Zernio then creates it. Checked against Google's validation server, stored encrypted, never returned. Change it with `PATCH /v1/events/forwarding-rules/{ruleId}`.
|
|
81763
81817
|
*/
|