I was using Google Analytics by pasting the experiment code into the <head> section of the header.php file of the theme. However, by this way I always lost the connection each time the theme is updated. Then I decided to use child theme comes with the theme itself. However, there is no header.php or footer.php …