dont track demo pages
This commit is contained in:
@@ -61,13 +61,6 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
use: 'gridsome-plugin-simple-analytics',
|
||||
options: {
|
||||
domain: 'data.next.tiptap.dev',
|
||||
skip: process.env.NODE_ENV !== 'production',
|
||||
},
|
||||
},
|
||||
],
|
||||
runtimeCompiler: true,
|
||||
configureWebpack: {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
"d3": "^6.5.0",
|
||||
"globby": "^11.0.0",
|
||||
"gridsome": "0.7.23",
|
||||
"gridsome-plugin-simple-analytics": "^1.1.0",
|
||||
"iframe-resizer": "^4.3.1",
|
||||
"portal-vue": "^2.1.7",
|
||||
"raw-loader": "^4.0.2",
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
<body ${bodyAttrs}>
|
||||
${app}
|
||||
${scripts}
|
||||
${process.env.NODE_ENV === 'production'
|
||||
? '<script async defer data-ignore-pages="/demos/*" src="https://data.next.tiptap.dev/latest.js"></script><noscript><img src="https://data.next.tiptap.dev/image.gif" alt=""></noscript>'
|
||||
: ''
|
||||
}
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@alpha"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.2.11/iframeResizer.contentWindow.min.js" integrity="sha512-FOf4suFgz7OrWmBiyyWW48u/+6GaaAFSDHagh2EBu/GH/1+OQSYc0NFGeGeZK0gZ3vuU1ovmzVzD6bxmT4vayg==" crossorigin="anonymous"></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user