Merge pull request #32 from apuc/authentication

YM direct import
This commit is contained in:
kavalar 2021-08-20 13:49:53 +03:00 committed by GitHub
commit fbaac5b8f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 2 deletions

View File

@ -16,6 +16,23 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<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(84188125, "init", {
clickmap: true,
trackLinks: true,
accurateTrackBounce: true,
webvisor: true
});
</script>
<noscript>
<div><img src="https://mc.yandex.ru/watch/84188125" style="position:absolute; left:-9999px;" alt="" /></div>
</noscript>
</body>
</html>

View File

@ -37,7 +37,7 @@ const App = (props) => {
</Switch>
</Router>
<YMInitializer
{/* <YMInitializer
accounts={[84188125]}
options={{
clickmap:true,
@ -46,7 +46,7 @@ const App = (props) => {
webvisor:true
}}
version="2"
/>
/> */}
</>
)
}