This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"textPayload": "Hello", | |
"channelConfig": { | |
"id": 1169, | |
"all_markets": true, | |
"market_groups": [], | |
"label": "Prototypin", | |
"live": true, | |
"debug": true, | |
"prototypingEnabled": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"insertId": "66fb100c000ed4dbaaa1192f", | |
"jsonPayload": { | |
"client": "vuori-clothing.myshopify.com", | |
"extra": { | |
"type": "Sending Event", | |
"event": { | |
"data": [ | |
{ | |
"user": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"partialFailureError": { | |
"code": 3, | |
// Unfortuneatly it seems only the first error is highlighted. | |
// To reference the details of each error we'll need to index into the "details" array based on the empty objects noted below | |
"message": "Multiple errors in ‘details’. First error: The provided user identifiers are not supported. Use only hashed email or phone number and try again., at conversions[0].user_identifiers[0]", | |
"details": [ | |
{ | |
"@type": "type.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure", | |
"errors": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"error": { | |
"message": "(#100) Missing Permission", | |
"type": "OAuthException", | |
"code": 100, | |
"fbtrace_id": "ArwbZb_gDgTYZIONKpgNfmx" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"event_name": "Purchase_NewCustomer", | |
"event_time": 1713300268, | |
"action_source": "website", | |
"user_data": { | |
"em": [ | |
"7b17fb0bd173f625b58636fb796407c22b3d16fc78302d79f0fd30c2fc2fc068" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type MixpanelEventPayload = { | |
event?: string; // event name | |
properties: { | |
$source: "elevar"; | |
ip?: string; | |
token: string; // project token input by user | |
time: number; // milliseconds since epoch | |
$insert_id: string | number; // event id, | |
distinct_id?: string; // user id | |
$browser?: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type KlaviyoEventPayload = { | |
data: { | |
type: "event"; | |
attributes: { | |
value?: number; | |
unique_id: string; // event_id | |
profile: { | |
// One of email or phone is required on every API call | |
$email: string; | |
$first_name?: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message": "There were 1 invalid conversion events. None were processed.", | |
"invalid_events": [ | |
{ | |
"error_message": "there was a problem validating event_type: event_type with custom_event_name must be a Custom event: Purchase", | |
"event": { | |
"event_at": "2024-03-26T17:51:01-04:00", | |
"event_type": { | |
"tracking_type": "Purchase", | |
"custom_event_name": "string" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="module"> | |
try { | |
const settings = {}; | |
const config = (await import("https://shopify-gtm-suite.getelevar.com/configs/41192d94c4af24912cec0b65eb5e29a0b3ba6634/config.js")).default; | |
const scriptUrl = settings.proxyPath | |
? `${settings.proxyPath}${config.script_src_custom_pages_proxied}` | |
: config.script_src_custom_pages; | |
if (scriptUrl) { | |
const { handler } = await import(scriptUrl); |
NewerOlder