Google Analytics isn't being added to the page

Hi there,

Having an issue with Google Analytics not being added to the page (Header or footer). I don’t believe it’s a plugin causing the issue as i’ve tried disabling them all with no luck. Have just updated xpro to pro today, along with child theme and to latest versions.

Any help would be appreciated

//edit - Side note, this is using the X-Theme built in Google Analytics.

Kind regards

Hi there,

Please try to uninstall the plugin then add the Analytic code again and check the site. If the issue persists, please add this code in the functions.php file of the child theme:

add_action('wp_head','custom_script');
function custom_script() {
?>

    <!-- Add the analytics code here -->

<?php
}

Hope this helps.

All fixed! Thanks for the help!

Kind regards,

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.