File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 8
8
"build" : " bun next build"
9
9
},
10
10
"dependencies" : {
11
- "@next/third-parties" : " 14.2.20" ,
12
11
"next" : " 14.2.20" ,
13
12
"nextra" : " ^2.13.2" ,
14
13
"nextra-theme-docs" : " ^2.13.2" ,
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import { GoogleAnalytics } from '@next/third-parties/google' ;
3
2
import TWGBadge from './components/TWGBadge/TWGBadge' ;
4
3
5
4
export default {
@@ -33,7 +32,15 @@ export default {
33
32
type = "image/png"
34
33
href = "https://docs.thewidlarzgroup.com/react-native-video/favicon.png"
35
34
/>
36
- < GoogleAnalytics gaId = "G-4YEWQH5ZHS" />
35
+ < script async src = "https://www.googletagmanager.com/gtag/js?id=G-4YEWQH5ZHS" > </ script >
36
+ < script >
37
+ { `
38
+ window.dataLayer = window.dataLayer || [];
39
+ function gtag(){dataLayer.push(arguments);}
40
+ gtag('js', new Date());
41
+ gtag('config', 'G-4YEWQH5ZHS');
42
+ ` }
43
+ </ script >
37
44
</ >
38
45
) ,
39
46
logo : (
You can’t perform that action at this time.
0 commit comments