Skip to main content

Add the classic widget to Wix

For those with a website built with Wix

The Wix platform uses an iframe technique for embedding custom HTML. So to embed Octany's classic widget, you need to add an HTML block with all the code together, e.g.:

<link rel="stylesheet" href="https://app.octany.com/[ACCOUNT_ID]/checkout/appearance">
<script src="https://app.octany.com/js/checkout.js?v=10"></script>
<style>
.octany-wrapper {
background: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.06), 0 12px 24px rgba(0, 0, 0, 0.08);
max-width: 600px;
border: 1px solid #f3f4f4;
padding-bottom: 10px;
margin: 0 auto;
}
</style>
<div class="octany-wrapper">
<octany-widget
version="2"
url="https://app.octany.com"
account-id="[ACCOUNT_ID]"
product-id="[PRODUCT_ID_1]|[PRODUCT_ID_2]"
tab-title="Become a monthly donor|One-time donation"
page-title="Give a donation every month|Give a one-time donation"
type="iframe"
locale="en"
></octany-widget>
</div>

We may need to add a special exception for your Wix website. Feel free to add the code to a subpage and send us the address at Octany support and we'll sort it out.

Did this answer your question?