Installation guide · HTML and static sites
PROJECT RELAY

Install Relay on
an HTML site.

Place the signed slot exactly where a partner recommendation should render. The widget stays empty until you approve a recommendation and a relay activates.

No package requiredAsync scriptProduction verification
01Create slot
02Paste code
03Publish page
04Verify live

1. Create the signed slot

In Dashboard → Products, open your approved product and choose Create recommendation slot. Enter the exact public HTTPS page where the recommendation will appear.

Use the code generated in your dashboard. The template below contains YOUR_SLOT_TOKEN only to show placement. An example token cannot verify your domain.

2. Paste the generated snippet

Add the slot container and async widget script to the page markup at the intended recommendation location. Both token values must be identical.

HTML template
<div data-project-relay-slot="YOUR_SLOT_TOKEN"></div>
<script async
  src="https://relaymyproject.com/widget/v1.js"
  data-slot="YOUR_SLOT_TOKEN"></script>

The script may be placed beside the container or before the closing </body> tag. Keep the container where the recommendation should render and load the script only once per page.

3. Publish the exact production page

Deploy the change, then open the saved slot URL in a private browser window. It must load over HTTPS without authentication. A staging preview or local development address will not satisfy production verification.

FINAL CHECK

Run “Test live installation”

Return to the slot in your Project Relay dashboard. Relay fetches the exact saved page and confirms that its signed token is present before the product becomes available for matching.

Troubleshooting

  • Confirm the dashboard URL and published page are exactly the same, including the path.
  • Make sure both data-project-relay-slot and data-slot contain your complete token.
  • Clear the site or CDN cache after publishing.
  • Confirm a content-security policy allows scripts from https://relaymyproject.com.
  • View the rendered page source and search for data-project-relay-slot.

Ready for the live token?

Create your verified product first. Relay generates the scoped code only after you choose its exact host page.

Get founding access →Request guided installation