- AuthorPosts
Chandler
GuestHow do I verify ownership of my website using the HTML tag verification option?
Here are the steps:HTML tag: Add a meta tag to your site’s home page
1. Copy the meta tag below, and paste it into your site’s home page. It should go in the <head> section, before the first <body> section.
“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” />
2. Click Verify below.
To stay verified, don’t remove the meta tag, even after verification succeeds.If there is an easier Google Search Console verification option when using BoldGrid, I am open to using one of those as well.
Thanks!
ChandlerElana
KeymasterHello Chandler,
There are a few ways you can add Google Analytics to your site, not just the header, ranging from very easy to quite technical.
My personal favorite way is with the official Site Kit by Google plugin. With Site Kit, you won’t need to worry about manually copying-and-pasting your code in, and it ties together Analytics, Search Console, and other Google products along with some in-dashboard insights about your traffic.
There are also a lot of other plugins available to add Analytics to your site without getting into your site’s code.
If you’d like to stick with pasting your code in your header, the best way is to use a plugin like Code Snippets so that you don’t have to modify your theme’s code. Once you have Code Snippets installed, you can use a snippet similar to this:
add_action( 'wp_head', function () { ?> <script> /* paste your Analytics code here */ </script> <?php } );
Thanks
Elana.- AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)