Cookie3 Docs
  • πŸ‘‹Introduction
  • πŸ‘‰Register your account
  • πŸ”ŒSetup your site or app
    • 1️⃣Add your website or app
    • 2️⃣Install Cookie3 snippet in your website or app
    • 3️⃣Installation guide
      • ⚑Integration with Google Tag Manager (GTM)
    • 4️⃣Verifying installation status
    • 5️⃣Security measures
    • 6️⃣Setup in-app custom events
    • 7️⃣Setting up consent management
    • How to retrieve your siteID?
    • ↗️Upgrading the snippet version
      • Troubleshooting
  • πŸ‘©β€πŸ’ΌAdd your team members
  • πŸͺFeatures
    • πŸ“ˆOnchain Explorer
      • Filters
      • Supported blockchains
      • Charts & metrics
      • Data export
      • CSV import
      • Audiences
    • πŸ•ΈοΈWeb Analytics
      • Selecting a website or app
      • Filters
      • Onchain reporting
      • Acquisition report
        • πŸ”ŽData dimensions
        • πŸ“ˆKey metrics
      • Conversions report
        • πŸ“ˆKey metrics
        • πŸ’²Show attribution report per conversion event
    • πŸ’²Conversion Events
      • How our attribution works?
      • Onchain conversion events
        • Attributed USD Value
      • Offchain conversion events
      • Retrieving your Conversion Event unique ID
    • 🐦KOL Intelligence
      • Getting started
        • Organic KOLs and Lists
        • KOL Dashboard
        • Searchbar
        • KOL Activity Chart
          • Extending the chart with additional Metrics
        • Advanced Metrics
        • Performance Table
          • KOL metrics explained
        • Post Feed
      • Your KOLs
        • Importing KOL Lists
          • Understanding the loading status during KOL upload
        • Managing KOLs in a given project
        • KOL List summary
      • AI-powered KOL scoring system
      • Campaigns
    • πŸ“ŠToken Analytics
  • βš™οΈAPI
    • πŸŒ€Referral Systems
      • Setup referral tracking
      • Accessing leaderboard and user data
      • API Response schema
      • Best practices
      • FAQ
Powered by GitBook
On this page
  • Setting Up Referral Tracking
  • Implementing Conversion Tracking
  • Tracking Custom Events
  • Setting Up Conversion Events in Cookie3

Was this helpful?

  1. API
  2. Referral Systems

Setup referral tracking

Setting Up Referral Tracking

To track referrals, use URL parameters that identify each referrer. The most common parameters are ?ref= and ?utm_source=.

Using ?ref= Parameter

https://yourwebsite.com/?ref=uniqueReferrerID

Using ?utm_source= Parameter

https://yourwebsite.com/?utm_source=referrerName&utm_medium=referral&utm_campaign=referralProgram

Implementing Conversion Tracking

To measure the effectiveness of your referral program, you need to track conversions resulting from referrals.

Tracking Custom Events

You can track custom events, such as account creations, by triggering events from your frontend code.

Example: Tracking Account Creation

window.cookie3.trackEvent({
 category: "account",
 action: "new account creation"
});

Setting Up Conversion Events in Cookie3

  1. Access the Conversion Events Tab in your Cookie3 dashboard

  2. Click on "Add Conversion Event"

  3. Define the Conversion Criteria:

    • Category: Set to "account"

    • Action: Set to "new account creation"

  4. Save the Conversion Event

PreviousReferral SystemsNextAccessing leaderboard and user data

Last updated 8 months ago

Was this helpful?

βš™οΈ
πŸŒ€