Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/eighty-peaches-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@scaleway/cookie-consent': patch
---

keep special condition for google ads
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ const transformSegmentIntegrationsToIntegrations = (
segmentIntegrations: SegmentIntegrations,
): Integrations =>
[defaultSegmentIoIntegration, ...segmentIntegrations].map(
({ category, name }) => ({
name,
({ category, creationName, name }) => ({
// Segment requires the `creationName` for this destination.
name: name === 'Google Ads (Gtag)' ? creationName : name,
category: CATEGORY_MATCH[category] ?? 'marketing',
}),
)
Expand Down