> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Integration

> Complete guide to integrate Gameball with your website or web application using REST APIs and the Gameball widget

This documentation provides a comprehensive guide to integrating Gameball's loyalty program with your website or web application. Unlike mobile SDKs, web integration uses REST APIs and an optional JavaScript widget to deliver a seamless loyalty experience to your online customers.

<Info>
  Gameball's web integration is designed for websites and web applications. It combines REST API calls for server-side operations with an optional JavaScript widget for customer-facing features.
</Info>

## Integration Overview

By integrating Gameball with your web platform, you can:

* **Display the Gameball widget** to show customers their loyalty profile, points, and achievements
* **Track customer events** and behaviors to trigger rewards and campaigns
* **Process orders** and award cashback points automatically
* **Enable point redemption** for discounts and rewards
* **Track referrals** to grow your customer base organically

## Integration Guide

<CardGroup cols={2}>
  <Card title="Getting Started" icon="rocket" href="/installation-guides/v3/web/getting-started">
    Learn about web integration requirements and setup
  </Card>

  <Card title="Initialize Widget" icon="puzzle-piece" href="/installation-guides/v3/web/initialize-widget">
    Integrate the Gameball customer widget into your website
  </Card>

  <Card title="Customer Management" icon="user" href="/installation-guides/v3/web/customer-management">
    Create and manage customer profiles via API
  </Card>

  <Card title="Track Events" icon="chart-line" href="/installation-guides/v3/web/track-events">
    Send customer events to trigger rewards and campaigns
  </Card>

  <Card title="Track Orders" icon="shopping-cart" href="/installation-guides/v3/web/track-orders">
    Process orders and award cashback points
  </Card>

  <Card title="Integrate Redemption" icon="gift" href="/installation-guides/v3/web/integrate-redemption">
    Enable customers to redeem points for discounts
  </Card>

  <Card title="Track Referrals" icon="users" href="/installation-guides/v3/web/track-referrals">
    Implement referral tracking and rewards
  </Card>

  <Card title="Go-Live Checklist" icon="check" href="/installation-guides/v3/web/go-live-checklist">
    Verify your integration before going live
  </Card>
</CardGroup>

## Requirements

* **Web Platform**: Website or web application with server-side capabilities
* **API Access**: Ability to make REST API calls from your backend
* **JavaScript Support**: For widget integration (optional)
* **Authentication**: Gameball API key and transaction key
* **HTTPS**: Secure connection for API calls

## Key Differences from Mobile SDKs

Unlike mobile SDKs, web integration:

* Uses **REST APIs** instead of native SDKs
* Requires **server-side API calls** for security (API keys should never be exposed client-side)
* Includes an **optional JavaScript widget** for customer-facing features
* Supports **both guest and authenticated** customer views
