This topic is locked

Cookie Consent and Google Tag Manager in PHPRunner application

11/18/2025 10:21:09
PHPRunner General questions
B
bioman author

Hi,
I am trying to make sure that my application is compliant with privacy laws like GDPR etc. I have set up Google Tag Manager containers for my sites and implemented them on my static pages, but I'm not sure how or where to place these GTM containers on my PHPRunner application pages. The tags are supposed to go in the <head> section and right at the beginning of the <body> section, but since these pages are dynamically created, I'm not sure where to put the tags in my PHPRunner project. I'd like for the tags to remain when I rebuild so I don't want to manually edit files and have them overwritten every rebuild. The tags are needed for consent management of cookies and analytics. What is the best way to approach this? Thanks,
Brett

Sergey Kornilov admin 11/18/2025

If you Google "PHPRunner head" it will take you right to this page:
https://xlinesoft.com/phprunner/docs/head_section.htm