Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magnite Analytics: Minor fix for default rule name #11791

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

robertrmartinez
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

We would not send rule if did not detect cookieless which is not right! Set default now.

// beforeEach(() => {
// magniteAdapter.enableAnalytics({
// options: {
// cookieles: undefined
Copy link
Collaborator

Choose a reason for hiding this comment

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

it is on the comment now, but was spelling causing an issue?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no it was something else (mot initializing the variable), this bit of code just does not even do anything so I commented out while testing and forgot to remove, I deleted now.

afterEach(() => {
magniteAdapter.disableAnalytics();
})
it('should not add cokieless and preserve original rule name', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

cookieless

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed!

@patmmccann patmmccann self-assigned this Jun 13, 2024
@patmmccann patmmccann merged commit 8466868 into master Jun 13, 2024
5 checks passed
@patmmccann patmmccann deleted the magniteAnalytics-fixes branch June 13, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants