NYCPHP Meetup

NYPHP.org

[joomla] Implementing google Analytics

Matt Thomas matt at betweenbrain.com
Tue Jan 29 16:55:51 EST 2013


Todd,

Yes, exactly. If you are creating your own template, you can create a
module position anywhere on the page, even in the head or before the
closing body tag, for this module. I prefer to put it just before the
closing body tag (i.e.
https://github.com/construct-framework/construct5/blob/master/index.php#L472)
Like
others have suggested, you can also use a plugin. There are many ways to
accomplish it.

Best,

Matt Thomas
Founder betweenbrain <http://betweenbrain.com/>™
Lead Developer Construct Template Development
Framework<http://construct-framework.com/>
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain


On Tue, Jan 29, 2013 at 3:59 PM, Todd S <toddsugi at gmail.com> wrote:

> Thanks Matt,
>
> I was reading the google analytics instructions and it said that the code
> should be put in the head section.  I create my own templates so that
> shouldn't be a problem. However i've never put a module postion in the head
> content. Will that work?
>
>
> On Tue, Jan 29, 2013 at 3:54 PM, Matt Thomas <matt at betweenbrain.com>wrote:
>
>> One of the simplest ways to do it is to copy/paste the provided code into
>> a custom HTML module.
>>
>> Best,
>>
>> Matt Thomas
>> Founder betweenbrain <http://betweenbrain.com/>™
>> Lead Developer Construct Template Development Framework<http://construct-framework.com/>
>> Phone: 203.632.9322
>> Twitter: @betweenbrain
>> Github: https://github.com/betweenbrain
>>
>>
>> On Tue, Jan 29, 2013 at 3:30 PM, Todd S <toddsugi at gmail.com> wrote:
>>
>>>  Anyone know a good way to implement google analytics on your joomla
>>> site?
>>> I'm fairly new to using google analytics, so i'm not sure if it would be
>>> through extension.
>>>
>>> thanks,
>>> Todd
>>>
>>> _______________________________________________
>>> New York PHP SIG: Joomla! Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/joomla
>>>
>>> NYPHPCon 2006 Presentations Online
>>> http://www.nyphpcon.com
>>>
>>> Show Your Participation in New York PHP
>>> http://www.nyphp.org/show_participation.php
>>>
>>
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20130129/ff892a8e/attachment.html>


More information about the Joomla mailing list