Hi there,
I have installed this code within my child theme’s functions.php file:
add_action(‘wp_head’,‘custom_script’);
function custom_script() {
?>
<!-- Global site tag (gtag.js) - Google Analytics
–>
<?php } I have also installed the meta tag and Google analytics ID using the theme's included Google analytics plugin. However, for some reason the Google analytics page is not showing any hits, yet the Google console data is coming through just fine. What am I doing wrong? I need data on hits to each individual webpage on the site and I'm not getting them.