Adds support for Yandex Metrica to Lektor CMS
Version: 0.1.2
Author: Alex Khomchenko
View all tags.
This plugin adds support for Yandex Metrica to Lektor CMS
lektor plugins add lektor-yandex-metrica
Just create a file named yandex-metrica.ini
in your configs/
folder and configure id
key with the provided counter id:
id = YOUR_COUNTER_ID
Now you can add a Yandex Metrica counter to any of your templates by just using the generate_yandex_metrica
function in its tag as below.
{{ generate_yandex_metrica() }}
Comments