summaryrefslogtreecommitdiffstats
path: root/ga.js
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2015-10-19 09:46:21 +0200
committerManolo Carrasco <manolo@apache.org>2015-10-19 09:46:21 +0200
commitdc86fe3f8ae774609d081fbb53c3f72f676264fd (patch)
treee1e1166ecf145915e9427ad7268bb0720cd46f80 /ga.js
parent7fc557c6fc961318e4f6c0379afa1d9a909e2e36 (diff)
downloadvaadin-core-dc86fe3f8ae774609d081fbb53c3f72f676264fd.tar.gz
vaadin-core-dc86fe3f8ae774609d081fbb53c3f72f676264fd.zip
Set new path in ga.js
Diffstat (limited to 'ga.js')
-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)
}