Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/connections/destinations/catalog/google-analytics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ ga(function (tracker) {
});
```

If you want our server-side destination to use your user's `clientId`, pass it to us in the `context.integrations['Google Analytics'].clientId` object. You must pass this value manually on every call as we do not store this value for you. If you do not pass this through, we look for the `userId` or `anonymousId` value and set the hashed value of either `userId` or `anonymousId` as the `cid`.
If you want our server-side destination to use your user's `clientId`, pass it to us in the `integrations['Google Analytics'].clientId` object. You must pass this value manually on every call as we do not store this value for you. If you do not pass this through, we look for the `userId` or `anonymousId` value and set the hashed value of either `userId` or `anonymousId` as the `cid`.

*Here's a Ruby example:*
```ruby
Expand All @@ -581,11 +581,9 @@ Analytics.track(
properties: {
linkText : 'Next'
},
context: {
integrations: {
'Google Analytics' => {
clientId: '1033501218.1368477899'
}
integrations: {
'Google Analytics' => {
clientId: '1033501218.1368477899'
}
}
)
Expand Down