Skip to content

akhomchenko/lektor-yandex-metrica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lektor-yandex-metrica

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

About

Adds support for Yandex Metrica to Lektor CMS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages