Docs
Framer
Framer has no official plugin. Site Settings → Custom Code → End of body. Publish after you save. Amount is rand. zarstat() is an alias for cashline().
Markdown · same page for crawlers. index, follow.
End of body
Paste the queue, script, and pageview. Publish the site.
<script>
window.cashline = window.cashline || function () {
(window.cashline.q = window.cashline.q || []).push(arguments);
};
</script>
<script src="https://YOUR_ORIGIN/cashline.js" data-site="YOUR_SITE"></script>
<script>cashline('pageview');</script>Paystack visitor_id
On a success page embed, pass cashline('identity').visitor_id on Paystack initialize. Fire purchase after verify. See /docs/paystack.
const id = cashline('identity');
cashline('purchase', { amount: 199, currency: 'ZAR', reference: 'PS_REF' });