Add RepCapture to your website
One line of code, pasted once. It takes about five minutes and does not change how your site looks.
1. Get your snippet
Sign in to the app, open Settings, and find Install on your website. Your snippet is there with a copy button. It looks like this, with your own site ID in place of YOUR_SITE_ID:
Your site ID is unique to your site. Please use the one shown in your account, not the example above.
2. Paste it on every page
The snippet goes just before the closing </body> tag, on every page of your site, so the chat appears everywhere and RepCapture can see the whole visit. Most website builders have a “footer code” or “custom code” box that adds it to every page at once: use that. The steps below are a guide; menu names change from time to time.
WordPress
- Install a header and footer plugin such as WPCode (Plugins → Add New).
- Open the plugin’s settings and find the Footer box.
- Paste the snippet and save. It is added to every page.
Avoid editing theme files directly: a theme update can erase your change.
Wix
- In your dashboard, go to Settings → Custom Code (under Advanced).
- Choose Add Custom Code and paste the snippet.
- Set it to load on All pages and place it in Body – end, then apply.
Custom code needs a Wix Premium plan with your own domain connected.
Squarespace
- Open Settings → Advanced → Code Injection.
- Paste the snippet into the Footer box and save.
Code Injection is only available on Squarespace plans that include it.
Shopify
- Go to Online Store → Themes, then … → Edit code on your live theme.
- Open
theme.liquidand paste the snippet just above the closing</body>tag. - Save.
Webflow
- Open your Project settings → Custom code.
- Paste the snippet into Footer code, save, and publish your site.
Custom code needs a paid Webflow site plan.
Google Tag Manager
- Create a new tag of type Custom HTML.
- Paste the snippet, set the trigger to All Pages, then save and publish the container.
Plain HTML or anything else
Open each page’s HTML (or your shared layout or template file) and paste the snippet on its own line just before </body>. If your site uses one shared footer file, you only need to do it once.
3. Check that it works
- Open your website in a private or incognito window.
- After a few seconds you should see a “Chat with us” tab in the corner (if your form style is set to Chat in Settings).
- In the app, Settings → Install on your website shows when we last heard from your site. It should say a few minutes ago.
Your own visits show up in your numbers. That is expected.
www). If you move to a new address, tell us so we can update it.Sending it to your web person
If someone else looks after your website, you can send them this:
Hi, please add this line just before the closing </body> tag on every page of our website (or in the site-wide footer code). It adds our RepCapture chat and does not change anything else:
<script async src="https://app.repcapture.com/tracker.js" data-site="YOUR_SITE_ID"></script>Replace YOUR_SITE_ID with the ID shown in our RepCapture account under Settings. Thanks!