From: Manolo Carrasco Date: Mon, 19 Oct 2015 07:46:21 +0000 (+0200) Subject: Set new path in ga.js X-Git-Tag: 0.3.0-beta11~3^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dc86fe3f8ae774609d081fbb53c3f72f676264fd;p=vaadin-core.git Set new path in ga.js --- 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) }