Good Afternoon,
I'm trying to install the Google Analytics Tracking Code but but Google don't recognize it.
I copied it on Appearance/Editor/head.php
and it seems like this:
<!DOCTYPE html>
<?php global $montezuma, $bfa_css, $is_IE; if( $is_IE ): ?>
<!--[if IE 8 ]><html class="ie8 notie67" <?php language_attributes(); ?>><![endif]-->
<!--[if IE 9 ]><html class="ie9 notie67" <?php language_attributes(); ?>><![endif]-->
<!--[if (gt IE 9)]><html class="notie67" <?php language_attributes(); ?>><![endif]-->
<?php else: ?>
<html class="notie67" <?php language_attributes(); ?>>
<?php endif; ?>
<head>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-39783299-1', 'trescuatrotres.es');
ga('send', 'pageview');
</script>
<?php echo $montezuma['insert_head_top']; ?>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<?php if( $is_IE ) echo $montezuma['meta_xua_compatible']; ?>
<?php echo $montezuma['meta_viewport']; ?>
<title><?php wp_title( '←', true, 'right' ); ?></title>
<?php if( $montezuma['xfn_link'] === 1 ) { ?><link rel="profile" href="http://gmpg.org/xfn/11" /><?php } ?>
<?php echo $bfa_css; ?>
<?php if( $montezuma['favicon_url'] != '' ) { ?>
<link rel="shortcut icon" href="<?php echo $montezuma['favicon_url']; ?>" type="image/ico" />
<?php } ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_head(); ?>
<?php echo $montezuma['insert_head_bottom']; ?>
Thanks a lot for your help.