Comments (6)
Similar situation here - I was forced to remove this package entirely as it renders the app inoperable. Even removing trackPageView: true
did not help. Templates failed to render and hooks did not run.
from meteor-iron-router-ga.
Just released a new version that might fix your issues.
from meteor-iron-router-ga.
Unfortunately I didn't have any luck after updating.
I don't know much about the package internals, but if it is any help for debugging, I have a fairly standard configuration where I have one custom controller defined with RouteController.extend({})
that runs an onRun
and onBeforeAction
, each of which runs this.next();
after performing some logic. I then have onRun
and onBeforeAction
defined on each route, also with this.next();
defined.
It seems as if none of these hooks are being run, as the templates are not rendering and the logic is not being performed. The same result occurs whether I add Router.configure({trackPageView: true});
or comment it out.
I wonder if this.next();
being called by the package is causing it to skip some or all of the controller and/or route functions.
from meteor-iron-router-ga.
If you could put together a minimal project that recreates the problem, that would be very helpful. Since I'm not seeing the problem in my projects, I'd just be taking shots in the dark otherwise.
from meteor-iron-router-ga.
actually onRun doesn't seem to fire at all in iron router i filed an issue here: iron-meteor/iron-router#1097
from meteor-iron-router-ga.
I'm going to assume the underlying problem was resolved and close this. Re-open if issue persists.
from meteor-iron-router-ga.
Related Issues (20)
- Experiments: Not all users being tracked. HOT 4
- Page meta titles HOT 7
- Build fails on CircleCi HOT 9
- On cordova App.accessRule('*.google-analytics.com/*') is needed HOT 2
- hitCallback function HOT 1
- Problem in cooperation with iron-routers "ensureSignedIn" Plugin HOT 2
- User ID - Web Tracking
- This package breaks orionjs HOT 4
- [question] Does onRun overwrites itself or not? HOT 1
- Flow router support? HOT 1
- Problem with uncorrect Router.route override HOT 1
- Using Meteor.userId() as the user identifier HOT 6
- Set configuration with .config({ ... }) HOT 10
- ga var is not available in server-side code... possibly update readme to reflect this. HOT 1
- Its not tracking all routes HOT 5
- How to programatically override GA site ID? HOT 1
- Not tracking in Google Analytics HOT 1
- How to use multiple tracking codes in multiple pages? HOT 2
- Not finding GA ID from settings HOT 3
- Enable warning message if "ga" is not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-iron-router-ga.