I have copied/pasted the exact Google Analytics tracking code into the X Theme Google Analytics plugin area, yet I’m still getting an error notification for missing tracking code.
Hello @nick19allen,
Thanks for asking.
Please try adding Analytics code in child theme function.php file instead and see how it goes.
function third_party_tracking_code() { ?>
<script>
// Google Analytics.
</script>
<?php }
add_action( 'wp_head', 'third_party_tracking_code' );
Replace // Google Analytics.
with the tracking code.
Thanks.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.