Installation Guides
Google Tag Manager
Deploy RevDock through GTM without touching your codebase.
If you're already using Google Tag Manager to manage your marketing and analytics tags, you can add RevDock the same way.
Setup
Open your GTM container
Go to Google Tag Manager and select the container for your website.
Create a new tag
Navigate to Tags in the left sidebar, then click New. Give it a clear name like "RevDock".
Configure as Custom HTML
Click on Tag Configuration, select Custom HTML, and paste this code:
<script>
(function () {
var s = document.createElement('script');
s.defer = true;
s.dataset.websiteId = 'YOUR_WEBSITE_ID';
s.src = 'https://getrevdock.com/scripts/revdock.js';
document.head.appendChild(s);
})();
</script>Find your website ID in the RevDock dashboard under Settings.
Set the trigger
Click Triggering, choose All Pages, and save.
Publish
Hit Submit in the top right corner, add a version name if you want, then Publish.
Verify it's working
- Open GTM's Preview mode
- Visit your website in a new tab
- Check that the RevDock tag fires on page load
- Go to your RevDock dashboard — you should see activity within a few minutes
Common issues
| Problem | Solution |
|---|---|
| Widgets not showing | Check if your tag is firing in GTM preview mode |
| Tag blocked | Your site's CSP may be blocking external scripts |
| No data in dashboard | Double-check your website ID is correct |
GTM adds a small delay to script loading. If you need widgets to appear instantly, consider direct installation instead.