upd ym
This commit is contained in:
+44
@@ -38,5 +38,49 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<script type="module" src="/src/main.tsx"></script>
|
<script type="module" src="/src/main.tsx"></script>
|
||||||
|
|
||||||
|
<!-- Yandex.Metrika counter -->
|
||||||
|
<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();
|
||||||
|
for (var j = 0; j < document.scripts.length; j++) {
|
||||||
|
if (document.scripts[j].src === r) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
(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(98587267, 'init', {
|
||||||
|
clickmap: true,
|
||||||
|
trackLinks: true,
|
||||||
|
accurateTrackBounce: true,
|
||||||
|
webvisor: true,
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<noscript
|
||||||
|
><div>
|
||||||
|
<img
|
||||||
|
src="https://mc.yandex.ru/watch/98587267"
|
||||||
|
style="position: absolute; left: -9999px"
|
||||||
|
alt=""
|
||||||
|
/></div
|
||||||
|
></noscript>
|
||||||
|
<!-- /Yandex.Metrika counter -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -200,6 +200,7 @@ export function ModalWithForm() {
|
|||||||
width="full"
|
width="full"
|
||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
className="px-6 py-3 mt-12"
|
className="px-6 py-3 mt-12"
|
||||||
|
onClick={() => `ym(98587267, 'reachGoal', 'submit_form');`}
|
||||||
icon={
|
icon={
|
||||||
isLoading ? (
|
isLoading ? (
|
||||||
<LoaderIcon className="relative w-6 h-6 animate-spin" />
|
<LoaderIcon className="relative w-6 h-6 animate-spin" />
|
||||||
|
|||||||
Reference in New Issue
Block a user