There are many ways suggested on the internet to install google analytics code on wordpress blog and I would like to clear my doubts.
When I copy the analytics code to the footer.php
- Will this be available for all pages & post?
- after theme update, will the custom analytics code still remain
What is the advantage of using google tag manager? Which is the best way and why?