Hi,
I am using the classic google analytics tracking code. The javascript snippet does show up on the shiny sites with the UA-XXXXXX-X. Nothing seem to happen if I use the standard 3838 port. As soon as I switch to port 80 and try to verify, if the tracking code is active in google analytics, this happens:
sudo shiny-server
[2013-06-13 15:04:52.694] [INFO] shiny-server - Shiny Server v0.3.4 (Node.js v0.10.0)
[2013-06-13 15:04:52.696] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2013-06-13 15:04:52.816] [INFO] shiny-server - Starting listener on
0.0.0.0:80[2013-06-13 15:05:31.484] [ERROR] shiny-server - Uncaught exception: TypeError: Arguments to path.join must be strings
/usr/local/lib/node_modules/shiny-server/lib/main.js:202
throw err;
^
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at /usr/local/lib/node_modules/shiny-server/lib/router/router.js:93:39
at /usr/local/lib/node_modules/shiny-server/node_modules/q/q.js:388:35
From previous event:
at Server.ShinyProxy.httpListener (/usr/local/lib/node_modules/shiny-server/lib/proxy/http.js:93:6)
at Server.new_handler (/usr/local/lib/node_modules/shiny-server/node_modules/sockjs/lib/utils.js:85:20)
at Server.EventEmitter.emit (events.js:117:20)
at Server.emitter (/usr/local/lib/node_modules/shiny-server/lib/server/server.js:193:15)
at Server.EventEmitter.emit (events.js:98:17)
at HTTPParser.parser.onIncoming (http.js:2014:12)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:119:23)
at Socket.socket.ondata (http.js:1904:22)
I would be grateful for advice here.
Cheers
Jan