Google Analytics and TM1 Web

Post Reply
mcguija
Posts: 28
Joined: Thu Dec 29, 2011 4:39 pm
OLAP Product: Cognos
Version: 9.5.2
Excel Version: 2003

Google Analytics and TM1 Web

Post by mcguija »

Hi,

Does anyone use Google Analytics to track activity? I know you have to add the Google code snippet. What page(s) should it be added to?

I am using Tm1 web 10.2.2.

Thanks
Jason
lotsaram
MVP
Posts: 3701
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Google Analytics and TM1 Web

Post by lotsaram »

might you care to explain exactly what you are trying to do?
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Google Analytics and TM1 Web

Post by tomok »

You can't do what you want to without hacking the TM1 code behind TM1Web. TM1Web is not a web publishing package. You can't add your own pages to TM1Web. What you do is either utilize the already built navigation page or you create web sheets that TM1Web displays for you. You don't create your own web pages so there is no way to add those Google Analytics widgets to your "page". If you were to delve into the Tomcat pages behind TM1Web you might be able to add them there so that when your web sheets or views are displayed the widget would show up at the bottom. Good luck.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Google Analytics and TM1 Web

Post by Alan Kirk »

mcguija wrote: Does anyone use Google Analytics to track activity? I know you have to add the Google code snippet. What page(s) should it be added to?

I am using Tm1 web 10.2.2.
Tomok speaks the truth, as is usual. But even if you could get Google Analytics to run, you won't be able to use to track people creating custom views, for example.

If your intent is to simply track who is using which reports, who is logging in and when, etc, the usual way is to create a cube which tracks your websheets (including the home page, if you have one specified) and have a DBS formula built into each websheet which "phones home" whenever the sheets are recalculated. This will give you some idea of usage patterns. But again, it doesn't track people creating custom views.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
User avatar
Elessar
Community Contributor
Posts: 412
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: Google Analytics and TM1 Web

Post by Elessar »

If you want to tract activity in TM1 Application Web, you can use tm1server.log: export it to your SQL (Oracle, MySQL, etc) and make the report counting processes like "}tp_workflow_enter_node", "..save_node" and so on.
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 10th article - AI has failed TM1 Quiz.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Google Analytics and TM1 Web

Post by tomok »

What I didn't mention is that you can bypass TM1Web as your primary web development tool, use whichever one you want like Sharepoint, Wordpress, Drupal, DotNetNuke....., and use the HTML API to embed TM1Web objects into your own pages. This should allow you to use Google Analytics or any other widget you want.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
mcguija
Posts: 28
Joined: Thu Dec 29, 2011 4:39 pm
OLAP Product: Cognos
Version: 9.5.2
Excel Version: 2003

Re: Google Analytics and TM1 Web

Post by mcguija »

Thanks All,

I was hoping it wouldn't be so tricky.

I thought that that maybe i could add it to tm1webapp.js or maybe applications.jsp.

I tired the first on and it does track but only if I do a full F5 refresh, navigating to different sheets doesn't refresh the entire frame it seems.


j.
lotsaram
MVP
Posts: 3701
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Google Analytics and TM1 Web

Post by lotsaram »

If you are interested in tracking web view and websheet activity I know that Pulse has this feature (nb I do have an association with Pulse). If you want to track to this level of granularity then you need something that is aware of the internals of the TM1 model itself e.g. the cube views and application entries.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
Post Reply