A
A
airbor2019-06-20 01:47:52
Google Analytics
airbor, 2019-06-20 01:47:52

Where is the right place to insert the Google Analytics code on the Bitrix website?

On the site, the last developer left a wild dump, found a bunch of different template folders, where what is responsible for what and where it is displayed, try to figure it out. What is a 100% way to put code in the footer to make it work?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Prilepa, 2019-06-20
@OAPrilepa

/bitrix/templates/#template name#/footer.php

S
Sergey, 2019-06-20
@gangstarcj

Just take it and paste it into the footer.php file of your template. Nothing more needs to be done.
Well, or if you want more flexibility, then create a file with such scripts and do it through the include area also in the footer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question