Solana ID Docs
  • Getting Started 🪷
  • About Solana ID
    • Introduction
    • How it Works
  • $SOLID
    • Tokenomics
    • Pre-Season Airdrop
    • Reputation Staking
  • Terminology
    • SOLID Score
    • Data Vault
    • Wallet Tiers & Badges
    • Perks
    • Solana ID Perk Frames
    • Priority Pass
  • Solana ID Attestation Service
    • Intro to Solana Attestations
  • Solana ID Career Attestations
  • Implementation
    • Score API Integration
      • Quick Start Guide
      • Wallet API Response Data
      • On-Chain Data Points
    • Display Ad Integration
      • Quick Start Guide - WIP
  • Learn more
    • Claim Page FAQ
    • Contact us
Powered by GitBook
On this page
  • ATTENTON! THIS IS A WORKING DOCUMENT!
  • Getting Started
  1. Implementation
  2. Display Ad Integration

Quick Start Guide - WIP

Integrating Solana ID is simple and quick, let's get started.

PreviousDisplay Ad IntegrationNextClaim Page FAQ

Last updated 3 months ago

ATTENTON! THIS IS A WORKING DOCUMENT!

Perk: a personalised proposition for a user

example: As an active trader, you receive a 10% discount to try out our new service

The perk is automatically displayed on the page in the perk frame with the solana-id-perk-frame identifier (step 2). This comes with default neutral branding, but can be tailored like any other element on the page using CSS.

Perk frame: a container on a webpage in which a perk is presented to the user

example (click to enlarge):

Getting Started

1

Step 1: Add Solana ID Script Tag

<!-- Load the Solana ID library in the header of your page -->
<header>
...
    <script src="https://unpkg.com/@solana-id/solana-id.js@latest/lib/perk-frame.js"></script>
...
</header>

2

Step 2: Place Perk Frame on webpage

<body>
...
    <!-- Place a div in the body of the page -->
    <div id="solana-id-perk-frame"></div>
...
</body>

3

Step 3: Done! 🎉

That's it, your done. Time to profit. From now on, your (potential) users will be served their perk.

When users visit your page, they will be shown the perk that fits their profile, interests and needs. Your job is done for now. When you're ready, it's time to analyze the results.