aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ga.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ga.js b/ga.js
index 8439f09..17ba4b0 100644
--- 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)
}