I don’t like having to reload the page when a user accepts the cookies, but it seems to be the only way to track that first page. If I don’t reload, then I don’t get any stats for that user unless they visit a second page in my site – and then I still don’t get stats on the first page they saw. This means I lose “Source / Medium” and referrer info, because on the second page hit it’s just (direct).
Can I attach a handler to the events on clicking accept, and at that point send the page view data to GTM?