I can already see based on the tag manager debug mode that it’s correct. It’s more about the website. You could maybe change the default all pages trigger to something that loads a bit later. E.g. switching from page view to page load, but not sure if that would help.

Also, this won’t solve the issue with redundant page views.