All media websites can now share the hashed email addresses of their users through different prebid user modules. (https://docs.prebid.org/dev-docs/modules/userId.html) Normally, you can use the php hash function to hash all the emails, before implementing the right module and send all the hashes. Any ideas on how this function can be implemented?
I found this script https://gist.github.com/ehedaya/288c7280ee76b436cceec15941e4093a but I don't see where it should be added.
Thanks a lot for your help!
Generally the integration of Prebid.js User ID modules with hashed emails involves 3 steps:
Now back to your questions:
This only covers the steps 1. You need to take the hashed email and follow steps 2 & 3 to make User ID modules work.