The widget is a JavaScript-based embed that loads review content dynamically into a target <div> container:
html
CopyEdit
<div class="itcs-widget-container"></div>
<script src="https://widgets.peerspot.com/scripts/review_widgetc_code.js" async="true" onload="itcs_widget(001,{o:'https://widgets.peerspot.com'})"></script>
This script asynchronously injects curated, high-quality review quotes into the page, enhancing your content with trusted user insights.
You're absolutely right that traditionally, JavaScript-injected content was harder for Google to index. However, modern SEO practices and advancements in Google's rendering engine (especially since 2019 with the adoption of evergreen Chromium rendering) have changed the game:
Googlebot can render and index JavaScript-injected content, including content loaded via asynchronous scripts, as long as the JavaScript doesn’t block rendering or require user interaction.
PeerSpot’s widget loads with the async attribute, and the content injection happens on onload, so it executes promptly within Googlebot's rendering window.
The content is inserted as plain HTML into the DOM, not inside iframes, making it directly visible to search crawlers.
In essence: as long as the widget loads in time and inserts content into the DOM cleanly, it can and does get indexed — as evidenced by visible star ratings and quotes in Google search results.
PeerSpot provides structured data using JSON-LD (ld+json) alongside the widget. This approach allows Google to recognize review content and render rich results, such as star ratings in search engine results pages (SERPs).
The structured data is inserted as a <script type="application/ld+json"> block at runtime, following Google’s preferred format for review markup.
This data mirrors the visible quotes and rating information rendered by the widget, enabling Google to associate the rich snippet with your page.
You do not need to manually add markup — PeerSpot handles it as part of the widget injection logic.
Note: The structured data is not embedded within the widget’s HTML output but is rendered in a separate JSON-LD block.
When Google detects this review metadata, your page becomes eligible for:
Higher click-through rates (CTR)
Increased visibility via rich results
To maximize SEO benefits, we recommend:
Place the widget high in the HTML: Earlier loading increases the likelihood that Googlebot renders it during the crawl window.
Include contextually relevant review quotes: Match each page (e.g., “YourTool vs. Veracode”) with quotes that reflect that specific discussion.
Avoid blocking resources: Make sure your content security policy (CSP) or server settings don’t block https://widgets.peerspot.com.
Validate in Google Search Console:
Use “Inspect URL” and “Test Live URL” tools.
Confirm that both the review content and the structured data appear in the Rendered HTML and Detected Structured Data tabs.
Yes, PeerSpot's widget content can be crawled and indexed, even though it's injected via JavaScript.
Googlebot can render it fully, giving you SEO credit for the visible review content.
Rich snippet eligibility is supported through structured data injected using JSON-LD, not markup embedded in the widget HTML itself.