Skip to content

Send browserId to banner endpoint for use by Auxia#15562

Merged
tomrf1 merged 11 commits intomainfrom
tf-auxia-banner
Mar 25, 2026
Merged

Send browserId to banner endpoint for use by Auxia#15562
tomrf1 merged 11 commits intomainfrom
tf-auxia-banner

Conversation

@tomrf1
Copy link
Copy Markdown
Member

@tomrf1 tomrf1 commented Mar 19, 2026

We are going to trial using the Auxia API for deciding when to display the banner.
This requires the user's browserId. We can only do this if the user has targeting consent.

This PR also introduces a new AB test, growth-auxia-banner. We only send the browserId if the user is in the variant.

SDC PR: guardian/support-dotcom-components#1579

@tomrf1 tomrf1 added the feature Departmental tracking: work on a new feature label Mar 19, 2026
@tomrf1 tomrf1 marked this pull request as ready for review March 20, 2026 08:42
@tomrf1 tomrf1 requested a review from a team as a code owner March 20, 2026 08:42
@github-actions
Copy link
Copy Markdown

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@tomrf1 tomrf1 added the run_chromatic Runs chromatic when label is applied label Mar 20, 2026
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Mar 20, 2026
});

// Skip this test because it doesn't work in the github actions run. It does however work locally
test.skip('does not send browserId when user has not consented, even if in the auxia variant', async ({
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to debug this further, but it's going to be tricky and time consuming so I don't want to block the feature.
For now I'm confident the feature works as expected, and this test works locally.

@tomrf1 tomrf1 added the run_chromatic Runs chromatic when label is applied label Mar 24, 2026
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Mar 24, 2026
@tomrf1 tomrf1 merged commit 89f2d1e into main Mar 25, 2026
26 checks passed
@tomrf1 tomrf1 deleted the tf-auxia-banner branch March 25, 2026 08:12
@gu-prout
Copy link
Copy Markdown

gu-prout bot commented Mar 25, 2026

Seen on PROD (merged by @tomrf1 7 minutes and 53 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants