Your google analytics plugin sanitizes basic analytics google supplied js. Will you please fix it and/or tell me how I can put this stuff in the header? Man, you’d think with a theme this advanced something as simple and universal as google analytics would be a basic part of the setup.
Hi,
Thanks for writing in!
You can add this in your child theme’s functions.php file
function add_analytics() {
?>
ADD ANALYTICS CODE HERE
<?php
}
add_action('wp_head', 'add_analytics');
Hope that helps.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.