Google Tag Manager (GTM) Widget Integration
This step-by-step guide will help you embed your Revyoos widget into your website using Google Tag Manager. This approach is particularly useful when direct access to the site’s <head> section is restricted.
📌 Step 1: Copy the Universal Code from Revyoos
Log in to your Revyoos dashboard.
Navigate to Widgets > Install Universal Code.
🛠 Step 2: Create a New Custom HTML Tag in GTM
Log in to your Google Tag Manager account.
Select your container and click on Tags in the left-hand menu.
- Click New to create a new tag.
- Click on Tag Configuration and select Custom HTML.
- In the HTML field, paste the Universal Code you copied from Revyoos.
Choose a Trigger for Your Revyoos Widget
Once you’ve added the Revyoos Universal Code inside a Custom HTML tag, it’s time to choose when it should load on your website.
🧩 Set the Trigger
Click on Triggering to select when your widget should be activated.
- To load the Revyoos widget on all pages of your website, choose the built-in trigger All Pages.
- If you prefer to display the widget only on specific pages, create a custom trigger:
- Click the “+” button to add a new trigger.
- Name your trigger (e.g., Revyoos Widget - Property Pages).
- Choose Page View as the trigger type.
- Set conditions based on your needs (e.g., Page Path contains /apartments).
💡 Tip: For floating widgets, the All Pages option usually works best.
💾 Step 3: Save and Publish
Click Save to store your new tag and trigger.
Back in the GTM dashboard, click Submit (top right corner).
- Add a version name and description (e.g., “Added Revyoos Widget via GTM”).
- Click Publish.
🌍 Step 4: Add the Page URLs in Revyoos
Once the Universal Code is in place on your website through GTM, you can specify where each widget should appear:
- In your Revyoos dashboard, go to the Installation tab of the widget you want to install.
- In the URL field, enter the specific web page(s) where you want the widget to be visible.
- After adding each URL, it will appear in the list below the input field.
- The widget will automatically display on all the pages listed there.
⚠️ Troubleshooting tip:
If the widget does not appear after completing all steps (including adding the URLs in Revyoos), go back to the tag settings in Google Tag Manager and enable the option “Support document.write”.
This ensures compatibility with some widgets that rely on document.write() to render correctly.
If you’re using an embedded widget, you need to add a small piece of HTML code to your web page to define where the widget will appear.
- Go to the Installation tab of your selected widget in your Revyoos Dashboard.
- Find the Positioning Code over the URL list. This code is unique for each widget and acts as a placeholder, telling the system exactly where to insert the widget on your page.
- Simply copy and paste this code into the Guesty content editor where you want the widget to appear — for example, in your homepage content or a specific page section.
Find the embed code for a Global or Custom Widget in the Installation section:
Find the embed codes for Property Widgets in the Installation section, by clicking on Embed Codes over the table:
Related Articles
Avantio Widget Integration
This tutorial will guide you through the process of integrating Revyoos widgets into your Avantio Booking Engine page by leveraging Google Tag Manager (GTM). 1. Configure the Revyoos Universal Code in Google Tag Manager (GTM) First, you need to ...
Widgets
Explore the articles in this section: Installation: Installing Revyoos Widgets Global Widget Property Widgets Custom Widgets Warnings: Multiple header sections Spammy Structured Markup Penalty Settings: How to Sort Reviews Inside Your Widget ...
API Integration with Revyoos
Note: To access Revyoos API, an active yearly subscription for Business or Business AI plan is required. The complete documentation of the API can be found here: https://www.revyoos.com/docs/ Important Note: API integration is recommended for ...
RentalWise Widget Integration
If you’re using RentalWise as your PMS and you’ve built your website with their website builder, you can easily integrate Revyoos widgets using a special component made for this purpose. However, please note an important detail before you begin: ⚠️ ...
Custom Widgets
Unlike Global Widgets and Property Widgets, Custom Widgets are not created automatically. These widgets are designed for users who need a tailored display of reviews, allowing for greater flexibility and control. Creating a Custom Widget To create a ...