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:


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.

Files for lektor-yandex-metrica, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl (2.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size lektor-yandex-metrica-0.1.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page