Which is the main page template?

Hi dear Activello-Folks,

tryin to improve my site with google statistics.
They suggest to create a file named analyticstracking.php with the following code:

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga(‘create’, ‘UA-92987793-1’, ‘auto’);
ga(‘send’, ‘pageview’);

i did so. And now i should implement the following code into all the php-Template Files:

<?php include_once(“analyticstracking.php”) ?>

Is that really necessary or is there probably one main Template-File in which to enter the Code?
As usual, many kind regards in advance an have a nice Weekend.


Hi GT,

I hope you are well today and thank you for your question.

You don’t need to do that custom work to use Google analytics. Just use and configure any of the following plugins.

Best Regards,