-
Notifications
You must be signed in to change notification settings - Fork 70
[GROWTH] Embeddable campaign widgets + partner distribution SDK #655
Copy link
Copy link
Open
Labels
GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea: backendBackend API (Node/Express)Backend API (Node/Express)area: frontendFrontend (React/Vite)Frontend (React/Vite)difficulty: hardLarger or subtle changesLarger or subtle changesenhancementNew feature or requestNew feature or requestgrowthDrives user acquisition, retention, or viralityDrives user acquisition, retention, or viralitypriority: highHigh-priority, high-impact workHigh-priority, high-impact work
Metadata
Metadata
Assignees
Labels
GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignCampaign: Official Campaignarea: backendBackend API (Node/Express)Backend API (Node/Express)area: frontendFrontend (React/Vite)Frontend (React/Vite)difficulty: hardLarger or subtle changesLarger or subtle changesenhancementNew feature or requestNew feature or requestgrowthDrives user acquisition, retention, or viralityDrives user acquisition, retention, or viralitypriority: highHigh-priority, high-impact workHigh-priority, high-impact work
Type
Fields
Give feedbackNo fields configured for issues without a type.
Why this matters (distribution)
The fastest growth channel for a campaign platform is other people's audiences. If any project, DAO, or creator can drop a Trivela campaign widget onto their own site/app in minutes, Trivela rides their distribution. An embeddable widget + partner SDK turns every partner into a growth channel.
Goal
Ship a secure, themeable embeddable campaign widget + a lightweight partner JS SDK so third parties can host register/claim flows on their own sites with attribution back to Trivela.
Technical design
pages/EmbedCampaign.jsx,EmbedCampaignCard.jsx,routes/embed.js) → a robust iframe/web-component widget with a one-line snippet:<script src=".../embed.js" data-campaign="…">. Themeable (org branding), responsive, sandboxed.onRegister,onClaim), handles wallet hand-off (deep-link/passkey), and carries a partner/referrer attribution tag through to on-chain referral rewards.postMessageorigin allowlist, no key exposure, rate-limited embed endpoints.Edge cases
Task breakdown
Acceptance criteria
Verification
Dependencies
Priority: high · Difficulty: hard · Effort: L · growth (distribution)