Archived topic
Place Google Analytics code
1 reply · Started by ARTEM on July 8, 2018
Viewing posts 1–2 of 2
Hello!
I need to place Google Analytics code to one page only. How can I do it?
Thank you!
Hi there you can use GP hooks with your GA script inside a conditional tag. This explains how:
https://docs.generatepress.com/article/using-hooks-conditional-tags/
GP 1.7 currently in Beta will allow you to do this without using code, if you're happy to wait a week or so.
This archived topic is closed to new replies.