lexi add gtag
This commit is contained in:
parent
89c4336641
commit
9848186504
|
|
@ -9,8 +9,14 @@
|
|||
<script>
|
||||
export default {
|
||||
name: 'DefaultLayout',
|
||||
mounted() {
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'AW-10780603837');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ export default {
|
|||
],
|
||||
script: [
|
||||
{ src: 'https://unpkg.com/scrollreveal' },
|
||||
{ src: 'https://www.googletagmanager.com/gtag/js?id=AW-10780603837', body: true },
|
||||
],
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue