- Copy the code given to you by Google Analytics
- Go to admin Dashboard => Theme Options => General Setting section => Custom Code tab => see the filed “Before Close </body> Tag“
- Paste your Google Analytics Tracking Code into that field.
- Click Save Changes button. That’s it!
In case you want to modify something in an theme translation you can do it by directly editing the translation file. However, if you update the theme these modifications will be lost. The best solution would be to place them in your child theme which is very easy to do.