How do you add code like Google Analytics to the <head> tag?
Hi @mitchbartlett you can create a child-theme for your site using a plugin called Create Block Theme.
Activate the plugin, head over to Appearance > Create Block Theme > Create Child Theme of ***
Once that is done you will be able to see the theme files to add the code, however, you might need to use a plugin like Header and Footers plugin to add code to your site’s header.
@mitchbartlett Instead of creating a child theme, you could consider just using a Google Analytics plugin like one of these. These have the added benefit of not needing to re-add your GA code if you switch themes, and is a simpler route than a child theme, if all you need is to add GA code.
I’ll mark this thread as resolved but feel free to start a new one if you have other questions.