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() }}
Metadata
Release files for lektor-yandex-metrica 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lektor-yandex-metrica-0.1.2.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / lektor-yandex-metrica-0.1.2.tar.gz
| Download URL | lektor-yandex-metrica-0.1.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe94f713c99fe3a5ecd8b056264245985cf2f628c029de67de4e634cd0a8e9eb
|
|
BLAKE2b-256 checksum How to use checksums |
c9d98164e4e9c80ad2eeab75acd04506427b6c0ded530f727e9f7b4fc39f1b67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl
| Download URL | lektor_yandex_metrica-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cc55ea64ad0c2e1db8c2c28708d2d323add685bf386c44f23b699e44bec923d1
|
|
BLAKE2b-256 checksum How to use checksums |
1677e41534d6c7421a9c861814b33e3908b229e2bee7fc025675d062e462bafd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |