templating for html, example with yandex metrica