STRATCONN-1287 - Add support for DoubleClick Floodlight config in in Google Ads (GTag) #730
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
The following PR intends to provide a workaround for browsers that are not able to set DC cookies through normal means, so we are leveraging GTag to set those cookies. See ticket STRATCONN-1287 for more information.
Are there breaking changes in this PR?
No, all changes are backwards compatible.
Testing
Testing completed successfully in local tester via checking for regressions, as we are unable to test E2E to see the effect of the changes. Will rely on customer to assist in validation. See ticket for details.
Does this require a new integration setting? If so, please explain how the new setting works
Yes, this requires a new optional setting called
floodlightAccountId
which represents the DoubleClick Floodlight Config ID. It will be passed to gtag'sconfig
parameter as part of the integration initialization.Links to helpful docs and other external resources
https://segment.atlassian.net/browse/STRATCONN-1287
https://support.google.com/campaignmanager/answer/7554821?hl=en#zippy=%2Cstep-add-the-global-snippet-to-every-page-of-your-site%2Cstep-add-the-event-snippet-to-pages-with-events-youre-tracking