This is a kind of sorcery! The Prophet Sallallaahualaihiwasallam صلى الله عليه وسلم mentioned about Kuffur and Shirk who even just sit or listen to any kind of sorcery knowingly!
But you didn’t know, so that ruling doesn’t apply to you!
You are ok inshaAllah!
Just be carful next time!
Is advertising with tracking cookies halal or haram?
It depends on the content of the advertising, and the network itself; for example:
a. if you were advertising hard-core porn, it would be haram
b. if the network was known for surveillance and controlling minds, it would be haram.