]> source.dussan.org Git - vaadin-core.git/commitdiff
Set new path in ga.js
authorManolo Carrasco <manolo@apache.org>
Mon, 19 Oct 2015 07:46:21 +0000 (09:46 +0200)
committerManolo Carrasco <manolo@apache.org>
Mon, 19 Oct 2015 07:46:21 +0000 (09:46 +0200)
ga.js

diff --git a/ga.js b/ga.js
index 8439f090f41ca2304559ca281feed98c5c440f43..17ba4b0cce74840a842fc6d52feaf97d4d8b9c4e 100644 (file)
--- a/ga.js
+++ b/ga.js
@@ -10,7 +10,7 @@ ga('create', 'UA-658457-6', 'auto');
 function locationHashChanged() {
   if(/vaadin/.test(window.location.hostname)) {
     var pageViewUrl = (window.location.pathname + window.location.hash)
-      .replace(/vaadin-components\/latest\/(.+)\/demo/, 'components-examples/$1')
+      .replace(/vaadin-elements\/latest\/(.+)\/demo/, 'components-examples/$1')
       .replace('#', '/');
     ga('send', 'pageview', pageViewUrl)
   }