Skip to content

How to add Google Analytics tag in head? #1620

Closed Locked Answered by brc-dd
vedxp asked this question in Q&A
Discussion options

You must be logged in to vote
export default {
  head: [
    ['script', { src: 'https://googletagmanager.com/...' }],
    ['script', {}, `gtag call here`]
  ]
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vedxp
Comment options

@brc-dd
Comment options

Answer selected by vedxp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants