How to set query variable (custom) to tracker

I am trying to make my own plugin in Piwik according to the guide. I’ve already added my own Dimension to the plugin using this guide : Dimensions: Develop - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3
From server side I know that I can get the query variable but from client side and Javascript tracker, I didn’t find the way that I can add my own defined Dimension to request query variables. Is there any way to add them easily ?

1 Like