Some work with spiderable
This commit is contained in:
parent
fc4155ea49
commit
8809a3e3c8
5 changed files with 42 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue