Add Google reviews to WordPress

    To add Google reviews to WordPress, copy the Digitap Pro widget code from "Add to website", paste it into a Custom HTML block (or the footer for Badge and Flash), add your domain to Domain Whitelist, then publish. Check the live page in a private window.

    Before you start

    The real code (with your widget ID and key) comes from Digitap Pro when you click "Add to website". The snippets below use placeholders only.

    Add your site domain to Domain Whitelist in Digitap Pro. The widget only loads on listed domains.

    <div data-widget-id="YOUR-WIDGET-ID" style="display:block;width:100%;min-height:150px;clear:both;"></div>
    <script src="https://app.digitap.pro/widget-embed.js" async data-supabase-anon-key="YOUR-KEY"></script>

    Inside a page (Grid, Carousel, List, Masonry)

    These layouts sit inside a page. You need both the div and the script.

    1. Edit the page. Open the page in the block editor.
    2. Add a Custom HTML block. Use the block inserter (+) or type /html, then choose "Custom HTML". Click "Edit HTML" and paste the full code from Digitap Pro.
    3. Update or publish. Click "Update" or publish the page.
    • The code keeps its <script> only for users allowed to post unfiltered HTML (Administrators; Editors on single sites). For other roles WordPress removes <script> on save.
    • Elementor: use the "HTML" widget.
    • Classic editor: paste in the "Text" tab.
    • WordPress.com: script tags need a paid plan with hosting features activated; otherwise the code is removed when saved.

    On every page (Badge, Flash)

    Floating layouts need only the script tag, added once for the whole site.

    1. Block theme footer. Open Appearance → Editor, edit the Footer template part, add a Custom HTML block, paste the script, save.
    2. Or use a header and footer code plugin. Paste the script into the plugin's footer box and save.

    Troubleshooting

    • The site's domain is missing from the Domain Whitelist in Digitap Pro. Adding example.com also covers www.example.com.
    • Your platform plan does not allow scripts (WordPress.com, Squarespace, Webflow: see the plan notes on each guide).
    • You are looking at the editor or a preview, not the published site. Check in a private window.
    • A cache or optimisation plugin serves an old copy of the page. Clear it and reload.
    • The site sends a Content-Security-Policy that blocks https://app.digitap.pro.

    FAQ

    How do I add Google reviews to WordPress?

    Copy the Digitap Pro code, paste it into a Custom HTML block, whitelist your domain, then publish. For Badge or Flash, put the script once in the footer.

    Why did WordPress remove my script tag?

    Only roles that can post unfiltered HTML keep <script> on save (Administrators; Editors on single sites). On WordPress.com you also need a paid plan with hosting features.

    Does the widget work with Elementor?

    Yes. Use the Elementor "HTML" widget and paste the full code.

    The widget shows in the editor but not on the site, or the reverse.

    Always check the published site in a private window. Editors and previews can differ from the live page.

    Official help

    Last updated: 2026-09-25

    Ready to show your reviews on your website?