Skip to main content
Stackfront syncs your published Judge.me product reviews and serves them to the mobile app as a typed, cache-first payload. Reviews are read-only: the app displays them, it never submits or moderates them.

What you get

  • Average rating and total published review count per product.
  • A 1–5 star distribution with zero-filled buckets.
  • Newest-first published reviews with title, body, author name, verified-purchase flag, up to six photo thumbnails, and the original review date.
  • HTML stripped and reviewer email addresses removed before anything is stored.

Requirements

  • Stackfront Growth plan or higher (integration reads are plan-gated).
  • Judge.me installed on the same Shopify store.
  • A Judge.me Private API token.
Judge.me plan support is governed by Judge.me: the provider uses their REST API. Free-plan API access has not been verified, so if your token is rejected, confirm with Judge.me that your plan exposes API tokens.

Connect

  1. In Judge.me, open Settings → Integrations.
  2. Click View API tokens.
  3. Copy the Private API token.
  4. In Stackfront, open Integrations → Judge.me → Connect and paste the token.
Stackfront validates the token against your shop domain, encrypts it, and starts the first sync in the background. The token is never returned to the browser and never appears in the SDK.

SDK usage

Hook API

  • productId accepts a Storefront GID (gid://shopify/Product/123) or a bare numeric id.
  • data is null while loading, when Judge.me is not connected (422), when no cache exists yet (503), and when the cached payload cannot be parsed.
  • Only 500-class and network failures reach error.
  • Cached by the SDK’s default staleTime (60 seconds) with one retry; no polling.

Helpers

Payload reference

GET /api/v1/sdk/integrations/judgeme/product_reviews?entityId=<numeric id> returns the cached payload inside data as a JSON string:
distribution always has keys "1"–"5". averageRating is rounded to two decimals and is 0 when there are no reviews. totalCount counts the published reviews in reviews.

What is synced

  • Published product reviews only: curated = "ok" and not hidden.
  • Product reviews only; shop-level and store reviews are not included.
  • No reviewer email, IP address, or other PII.
  • Titles capped at 200 characters, bodies at 4,000, both HTML-stripped.
  • Up to 5,000 reviews per sync (50 pages × 100), newest first.
  • Every 60 minutes, plus Sync now in the dashboard.
If a sync hits the 5,000-review cap it is marked truncated, and older cache rows are kept rather than pruned.

Limitations

  • No review submission, voting, or moderation from the app.
  • No translation of review text.
  • No real-time updates: new reviews appear after the next sync.
  • The product must exist in the synced Judge.me review set to have data; a product with no published reviews renders nothing.

Troubleshooting