added google analytics
This commit is contained in:
1 parent
61db139a0d
commit
85439ced56
2 files changed
+31
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import React from 'react'
|
||||
import Document, { Html, Head, Main, NextScript } from 'next/document'
|
||||
import { YMetrika } from '../src/components/YMetrika'
|
||||
import { GAnalytics } from '../src/components/GAnalytics'
|
||||
|
||||
export default class MyDocument extends Document {
|
||||
// static async getInitialProps(ctx) {
|
||||
@@ -56,6 +57,7 @@ export default class MyDocument extends Document {
|
||||
<script async defer src="//platform.instagram.com/en_US/embeds.js" />
|
||||
|
||||
<YMetrika account={24027460} />
|
||||
<GAnalytics account={'UA-60209057-1'} />
|
||||
</Head>
|
||||
|
||||
<body className="custom_class">
|
||||
|
||||
Reference in new issue
Block a user