Learn how to track and analyze feedback data in Oppla
// Events are automatically tracked - feedback_panel_opened - feedback_submitted - feedback_cancelled - feedback_error
publicFeedback({ form: { title: "Your Feedback", description: "We would love to hear from you" }, analytics: { properties: { page: "homepage", section: "features", userType: "premium" } } });
// Export all feedback const feedback = await oppla.feedback.export({ format: 'csv', dateRange: { start: '2024-01-01', end: '2024-03-20' } }); // Export specific categories const bugReports = await oppla.feedback.export({ format: 'json', categories: ['bug', 'issue'], status: 'open' });
// Send feedback events to analytics oppla.feedback.on('submitted', (feedback) => { window.oppla.track('Feedback Submitted', { category: feedback.category, priority: feedback.priority, userType: feedback.userType }); });
Was this page helpful?