How to turn Coda published docs into membership sites (e.g. Outseta)

Hi. I was wondering if anyone knows how to turn Coda published docs into membership sites (e.g. Outseta).

I tried to use Cloudflare worker to inject extra css and Javascript into a coda doc (Custom Domain) but the injection doesn’t seem to work.

Thanks in advance!

Update.

I got everything to work with Cloudflare Proxies and Cloudflare Workers. I injected Outseta’s required Javascriot into the html header via the Worker then intercept the html via DNS proxy.

It all worked well until I was hit by frequent Error 525 Cloudflare handshake failure. So far, I can’t seem to get around it yet.

If anyone has any ideas, please feel it to contribute here for future Codians too!

I don’t understand the use case (but I want to) - which aspects of the membership community are you trying to use Coda for vs Outseta? What’s the plan here?

Hi! I’m trying to create a membership website where visitors can subscribe to different plans and have access to different parts of the website (which is the published doc).

The emphasis here is on “published” and “site”. Coda is powerful in the sense it has the “playEdit” mode where visitors can play around with the content and not affect the original doc.

It’s not the same as inviting them as editors into the doc where they can mess up the doc. I don’t want to invite them as editors, they’re visitors.