Tuqo + Yandex Metrica
Yandex Metrica is free web analytics from Yandex, Russia's largest search engine, and the usual choice when your audience is in Russia: traffic, sources, goals, Session Replay (formerly Webvisor) and click maps. Tuqo serves your static front end over HTTPS, and the counter script collects statistics right from the browser. Tuqo runs no server code, so the integration is fully client-side.
What Tuqo + Yandex Metrica gives you
- Traffic, sources and visitor behavior
- Session Replay and click maps
- Goals and conversions without a backend
- Free of charge
Create a counter
In Yandex Metrica, add a counter with your site's address, turn on Session Replay and click maps, and note the counter number.
Add the counter code
Copy the Metrica JS snippet and add it to the <head> of your pages.
Confirm the domain
Metrica verifies the site automatically by the installed counter. For a custom domain, attach it in Tuqo first.
Deploy to Tuqo
The site on name.tuqo.ru is live over HTTPS, and the counter starts collecting data in the browser.
<!-- The counter number is public: it goes right into the JS -->
<script type="text/javascript">
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],
k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(window,document,'script','https://mc.yandex.ru/metrika/tag.js','ym');
ym(XXXXXX, 'init', { webvisor: true, clickmap: true });
</script> Security
The Metrica counter number is public by design: it is always visible in the page code. You don't need to put any secrets in the static site. To comply with personal data laws, add a privacy policy to the site and, where required, a cookie notice (for visitors from the EU, a consent banner under GDPR). That part is yours, as on any hosting.
Tuqo serves the front end over HTTPS and never touches your data or the service's secrets.
Tuqo + Yandex Metrica — frequently asked questions
Does Metrica need a backend? +
No. The counter is client-side JS and works on a plain static site. Tuqo serves the front end, and Metrica itself collects the data.
Does Session Replay work on a static site? +
Yes. Session Replay, click maps and goals all run in Metrica and the browser; no server code is needed.
Can I use it on a custom domain? +
Yes. Attach the domain in Tuqo from the Start plan (SSL is free), then add it in the counter settings.