Some work with spiderable

This commit is contained in:
vjrj 2018-02-14 10:26:22 +01:00
parent fc4155ea49
commit 8809a3e3c8
5 changed files with 42 additions and 9 deletions

View file

@ -1,12 +1,5 @@
import { Meteor } from 'meteor/meteor';
import createHistory from 'history/createBrowserHistory';
const history = createHistory();
history.listen((location) => { // , action ) => {
// console.log(location.pathname);
// console.log(action); // PUSH, etc
Meteor.Piwik.trackPage(location.pathname);
});
export default history;