In Enterprise edition's STK site definition, you can define multiple sites.

If you have setup a new site definition say 'my-site', then in the google analytics a 'my-site' must be defined under

google-analytics>config>sites>


That's an obvious configuration thing, although you haven't mentioned whether or not you have actually created a new site definition.


If you cannot see the JS required for the Google analytics you are probably using a custom theme or something, I normally modify the prototype of my site definition so that the three required JS is included in every template. (note that i could have used all.js, but decided to only pick those used by Google Analytics itself)

you normally add them to
<your-site-name>\templates\prototype\jsFiles\

In there i add three entries related to google analytics:

jquery
    link = /resources/templating-kit/js/all/jquery.js
jquery-gatracker
    link = /resources/templating-kit/js/all/jquery-gatracker.js
init-gatracker
    link = /resources/templating-kit/js/all/init-gatracker.js


If you use a theme you can add these under jsFiles as well.

Hope that helps.

 On 07/09/2011 12:53, Magnolia Forums (on behalf of null) wrote:
Hello -

This is new posting, but related to the same issue described above. We have an 
enterprise edition. So google analytics was already there.

I set the following properties on author and activated it so it is available in 
public as well.

google-analytics>config>sites>default>enabled = true
google-analytics>config>sites>default>trackerID = UA-<id>  (id as provided by 
google analytics>

The javascripts are there under templating kit>resources>templating-kit>js>all

When I go to view source from the home page, I cannot see them. Nor can google 
analytics confirm that is is seeing the tracker code.

Am I missing any obvious configuration.



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to