summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/_router.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-08-31 19:59:58 +0200
committerJules Laplace <julescarbon@gmail.com>2020-08-31 19:59:58 +0200
commita81d20bc18d002623fc24cdcea8df7eed6d85bc9 (patch)
tree6cc84744b966f3ca5a80c7ed86488751a0603f35 /StoneIsland/www/js/lib/_router.js
parentd738bb120f86d491729a928cec275ff26c90cc09 (diff)
pre-firebase setup...
Diffstat (limited to 'StoneIsland/www/js/lib/_router.js')
-rwxr-xr-xStoneIsland/www/js/lib/_router.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/_router.js b/StoneIsland/www/js/lib/_router.js
index 9feb262a..7d487689 100755
--- a/StoneIsland/www/js/lib/_router.js
+++ b/StoneIsland/www/js/lib/_router.js
@@ -101,7 +101,7 @@ var SiteRouter = Router.extend({
}
// window.FirebasePlugin && window.FirebasePlugin.setScreenName(name)
- analytics.send(name)
+ analytics.sendPageView(name)
console.log("view >>", app.view)
app.header.set_back( !! app.view.back )
app.view.show()
@@ -129,7 +129,7 @@ var SiteRouter = Router.extend({
if (app.view && app.view.hide) {
app.view.hide()
}
- analytics.send('store/' + code)
+ analytics.sendPageView('store/' + code)
app.view = app.product
app.header.set_back( true )
app.product.load(code)