Skip to content

Commit

Permalink
Add GAnalytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Lenclos committed Nov 11, 2014
1 parent 51f5eef commit 6b3df85
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ iron:router
accounts-ui
accounts-google
accounts-facebook
reywood:iron-router-ga

1 change: 1 addition & 0 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
reywood:[email protected]
[email protected]
[email protected]
[email protected]
Expand Down
3 changes: 2 additions & 1 deletion lib/router.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Router.configure({
layoutTemplate: 'layout',
loadingTemplate: 'loading',
notFoundTemplate: 'notFound'
notFoundTemplate: 'notFound',
trackPageView: true
});

Router.route('/', {
Expand Down
7 changes: 7 additions & 0 deletions settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"public": {
"ga": {
"id": "UA-2700248-16"
}
}
}

0 comments on commit 6b3df85

Please sign in to comment.