brainy-iron-749
12/07/2023, 9:00 AMJS source is being used for multiples destinations such as Amplitude, Mixpanel, BigQuery and GA4.
If the IP Address is used to calculate the geo location, I can confirm that that value is available in the payload for all destinations except GA4.
GA4 destination - sample playload:
{
"body": {
"XML": {},
"FORM": {},
"JSON": {
"events": [
{
"name": "governance_viewProposal_clicked",
"params": {
"page_title": "Aragon App",
"session_id": 1701938866058,
"dao_address": "0x9c25a6b1bf3f6fd2f68a62169c043045c2460482",
"proposal_id": "0x899d49f22e105c2be505fc6c19c36aba285d437c_0x1d",
"page_location": "https://app.aragon.org/",
"page_referrer": "$direct",
"engagement_time_msec": 1
}
}
],
"client_id": "17f7bb66-26e2-469c-919b-cb35787b64c0",
"user_properties": {
"network": {
"value": "polygon"
}
},
"timestamp_micros": 1701939407000000
},
"JSON_ARRAY": {}
},
"type": "REST",
"files": {},
"method": "POST",
"params": {
"api_secret": "xxxxxxxxxxxxxxxxxxxxx",
"measurement_id": "G-BQY6YGQZLY"
},
"userId": "",
"headers": {
"HOST": "www.google-analytics.com",
"Content-Type": "application/json"
},
"version": "1",
"endpoint": "https://www.google-analytics.com/mp/collect"
}millions-activity-52391
12/07/2023, 9:00 AMbrainy-iron-749
12/07/2023, 9:05 AM{
"anonymousId": "325454a1-833e-4941-b372-f4c0f5d3c024",
"channel": "web",
"context": {
"app": {
"build": "1.0.0",
"name": "RudderLabs JavaScript SDK",
"namespace": "com.rudderlabs.javascript",
"version": "2.20.0"
},
"campaign": {
"source": "Trust_iOS_Browser"
},
"library": {
"name": "RudderLabs JavaScript SDK",
"version": "2.20.0"
},
"locale": "en-US",
"os": {
"name": "",
"version": ""
},
"page": {
"initial_referrer": "$direct",
"initial_referring_domain": "",
"path": "/daos/ethereum/changpengzhao.dao.eth/finance",
"referrer": "$direct",
"referring_domain": "",
"search": "?utm_source=Trust_iOS_Browser",
"tab_url": "https://app.aragon.org/?utm_source=Trust_iOS_Browser#/daos/ethereum/changpengzhao.dao.eth/finance",
"title": "Aragon App",
"url": "https://app.aragon.org/?utm_source=Trust_iOS_Browser"
},
"screen": {
"density": 3,
"height": 852,
"innerHeight": 671,
"innerWidth": 393,
"width": 393
},
"sessionId": 1701939585683,
"traits": {
"network": "ethereum",
"wallet_address": "0x9624E4CFD6AF51c2AA15d4f65b8874Ff8007cE5B",
"wallet_provider": "eip-1193:"
},
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148"
},
"integrations": {
"All": true
},
"messageId": "1701939669506000-a6cbceec-d8ff-43ee-bf41-b1fde82a414e",
"originalTimestamp": "2023-12-07T09:01:09.506Z",
"properties": {
"initial_referrer": "$direct",
"initial_referring_domain": "",
"path": "/daos/ethereum/changpengzhao.dao.eth/finance",
"referrer": "$direct",
"referring_domain": "",
"search": "?utm_source=Trust_iOS_Browser",
"tab_url": "https://app.aragon.org/?utm_source=Trust_iOS_Browser#/daos/ethereum/changpengzhao.dao.eth/finance",
"title": "Aragon App",
"url": "https://app.aragon.org/?utm_source=Trust_iOS_Browser"
},
"rudderId": "0e09fc47-378a-4b3a-8a8b-3e694f0614bb",
"sentAt": "2023-12-07T09:01:09.507Z",
"type": "page",
"userId": ""
}
Appreciate your support.
Regards.millions-activity-52391
12/07/2023, 9:58 AMbrainy-iron-749
12/07/2023, 10:28 AM1w1wbZHgsOE2EKgy0MPSEs1EwvO
Appreciate your support.millions-activity-52391
12/07/2023, 11:06 AMmillions-activity-52391
12/07/2023, 11:07 AMbrainy-iron-749
12/07/2023, 12:08 PM{
"BuildDate": "2023-11-09,13:59:47",
"BuiltBy": "0c72c09a53f3c228ae3e792d694186b3f7715027",
"Commit": "0c72c09a53f3c228ae3e792d694186b3f7715027",
"Features": [
"gzip-req-payload"
],
"GitUrl": "",
"Major": "",
"Minor": "",
"Patch": "",
"TransformerVersion": "1.41.1",
"Version": "1.16.3"
}brainy-iron-749
12/07/2023, 12:11 PM2068cNsYMnGyc7NFyQGCEzmp0xS and destinationID is 2LpLnKnMQ4fBPDdScZbExZSDqwL .
Thanks again.millions-activity-52391
12/07/2023, 1:19 PMbrainy-iron-749
12/07/2023, 1:40 PMmillions-activity-52391
12/07/2023, 1:53 PMbrainy-iron-749
12/07/2023, 3:46 PMimage:
server:
name: rudderlabs/rudder-server
tag: 1-alpine
containerPort: 8080
transformer:
name: rudderlabs/rudder-transformer
tag: latest
containerPort: 9090
However, when redeploying both docker images, transformer got 1.41.1 always (3 months ago). The Rudder-Server image has been updated.brainy-iron-749
12/08/2023, 8:44 AM[handleError]:: "[Analytics] 'integration.init()' failed :: GA4_RS :: this.analytics.getSessionId is not a function" index.js:4648:36
error index.js:4648
U5 index.js:10503
S6 index.js:14001
I have "rudder-sdk-js": "^2.20.0" in my package.jsonmillions-activity-52391
12/08/2023, 12:54 PMhelpful-daybreak-79835
12/12/2023, 4:34 AMbrainy-iron-749
12/12/2023, 3:54 PM