Appending additional values to noscript url

We are trying to add additional API values to the noscript tag, but Matomo ignores the entire request. If we use the very basic call, Matomo records that visit

https://mydomain/matomo.php?idsite=1&rec=1

But if we append any additional values to the string, such as urlref or action, Matomo does not record anything about the visit, but does return the 1x1 pixel. It is as if the visit never happened.

https://mydomain/matomo.php?idsite=1&rec=1&urlref=someURL&action_name=myAction

Any way to record additional data?

Here is a list of the parameters: Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3

Thanks, but I have already reviewed the API info a few times.

My issue is that when I add additional API values to the string, Matomo does NOT record the visit. It ONLY records a visit when I limit the string to just idsite and rec values. How can I get it to accept the additional values?

Should definitely work - did you urlencode the URL that you put into e.g. urlref?

Yes we did urlencode the url strings.