Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Google Analytics


 
Prev Previous Post   Next Post Next
  #1  
Old Apr 2, 2013, 09:14 AM
trescuatrotres
 
11 posts · Nov 2012
Exclamation Google Analytics

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( '&larr;', 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.
 

Bookmarks

Tags
goolge anlytics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Analytics and Adsense zzsimonb eCommerce & Atahualpa 15 Feb 20, 2012 06:36 PM
Where do I put google analytics? daniel jones Header configuration & styling 17 Feb 1, 2012 07:51 PM
Google Analytics is crashing IE8 cleask Center area post/pages 5 Feb 9, 2010 06:01 AM
Another Google Analytics Question.. dilly Plugins & Atahualpa 2 May 27, 2009 08:50 AM
Google Analytics fratelli78 Atahualpa 3 Wordpress theme 1 May 21, 2009 06:12 PM


All times are GMT -6. The time now is 07:51 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.