Then save your edit. cpanel add google tracking id header russian number for whatsapp You just added the Google Analytics tracking code manually into your WordPress theme via the header.php file. Add Tracking Code via Footer.PHP File Adding the tracking code to the footer is almost identical to adding it to the header. The only difference is that you'll add it to the footer.php file, not the header.php file . To get started, use your cPanel or an FTP client portal and locate the public_html root folder as in the previous process. Follow the same process you did when inserting the code into the header.

php file , but this time locate the footer.php file . Finally, insert your Google Analytics tracking code just before the closing </body> tag in your footer.php file . cpanel add google tracking id footer Add it and you’re done. You can now successfully add the tracking code to your theme’s header or footer via cPanel or an FTP client. We insert the tracking code in the header or footer so that it can track all pages. Add tracking code via Functions.PHP file For this method, we will be using the WordPress dashboard.