AWAFAWAF

Yandex Metrika and FingerPrint

AWAF Tags can work together with the Metrika counter code or replace it to pass IP, fingerprint, and referrer data.

Snippet

AWAF Tags can be used together with the standard Metrika snippet or replace the counter code. When both are used, place /antibot/js/tags.js after the Metrika code in the page head.

<!-- Yandex Metrika counter -->
<!-- standard Metrika code -->
<!-- /Yandex Metrika counter -->

<!-- AWAF Tags -->
<script type="text/javascript" src="/antibot/js/tags.js"></script>
<!-- End AWAF Tags -->

config.ini

Set the counter ID and choose how referrer data should be passed.

save_referer = On works together with AWAF Tags and passes the referrer correctly. If AWAF Tags are not installed, use utm_referrer = On instead. When AWAF Tags are used, utm_referrer can be disabled.

[main]
metrika_site = "12345678"
save_referer = On
utm_referrer = Off