Code Monkey home page Code Monkey logo

Comments (3)

greenstick avatar greenstick commented on June 15, 2024

Hi akhillgopinath,

Originally there was no way to access the full JSON payload as it was generated on submission to the server endpoint; this was a bit of an oversight on my part. I've updated Interactor to have a debug mode that is enabled by default – each time you click an element, it will log the full schema that will be sent to the server endpoint. I hope this helps.

Pertaining to your last set of questions, I may need some clarification. It sounds like you're asking:

  • Is there one endpoint for the data? No, you can customize the endpoint as needed through the 'endpoint' configuration argument.
  • When does Interactor send the interactions payload? Right now, they're sent when the window.beforeunload event triggers. At some point I'll be updating the code to stream events using the Web Sockets API.

Hope that helps, feel free to respond with any further questions / issues.

Thanks!

from interactor.

akhi-ninja avatar akhi-ninja commented on June 15, 2024

thanks @greenstick , thanks for updating in a short time . Currently i dont have end point for this i can create one later , now i doing R&D on this . My requirement is to understand how to check function is really working when i hover a button in browser level . can you help me on that ?

from interactor.

greenstick avatar greenstick commented on June 15, 2024

No sweat. To check its working, you can pass the argument ["mouseenter", "mouseleave"] to the interactionEvent and/or conversionEvent properties (see README.md for an example of how to setup the config object). Note the default configuration will now log the Interactor.session object to console when you click a targeted element. Hope this helps!

from interactor.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.