I am attempting to install GA4 using the Piwik Pro Tag Manager. I created a custom script tag that contains the GA4 script, with a trigger set to activate on all pages. This tag only fires if visitors give their consent to statistics.
I have noticed through the debug view in Piwik that, after consenting, the GA4 tag only loads during the second page view. Shouldn’t the page reload after consenting? What is the proper way to implement GA4 using the Piwik Consent solution?
Thanks!