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

Cannot call method 'set' of undefined bitdeli.min.js:38 #1

Open
missinglink opened this issue Apr 29, 2013 · 1 comment
Open

Cannot call method 'set' of undefined bitdeli.min.js:38 #1

missinglink opened this issue Apr 29, 2013 · 1 comment

Comments

@missinglink
Copy link

Uncaught TypeError: Cannot call method 'set' of undefined bitdeli.min.js:38
e.extend.set bitdeli.min.js:38
e.extend.identify bitdeli.min.js:38
e.extend._execute bitdeli.min.js:39
c.each.c.forEach bitdeli.min.js:6
e.extend.executeAll bitdeli.min.js:40
i.Queue bitdeli.min.js:40
i.Library bitdeli.min.js:37
(anonymous function) bitdeli.min.js:58
h bitdeli.min.js:4
(anonymous function) bitdeli.min.js:58
(anonymous function) bitdeli.min.js:58
(anonymous function) bitdeli.min.js:58
@jtuulos
Copy link
Member

jtuulos commented Apr 29, 2013

@missinglink Thanks for reporting this. In the future, please report issues about the basic version of our JavaScript library on the bitdeli/bitdeli-tracking-js repository.

It seems like you are trying to call the identify method before calling setAccount. The setAccount method should always be called first in the tracking code since it sets up the tracking cookie for user properties.

Better error messages for handling corner cases like this are on the todo list.

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