T
T
Ty392021-03-11 15:08:02
HTML
Ty39, 2021-03-11 15:08:02

How to find the cause of 500 error when installing Global site tag?

Good day
Faced such a disaster.
When inserting the Global site tag for Google Analytics into the head of the page, the site crashes and gives a 500 error.
What could be the reason?
The engine is self-written.

The tag itself:


Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Ty39, 2021-03-12
@Ty39

Found a solution.
I framed the tag in {literal} and it worked.

D
Danny Arty, 2021-03-11
@DanArst

Try inserting the tag before the closing tag</body>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question