added google analytics
This commit is contained in:
@@ -67,6 +67,7 @@ NavigationStore.dispatchToken = AppDispatcher.register(function(payload) {
|
||||
switch (action.actionType) {
|
||||
|
||||
case NavigationConstants.CHANGE_URL:
|
||||
ga('send', 'pageview', action.url);
|
||||
var router = require('../router');
|
||||
setTimeout(function() {
|
||||
router.transitionTo(action.url);
|
||||
|
||||
Reference in New Issue
Block a user