Skip to content

Support action as an attribution parameter (fixes mozilla-services#249) - #250

Open
lmegviar wants to merge 1 commit into
mozilla-services:masterfrom
lmegviar:master
Open

Support action as an attribution parameter (fixes mozilla-services#249)#250
lmegviar wants to merge 1 commit into
mozilla-services:masterfrom
lmegviar:master

Conversation

@lmegviar

@lmegviar lmegviar commented Jul 8, 2025

Copy link
Copy Markdown

No description provided.

Comment thread attributioncode/validator_test.go Outdated
ExpectedClientID: "",
ExpectedSessionID: "",
ExpectedClientIDGA4: "",
},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We'll want to have some assertion for action. I am thinking that we might want to introduce a new test function instead of adding even more params to this one.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I've updated in the patch - does that look more like what you were thinking?

@willdurand

Copy link
Copy Markdown
Member

That looks promising, thanks!

@lmegviar

lmegviar commented Jul 2, 2026

Copy link
Copy Markdown
Author

Hi @willdurand, product has re-prioritized this work so I'm dusting off this patch and the corresponding changes in Firefox desktop.

I noticed the action flag was being bound to the &dlsource variable instead of &action, so I've fixed that in addition to the testing updates.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants