Qwestive web3 referral
  • OVERVIEW
    • 👋Introduction
  • Setup referral campaign
    • 💻Quick Start
    • Developers: Getting started
    • Implement Tracking
      • Client side Tracking
        • React example
        • Adding welcome popup card
      • Server side Tracking
    • Implement Embedded UI
      • React Example
      • NextJS Example
    • Admin API
  • 💼Use Case
  • 🚀Launch preparation
  • 🤖Bot and Fraud Detection
Powered by GitBook
On this page
  • go to referral.qwestive.io and select your project
  • make sure you can access admin section
  • go to API settings to access project level api keys
  1. Setup referral campaign

Developers: Getting started

Steps on how to get started and setting up local environment for development and testing.

PreviousQuick StartNextImplement Tracking

Last updated 2 years ago

go to and select your project

make sure you can access admin section

go to API settings to access project level api keys

  • Copy ProjectId will be used in SDK initialization and server-side API

  • Copy API key for client-side SDK purpose

  • Copy API secret Key for server-side APIs

  • Add client-side app's domain, also localhost while testing in development

These values will be required while using our tracking SDK or embedUI SDK or calling our server-side APIs.

Parameter
Description

projectId

Unique id for the project

apiKey

Public api key to be used to from tracking SDK and embedUI SDK (client-side only)

secretApiKey

Secret api key to be used for calling APIs directly from a server where it is stored securely (server-side only)

Please note to add your web app's domain or localhost in allowed domains list for authorization, where SDK will be integrated or initialized from

Once, the integration has been completed and tested, it can be removed from the list.

Few other parameters like project-key and campaignId will be required for EmbedUI:

Parameter
Description

project-key

project-key is the subdomain of the project assigned within qwestive's referral app

campaignId

Unique id for the campaign within the project

  1. From project page, select specific campaign which you want to display in embedUI by default

  2. Now, copy the url from the navigation bar of your browser, it should look something like this: "https://test.referral.qwestive.io/referral/uPqB6kNJwd6SXVsXIVTa ".

  3. Here, test.referral is project-key and uPqB6kNJwd6SXVsXIVTa is campaignId

Go to qwestive's referral and select your project

app
referral.qwestive.io
referral.qwestive.io landing page
admin section from left sidebar
API settings page