Comments (8)
Hey @Shomari, thanks for reaching out. When you call trackJs.track()
, we attempt to make the value you pass into an Error
object so that we can see a stack trace. If the data you send is unserializable, it could prevent an error from sending, or send a different error than what you expect.
Can you share some example code of what you are seeing? Can you share what data_i_want
is at the time you invoke track?
from trackjs-package.
@toddhgardner even if I just put in a simple string then nothing happens. This issue only happens in the callback method and not anywhere else. In the example code, the first trackJs.track will fire, but the second one that is in the callback messageListener (with the string 'in callback') won't fire
signAgreement(){
var that = this;
trackJs.track('first')
HelloSign.init(client_id);
HelloSign.open({
url: sign_url,
allowCancel: true,
messageListener(eventData) {
trackJs.track('in callback')
var eventMessage = eventData.event;
var signatureId = eventData.signature_id;
that.props.onHide();
NotificationActions.success('Document successfully signed');
}
},
});
},```
from trackjs-package.
@Shomari I'm not aware of any situation in our script that would know the difference, or care at all between these two calls. Are you confident that the callback is firing? If you attach a debugger, or print a console message, do you see it firing?
from trackjs-package.
yup, I've put debugger in and have console logged the data with success. Also our notificationAction also fires. Its just that we don't get any data showing up on my.trackjs.com for our account
from trackjs-package.
@Shomari can you email us your account name or email address so we can dig in further? [email protected]
.
Have you created a clientside filter using the onError callback?
from trackjs-package.
Just so you all aren't spinning your wheels we think its because browserfiy or something else thats preventing trackJs from firing (we keep getting entity too large errors) so we doubt it has anything to do with the trackJs code
from trackjs-package.
@Shomari thanks for the update!! You may receive an Entity too large from us when sending an error if the text is more than 100kb. We do this to protect our system against high volume and attack.
If you have lots of very large objects getting logged to the console, it is possible you hit this limit.
from trackjs-package.
yeah we aren't directly sending large objects but think something else maybe hijacking the call and adding stuff to it. Thanks for your responsiveness
from trackjs-package.
Related Issues (20)
- Hard to debug error: `undefined undefined: undefined undefined` HOT 1
- TypeScript error: "tracker.d.ts is not a module" HOT 1
- Feature request: Trello integration HOT 2
- "Not a product" error for some users from track.js package (latest) HOT 5
- Enable TrackJS on Web Worker HOT 12
- trackjs console intercept causes DevTools to label all output as coming from your code HOT 6
- TrackJS breaks isomorphic applications HOT 7
- trackjs CDN returns access denied for v3.0 HOT 4
- calling TrackJS.track outputs warning "TrackJS: agent must be installed" HOT 6
- New typescript types do not work with TrackJS on window HOT 17
- New install instructions would error if the script is blocked HOT 2
- Issue with google web master HOT 1
- [FEATURE REQUEST] rust-wasm client HOT 4
- `isInstalled` is missing from TrackJSStatic interface HOT 2
- Internal issue which cause "Attempted to assign to readonly property." HOT 5
- [Typing Issue]: Missing `warn` from `TrackJSInstallOptions.console` HOT 1
- Pass original error name to onError callback HOT 2
- Didnt catch an 413 network error HOT 1
- invalid escape sequence with copied code from website HOT 2
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 trackjs-package.