Google Analytics in Activiti-Explorer

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2014 03:36 PM
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?
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?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014 04:09 AM
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014 09:41 AM
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.
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.
