Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not passing to GA. Using Google Compute #10

Open
interzonez opened this issue Dec 10, 2015 · 1 comment
Open

Not passing to GA. Using Google Compute #10

interzonez opened this issue Dec 10, 2015 · 1 comment

Comments

@interzonez
Copy link

Here's console log from Google Compute SSH. Nothing is appearing in GA. Looks like the webhook is working.

Listening on port 8080
{"v":1,"tid":null,"cid":"U0FFY6M1T","ds":"slack","cs":"slack","cd1":"U0FFY6M1T","cd2":"week4","cd3":"and more
😉","cm1":2,"cm2":1,"cm3":0,"cm5":0,"cm6":0,"dh":"complexitytest.slack.com","dp":"/week4","dt":"Slack Chan
nel: week4","t":"event","ec":"slack: week4|C0FQ0PLGK","ea":"post by U0FFY6M1T","el":"and more 😉","ev":1}
{ token: 'dEFEaEVKWgwDbkNKrTcaFtjE',
team_id: 'T0FFTUPM5',
team_domain: 'complexitytest',
service_id: '16345228230',
channel_id: 'C0FQ0PLGK',
channel_name: 'week4',
timestamp: '1449734677.000019',
user_id: 'U0FFY6M1T',
user_name: 'adrian',
text: 'and more 😉' }
null

@davejennings
Copy link

This is old, but just in case anyone has the same issue.

"tid":null - this should be your Google Analytics Tracking ID (starts "UA-").

https://support.google.com/analytics/answer/1032385?hl=en

Within the sample app.js this needs specifying in a couple of places:

var env_var = {
        ga_key: process.env.UA-XXXXXXXX-X
};


...

...

 //Structure Data
        var data = {
                v:              1,
                tid:    "UA-XXXXXXXX-X",
...

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants