Home › Forums › Basel support forum › Google analytics code Google analytics code This topic has 1 reply, 2 voices, and was last updated 6 years, 10 months ago by Artem Temos. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 14, 2018 at 7:42 am #39634 OscarParticipant Hi there where can I put google analytics code? Using wp admin theme options Or where can I put top of which file? thanx <!– Google Analytics –> <script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga(‘create’, ‘UA-XXXXX-Y’, ‘auto’); ga(‘send’, ‘pageview’); </script> <script async src=’https://www.google-analytics.com/analytics.js’></script> <!– End Google Analytics –> February 14, 2018 at 8:31 am #39676 Artem TemosKeymaster Hi, There is no place in WordPress theme to add this code. Use this plugin for such things https://wordpress.org/plugins/insert-headers-and-footers/ Regards Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to create new topics. Login / Register