Skip to content

Commit eb0a401

Browse files
adding default mapping for session_attributes_encoded field
1 parent 5c07758 commit eb0a401

File tree

1 file changed

+5
-3
lines changed
  • packages/destination-actions/src/destinations/google-enhanced-conversions/uploadClickConversion2

1 file changed

+5
-3
lines changed

packages/destination-actions/src/destinations/google-enhanced-conversions/uploadClickConversion2/index.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ const action: ActionDefinition<Settings, Payload> = {
6464
},
6565
user_ip_address: {
6666
label: 'User IP Address',
67-
description:
68-
'The IP address of the user who initiated the conversion.',
67+
description: 'The IP address of the user who initiated the conversion.',
6968
type: 'string',
7069
default: {
7170
'@path': '$.context.ip'
@@ -75,7 +74,10 @@ const action: ActionDefinition<Settings, Payload> = {
7574
label: 'Session Attributes (Encoded)',
7675
description:
7776
"A base64url-encoded JSON string containing session attributes collected from the user's browser. This provides additional attribution context if gclid, gbraid, or user identifiers are missing.",
78-
type: 'string'
77+
type: 'string',
78+
default: {
79+
'@path': '$.integrations.Google Ads Conversions.session_attributes_encoded'
80+
}
7981
},
8082
conversion_timestamp: {
8183
label: 'Conversion Timestamp',

0 commit comments

Comments
 (0)