r/PHPhelp • u/larsnielsen2 • Jul 06 '25
Add Google Analytics to phpdoc generated html
I have a project where I generate some phpdoc files I would like to host public. But how can I modify the template to add google analytics script tag?
4
Upvotes
View all comments
Show parent comment
2
u/colshrapnel Jul 07 '25
So just write a php script that opens files one by one and adds whatever GA code to them and run it after that app?