'HTTP request' tag on server-side GTM

Hi everyone.

How do I use a Matomo JavaScript code on the server-side GTM container?

I’ve tried pasting the code and selecting ‘POST’ but the data is not received. What should the ‘Destination URL’ be?

I’ve also tried using a custom template, but could never get it to work due to the Sandboxed JS that GTM uses.