If you want to use Firefox sync IIUC you can define a new pref services.sync.prefs.sync.dom.private-attribution.submission.enabled. However this has always been flakey in the past for me. (I think maybe the sync prefs themselves don't sync?)
Now I install an organizational policy that sets the prefs. I use NixOS to apply this and it looks like this:
Basically, you need to create a `user.js` file in the root folder of your profile, you can find/open the profile folder using about:profiles or about:support (default path is `~/.mozilla/firefox/${profile-name}/user.js`).
You can sync it however you like, e.g. upload it to your dotfiles repo and symlink with stow, etc.
The syntax is:
user_pref("dom.private-attribution.submission.enabled", false); // Disable Privacy-Preserving Attribution
Thanks for providing these instructions. My usual way to get to some setting in Firefox is to use the search box but it seems that Mozilla is actively hiding this one by excluding it from search, ie if you type "advertising" into the settings search box then there are no results.
That is because "Allow web sites to perform privacy-preserving ad measurement" doesn't have the word "advertising" in it. Granted the current phrasing a bit awkward and may have a certain degree of deliberateness behind it.
It seems the search matches on the text of the option, not the section text. The text of the option is "Allow websites to perform privacy-preserving ad measurement" and the search for me brings up the option (and of course anything else that matches) when I search for any of that.
It's great that there is a way to turn it off, but the root problem, again and again, is that it is on by default without obtaining the user's opt-in consent. The company (again) made a unilateral decision about what the software should do, without asking the user. This is such a common, terrible practice of Silicon Valley.
I don't care if the feature cures cancer or gives me a free puppy. I don't want a feature running without my explicitly commanding it to run.
1) Hamburger menu -> Settings -> Privacy & Security
2) scroll down to the new section entitled "Web Site Advertising Preferences".
3) Make sure the box marked "Allow web sites to perform privacy-preserving ad measurement" is not checked.
[1] https://support.mozilla.org/en-US/kb/privacy-preserving-attr...