On Fri, Feb 18, 2011 at 10:56 AM, Owen Winkler <[email protected]> wrote:
> On 2/18/2011 10:50 AM, Scott Merrill wrote:
>>
>> I had previously hard-coded my Google Analytics script in my
>> footer.php, but decided today to use the Google Analytics plugin.
>>
>> I installed and activated the plugin, but I don't see anything
>> relevant being output in my theme. I guess I need to modify my theme
>> somehow to trigger the plugin, but I'm not sure what I need to do. I
>> think it has something to do with the Stack and javascript ... ?
>
> The easiest way to make this work seems to be to add this code inside the
> <head> tag of your theme:
>
> <?php $theme->header(); ?>
I already had that:
<link rel="stylesheet" type="text/css" media="screen"
href="<?php Site::out_url('theme'); ?>/style.css">
<link rel="openid.server" href="https://www.myopenid.com/server">
<link rel="openid.delegate" href="http://skippy.myopenid.com/">
<?php $theme->header(); ?>
</head>
<body>
If you look at the source of my site, you'll see that after the openid
stuff comes the Atom and RSD links. Yet no Google Analytics code is
being displayed. :(
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/habari-users