RevDock | Docs
Installation Guides

Replit

Add RevDock to your Replit project in under 2 minutes.

Works with any Replit template — HTML, React, Node.js, Python, and more.

Setup

Open index.html and add the script to the <head>:

<!DOCTYPE html>
<html>
  <head>
    <script
      defer
      src="https://getrevdock.com/scripts/revdock.js"
      data-website-id="YOUR_WEBSITE_ID"
    ></script>
  </head>
  <body>
    <!-- Your content -->
  </body>
</html>

Open index.html and add the script to the <head>:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <script
      defer
      src="https://getrevdock.com/scripts/revdock.js"
      data-website-id="YOUR_WEBSITE_ID"
    ></script>
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>

If you're serving HTML from Express, add the script to your template:

<head>
  <script
    defer
    src="https://getrevdock.com/scripts/revdock.js"
    data-website-id="YOUR_WEBSITE_ID"
  ></script>
</head>

Or use EJS/Pug templates accordingly.

Replit Secrets are a great way to store your website ID. Access them via process.env in Node.js or the Secrets tab in the sidebar.

Deploy

  1. Click Run to preview your changes
  2. Click Deploy to make it live
  3. Your deployed .replit.app URL will have RevDock active

Verify it's working

  1. Visit your deployed Replit app
  2. Check the RevDock dashboard — widgets should appear within minutes

On this page