Bulk tracking without query parameters


I’m currently tracking various data by pushing onto _paq, as suggested in the docs. Examples:
_paq.push([“setCustomDimension”, 1, “baz”])
_paq.push([“trackEvent”, “statechart”, “bar”])

As these are pushed out one at a time, both client and server are unnecessarily flooded. I know there is a bulk tracking endpoint, but this takes an array of urls with query parameters.

Is there a bulk tracking API that takes the same format as _paq, or is there an API method to convert the _paq format to urls with query parameters. I’d rather not (re)code these urls by hand.

Thanks in advance,