Skip to main content

Adds support for Yandex Metrica to Lektor CMS

Project description

This plugin adds support for Yandex Metrica to Lektor CMS

Enabling the Plugin

lektor plugins add lektor-yandex-metrica

Configuring the Plugin

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

In Templates

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() }}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lektor-yandex-metrica-0.1.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

lektor_yandex_metrica-0.1.1-py2.py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page