Hi @marone,
Yes, you should see the X-forwared-header in the request header if configured correctly:
Your configuration looks correct (apart from the missing , right before apmRequest: ({ xhr }) => { line, but I'm sure it's a typo).
I'm wondering if it's cache related issue(either the requests or the javascript file). Could you try again after disabling cache on your browser?
