Embed test page

Use this page to verify the embed widget loads + flows end-to-end. Not linked anywhere. Reachable at /embed-test.html.

The embed code being used here

<div id="trt-screener"></div>
<script
    src="https://app.rehabbali.com/embed.js"
    data-screener-target="#trt-screener"
    data-primary-color="#88B366"></script>

Optional data attributes: data-logo-url, data-organisation-name, data-organisation-email, data-background-color, data-text-color.

Note on the logo URL. Your data-logo-url is used in the widget, the result PDF, and the result email. For the email to render the logo on Gmail recipients, the URL must be (a) HTTPS, (b) a raster format such as PNG or JPG (Gmail strips SVG), and (c) hosted somewhere that doesn't block Google's image proxy. To check in advance:
curl -sI -A "GoogleImageProxy" https://your-cdn.example/logo.png | head -1
You want HTTP/2 200. Standard WordPress, S3, and most CDNs are fine; Wikipedia and a few referrer-strict hosts are not.