LogoLogo
  • Introduction to the Ebbot Platform
  • Ebbot Platform
  • Bot basics
    • Scenarios
    • Entities
    • Triggers
    • Training center
  • Scenarios
    • Cards and syntax
      • File Input
      • Text card
      • Input
      • Buttons
      • Image
      • File
      • Carousel
      • Location
      • List
      • Contact Agent
      • Rating request
      • Custom component
      • CoBrowsing
    • Transition
    • Card properties
  • AI Insights
    • Setup and Configuration
    • Using the Insights Dashboard
  • EbbotGPT
    • Knowledge
      • Data source transformer
      • Source types
        • File
        • Website scrape
        • Docx file
        • TOPdesk API
        • Sitevision API
        • SharePoint API
          • Create app with Sites.FullControl.All permission in Azure
          • Ebbot SharePoint Postman Guide
        • Confluence API
    • Configurations
    • Persona
    • GPT Evaluation
    • Embedder models
    • EGPT models
  • Custom vocabulary
  • Tutorials
    • Create your first scenario
      • Select a trigger
      • Add bot responses
  • Data Object
  • Release notes
  • For developers
    • Ebbot SDK
    • Safe Exchange API / Vault
    • Subdomain manager
  • EbbotGPT API
  • Chatbot & Live chat
    • Install chat widget
    • Chats API
    • Chat widget API
    • Datasource API
    • Sales tracking for live chat
    • Webhook
      • Incoming webhooks
      • Outgoing webhooks
    • SMS API
      • Authentication
      • Send SMS
      • Errors
      • Encoding
    • Python components
    • Intent detection (NLP)
  • Product guides
    • Product data feeds
    • Install guide
    • Product guide events
      • Product guide user events
      • Received events
      • Send events
    • API & webhooks
    • GA4 integration
    • Klaviyo integration
  • Messenger marketing
    • Install popup
    • API & webhooks
  • For chat agents
    • Ebbot Chat
      • Settings modal
      • Queue
      • Topbar Stats
      • Menu
        • Power-Ups!
        • Quick Replies
  • INTEGRATIONS
    • Ebbot Live Chat in Zendesk
      • Setup guide
    • Active Directory - SAML
    • Configure SAML in Azure
Powered by GitBook
On this page
  • Socket events
  • E-com tracking events

Was this helpful?

  1. Product guides
  2. Product guide events

Send events

Socket events

You send events using window.DT.productGuide.emit(EVENT_TYPE, DATA).

These are the events:

/* -- This is used to initiate the product guide, productGuideId is the ID of the guide and lang is the preferred language -- */
window.DT.initProductGuide('productGuideId', { lang: 'en' });

/* -- Options is an array of UUIDs of the buttons that were pressed. -- */
window.DT.productGuide.emit('options', { options: ['uuid'] });

/* -- Inputs are an array of objects that contain the ID and value from the input. -- */
window.DT.productGuide.emit('user_input', { inputs: [{ id: 'uuid', input: 'Some value' }] });

/* -- This is used when loading more products - From is the amount you have now - To is the previous amount + the amount you want to fetch. -- */
window.DT.productGuide.emit('products', { from: 3, to: 6 });

/* -- From is the UUID of the step you want to skip from -- */
window.DT.productGuide.emit('skip', { from: 'uuid' });

/* -- To is the UUID of the step you want to undo to -- */
window.DT.productGuide.emit('undo', { to: 'uuid' });

/* -- Used to restart the guide. -- */
window.DT.productGuide.emit('init');
  • The only event that will send product_guide_products is products.

E-com tracking events

PreviousReceived eventsNextAPI & webhooks

Last updated 1 year ago

Was this helpful?

These events will send a response back, you can see them .

You can view the e-com tracking events .

here
here