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.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lektor-yandex-metrica-0.1.2.tar.gz.

File metadata

File hashes

Hashes for lektor-yandex-metrica-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fe94f713c99fe3a5ecd8b056264245985cf2f628c029de67de4e634cd0a8e9eb
MD5 88fd7e75a144e46f1791ab211d99580a
BLAKE2b-256 c9d98164e4e9c80ad2eeab75acd04506427b6c0ded530f727e9f7b4fc39f1b67

See more details on using hashes here.

File details

Details for the file lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cc55ea64ad0c2e1db8c2c28708d2d323add685bf386c44f23b699e44bec923d1
MD5 e0b32161343efa497de6c626b723bf73
BLAKE2b-256 1677e41534d6c7421a9c861814b33e3908b229e2bee7fc025675d062e462bafd

See more details on using hashes here.

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