summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/_router.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/_router.js')
-rwxr-xr-xStoneIsland/www/js/lib/_router.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/_router.js b/StoneIsland/www/js/lib/_router.js
index 75f598e9..9feb262a 100755
--- a/StoneIsland/www/js/lib/_router.js
+++ b/StoneIsland/www/js/lib/_router.js
@@ -101,6 +101,7 @@ var SiteRouter = Router.extend({
}
// window.FirebasePlugin && window.FirebasePlugin.setScreenName(name)
+ analytics.send(name)
console.log("view >>", app.view)
app.header.set_back( !! app.view.back )
app.view.show()
@@ -128,6 +129,7 @@ var SiteRouter = Router.extend({
if (app.view && app.view.hide) {
app.view.hide()
}
+ analytics.send('store/' + code)
app.view = app.product
app.header.set_back( true )
app.product.load(code)