Custom CTA
In the Custom CTA state, the CTA button displays text provided by the developer and optionally opens a custom URL specified by the developer.
'use client';
import { OneTap, SyncstreamProvider } from "syncstream-ai";
import "syncstream-ai/dist/index.css";
export default function App() {
return (
<SyncstreamProvider
campaignId="EXAMPLE_CAMPAIGN_ID"
signInRequired
>
<OneTap
spotifyDefaultLink="spotify:album:1HOMjYmPvDpCNbb44JnFaa"
spotifyFreeAudioUrl={"https://boa-v2.vercel.app/audio/song.mp3"}
cta={{
url: "https://play.syncstream.ai",
text: "Sign in to Play Game"
}}
/>
</SyncstreamProvider>
);
}Property
Description
User Experience

Last updated