Encrypt a campaign link


(Patricio) #1

Hello! I’m looking for this option by function and I can not find it … Is there or will I have to program my own?
I need the urls:
/?pk_campaign=x&pk_kwd=x&pk_source=x&pk_medium=x&pk_content=x
show up:
/?AQQkADAwATZiZmYAZC04NjI4LTJiMTItMDACLTAAQABF2BVrH6ZEvfikpkV4nlA
just like the big websites like Google and Facebook do, and that Matomo usually detects them. Regards!


(Lukas Winkler) #2

Hi,

There is nothing stopping you from writing a Matomo plugin that modifies the URL parameters however you like. But keep in mind that obfuscation like that doesn’t really protect anything unless you implement something complex and makes many things more complicated to debug and more error prone.