cancel
Showing results for 
Search instead for 
Did you mean: 

Google Analytics in Activiti-Explorer

onlinesun
Champ in-the-making
Champ in-the-making
I tried to add Google Analytics to Activiti-Explorer, but it never showed up, I tried to add the code into ExplorerApplicationServlet.writeAjaxPageHtmlVaadinScripts:

String googleAnalytics = "xxxxxxx"; //Google Analytics generated code
page.write(googleAnalytics);

But it doesn't work. I searched the Vaadin forum, there is an add-on for google analytics. Is there a simple way to add the analytics code other than downloading the vaadin analytics add-ons?
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
Hmm it seems that the addon is the easiest. It probably takes quite a bit of Vaadinmagic to get that custom js into the index page.

onlinesun
Champ in-the-making
Champ in-the-making
OK I'll try the add-on then.
So, does that mean if I want to add a Javascript library like JQuery, I need to write some client code and recompile widgetsets? Thanks.