/
NUTRINTG Google Analytics data integration
NUTRINTG Google Analytics data integration
This section describes how data from Google Analytics are uploaded to the CDP.
Customer Data
Flow consists of three parts
Web → Middleware
# | Step | Description |
---|---|---|
1 | User enters the website |
|
2 | GA check if ClientID exist - if no creats one and put into COOKIE |
|
3 | User fills the form and send | |
4 | Shop back-end receive the form with ClientID included in the cookie header |
|
5 | Back-end extracts the ClientID from header and send form-data together with Client ID |
"MyProperty2": " Property2", "MyProperty3": { "MyProperty4": " Property4" Full profile payload schema, here: NUTRINTG Profile API |
Middleware
# | Step | Description |
---|---|---|
6 | MW Profile Service collects and validates data |
|
6a | Communication |
|
7 | Queue exchange (duplicate request and send a request to two flow) | Data from Google Analytics will be uploaded via Profile Update. Queue Exchange sends a request to standard Mule Queue and GA loop queue. As a result profile without GA data is created in CDP and after MW gathers data from GA, send Profile request to the Mule queue. |
8 | MW aggregates the data in the Mule queue. | Requests will be accumulated in the dedicated Mulesoft queue. |
9 | MW send User Activity API to Google Analytics with specified ViewID, ClientID |
curl --request POST \
|
10 | GA responds with JSON. API data have up to 4h delay in Analytics360 |
- https://www.google.com/intl/en_us/ga360suite/sla.html |
11 | MW merge profile data from a form with GA API data based on ClientID as a key |
|
12 | MW puts profile to the Mule queue |
|
13 | Profile Mule Queue for CDP | |
14 | Profile adapter |
Middleware → CDP → SFMC
# | Step | Description |
---|---|---|
15 | Standard flow to SF | |
16 | SF downloads data to extended for UTM data extension | NUTRINTG CDP to SFMC Integration |