Really love using Publii and I have tried to find the answer about Google Analytics in this forum.
However, I couldn’t find the answer and I wasn’t sure if it’s theme dependant?
I am using the theme TechNews and I have a Google Analytics code that I am placing in the custom HTML tool. I have tried different options, e.g. placing:
Do you have any sugesstions where to put the GA code to make it work or do I need to put in a combination of several places?
thanks a lot in advance!!
Just put the code into the head section.
-- Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!
Bob wrote:Just put the code into the head section.
I suppose the same goes for Stat Counter or any other similar service?
It depends on the scripts/services, but usually yes.