N
N
Nickname3212018-12-18 13:44:43
MODX
Nickname321, 2018-12-18 13:44:43

Problem with metrics on MODX site?

Good afternoon, tell me please, maybe someone has already come across.
I'm trying to add a metric script to the site. In this case, after adding it, the following happens. An empty page comes from the server with an empty head and body tag, so it doesn't give any errors. Help me figure out what's wrong.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
Froggyweb, 2018-12-18
@Nickname321

The site on the phenomenon most likely output like
this
{ignore}
script
{/ignore}
Or add a space after the curly brace of the script
{space script}

A
Anton Tarasov, 2018-12-18
@an-tar

Try adding the metric script in the footer, before the end tag

A
Arthur K., 2018-12-21
@amark

This can happen if there is a 500 error and the display of errors is disabled in the settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question