Solutions
MomentPerks
Integrating MomentPerks
9 min
overview momentperks lets you deliver personalized offers at the most relevant moments in the user journey, like after a purchase, during a content unlock, or when a milestone is achieved you can integrate momentperks into your online store, website, mobile app, or other digital experiences this guide walks you through the available integration methods and helps you choose the best approach based on your platform, customization needs, and development resources integration methods momentscience offers two primary ways to integrate momentperks 1\ javascript sdk (recommended for websites) use this method for a quick, low code integration copy the javascript snippet from the https //app momentscience com/account/integration/customize#install paste it into the \<head> of the page where offers should appear, such as a checkout confirmation or reward screen customize the appearance using the https //app momentscience com/account/integration/customize#customize this option is ideal if you want to get up and running with minimal development effort 2\ momentperks api ( post /native/v2/offers json ) use the api if you need complete control over offer rendering, layout, and integration logic retrieve offer data in json from the api render offers in your own ui for maximum flexibility integrate with custom web apps, native mobile apps, or embedded experiences this option is recommended for teams that require deep customization or are integrating into platforms outside of traditional web environments platform specific playbooks we also provide integration playbooks tailored for mobile apps and hybrid environments, including a moments prefetch integration the moments prefetch integration lets your app or website load offers in advance so theyβre ready to display instantly when users reach the relevant screen benefits of prefetching reduces offer load times ensures smoother user experiences works with both sdk and api integrations available prefetch playbooks docid\ eysg5wyp3 1h0ymaqsm7t docid\ sz0wfgz70f2psrctff45f docid\ byz8lqfmujbtn3hgrwj36 docid\ wnvdwxu9tpzxzqbxsr74i b serving momentperks in mobile apps (using the moments api) this set of playbooks provides a high level guide for implementing momentperks in mobile apps using the momentscience moments api available mobile playbooks docid\ yimpctt6vt6wtnwmp ybz docid\ bttdlbyfhoikooqd9em01 docid 6d5ibwy5ckyh5k4aubhg docid\ onsca nll3y 5ow2r1r9e if you're unsure which method is right for you or need help getting started, contact our team at mailto\ help\@momentscience com our team is happy to guide your implementation