Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Admin Admin
RE: Google Analytics in a la Carte [ reply ]  
2009-09-27 22:51
Ian,
We use Urchin so I do not use the scripts.

FYI: this is for V 1.3
Every page and guide including the portal pages are wrapped with the template layout - so just putting the script there will do, similarly putting them in template_bottom would work too, but you don't need both.

By: Ian Chan
RE: Google Analytics in a la Carte [ reply ]  
2009-09-17 21:08
Hi David,

We've placed others in app/views/shared/_template_bottom.rhtml.

Kim,

What does OSU use from analytics on a la Carte usage?

By: David Lippert
Update for v1.3 - RE: Google Analytics [ reply ]  
2009-09-17 21:00
Hi,

When switching to version 1.3, I realized that now it is easier to set up Google Analytics. Every page that needs the GA code is in the layouts directory:

/app/views/layouts/template.rhtml
-This will cover all the public views

/app/views/layouts/login.rhtml
-This is for the login and forgot password page

/app/views/layouts/tool.rhtml
-This will cover all of the pages that are used to create guides, etc.

/app/views/layouts/admin.rhtml
-This will cover all administrator pages.

Dave


By: David Lippert
RE: Google Analytics in a la Carte [ reply ]  
2009-07-28 17:32
I think I've got the tracking cookie installed on all pages now, and I expect it to work as it should. If I have any more problems I'll let you know, but here's the pages I had to install the tracking code on:
/app/views/layouts/srg_template.rhtml
- includes all subject guides

/app/views/ica/published_pages and .../srg/published_guides
-The two "index" pages for srgs and icaps

/app/views/ica/index
-All course guides

/app/views/login/login.rhtml and forgot_password.rhtml
-This will tell me how many people are going to alacarte.pcc.edu/

Thanks, Dave


By: Admin Admin
RE: Google Analytics in a la Carte [ reply ]  
2009-07-28 00:02
We don't use analytics so I am just guessing.

To get stats for all the pages at once. Add the script to:

/app/views/layouts/template.rhtml



To get stats just for the portal pages add the script to:
/app/views/ica/published_pages and .../srg/published_guides

and for the individual pages. Add the script to:
/app/views/ica/index and .../srg/index

I would start playing with those files. Let us know what you find out.

By: David Lippert
Google Analytics in a la Carte [ reply ]  
2009-07-27 23:02
Is anyone using Google Analytics with a la Carte? If so, would you be willing to share which files the tracking scripts should be placed in? Thanks!