🚀 BetaHub Feedback Widget

Embeddable feedback widget for games and web applications

📍 Try the feedback widget!

The BetaHub widget is now active on this page. You can open it in two ways:

Note: This demo is connected to a real BetaHub project. Your submissions will be received!

✨ Features

// Basic Usage
<script src="betahub-widget.js"></script>
<script>
  BetaHubWidget.init({
    projectId: 'your-project-id',
    authToken: 'tkn-your-auth-token',

    // Optional configuration
    apiBaseUrl: 'https://app.betahub.io',
    position: 'bottom-right', // button position
    buttonText: 'Feedback',

    // Contact information options
    userEmail: 'user@example.com',  // pre-filled email (optional)
    requireEmail: false,  // require email for bugs/suggestions
    showEmailField: 'auto',  // 'auto', 'always', 'never'

    // Custom fields (metadata sent with every submission)
    customFields: {
      gameVersion: '1.0.0',
      platform: 'web',
      userLevel: '15'
    }
  });
</script>

🎮 PixiJS Game Integration Example

Your Game Canvas Here

The widget renders on top of your game canvas without interfering with game rendering. Users can submit feedback without leaving the game!

📦 Configuration Options

Required:

Optional:

🔐 Getting Your Credentials

To use this widget with your BetaHub project:

  1. Go to your BetaHub project dashboard
  2. Navigate to Project → Integrations → Auth Tokens
  3. Create a new auth token with permissions for:
    • can_create_bug_report
    • can_create_feature_request
  4. Copy your project ID and the generated token
  5. Use them in the widget initialization