How can i track custom URL parameters

Is there currently a way to track custom URL parameters such as s_kwcid=, cid=. leadsource= and have them show up under campaigns? I read this article bust wasn’t sure if is was just for setting up new parameters with the prefix pk_

Yes this article : How to - Analytics Platform - Matomo

read the section 2) via config file