tjanczuk/nodalytics

Can't get it to work

Opened this issue · 0 comments

I really like the idea of nodalytcs and wanted to take advantage of it, but failed so far.

First, I've create new GA propoerty with my existing account and used tracking ID. As I accessed the application in Real Time view it showed my requests from completely different location (Netherlands, but I'm in Ukraine).

Also instead of logging actual HTTP request, it logged URL's of my app. (E.g. instead of /api/user/inbox I see /inbox which corresponds current URL).

I've created completely new GA account (Universal one), but results are the same.

My configuration,

    app.configure('production', function() {
        app.use(express.compress());
        app.use(express.static(path.join(__dirname, 'public'), { maxAge: oneMonth }));
        app.use(nodalytics(config.nodalytics.ua));
        app.use(middleware.serveMaster.production());
    });

where, config.nodalytics.ua hold my tracking id.

I probably fail to configure it properly or there is a problem in nodalytics itself. I would be really happy to help to diagnose the issue and make it work, since it looks really promising.