fabien0102 / gatsby-starter

Gatsby 2.0 starter with typescript and many cools dev tools
386 stars 99 forks source link

what goes in siteMetaData googleVerification #79

Closed AbhimanyuAryan closed 5 years ago

AbhimanyuAryan commented 5 years ago

I'm not sure what verification string you need here. I have added analytics code but i don't get this part. Can somehow help me with it?

fabien0102 commented 5 years ago

Hello, sorry for the delay, I'm not really active anymore on this project ^^ You have more information over there -> https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-analytics

For the DNS verification, if my memory is good, it's something to set into your DNS provider to tell "this is my domain" to google. Usually it's a TXT entry to add with the verification string (careful, I don't set any google analytics since years, this have probably change, but everything should be explain somewhere in the google analytics documentation in a "getting started" section :wink: )

ghost commented 5 years ago

Hi @AbhimanyuAryan,

As far as I know, the verification is only needed for proving ownership in search console (I think they call it webmaster tools now); for analytics I believe being able to place the analytics script itsself serves as proof of ownership for that side of things.