diff options
author | Manolo Carrasco <manolo@apache.org> | 2015-10-19 09:46:21 +0200 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2015-10-19 09:46:21 +0200 |
commit | dc86fe3f8ae774609d081fbb53c3f72f676264fd (patch) | |
tree | e1e1166ecf145915e9427ad7268bb0720cd46f80 /ga.js | |
parent | 7fc557c6fc961318e4f6c0379afa1d9a909e2e36 (diff) | |
download | vaadin-core-dc86fe3f8ae774609d081fbb53c3f72f676264fd.tar.gz vaadin-core-dc86fe3f8ae774609d081fbb53c3f72f676264fd.zip |
Set new path in ga.js
Diffstat (limited to 'ga.js')
-rw-r--r-- | ga.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |