Closed nikoplusx closed 3 years ago
The origin trial is only running right now for a fraction of people in Chrome Beta. If you want to start up your own copy of Chrome with the API available, there are instructions at https://developer.chrome.com/blog/floc/#enable-floc-with-browser-flags.
Reading the docs here and here. As well the docs for how to be part of the origin trials here I
I used the following snippet to retrieve the interest cohort on a few pages
My problem is that I cannot get the
interestCohort
method to work and I am always getting aUncaught TypeError: document.interestCohort is not a function
. What am I doing wrong here?If my registered domain is
https://example.io
, I am trying to access the cohort fromhttps://example.io/other.html