Common Issues

Quick solutions to frequently encountered problems with TrialClouds virtual try-on widget.


Installation & Setup Issues

Widget Not Appearing on Page

Symptoms: Try-on button doesn't show up on product page

Possible Causes & Solutions:

1

Script Not Installed

  • Check: View page source (Ctrl+U), search for widget.trialclouds.com

  • Solution: Install embed script before </body> tag

2

Button HTML Missing/Incorrect Class

  • Check: Look for button with class trialclouds-trial-widget-trigger-button

  • Solution: Add button HTML with correct class

  • Example:

Example button HTML
<button
  class="trialclouds-trial-widget-trigger-button"
  data-product-id="shirt-123"
  data-product-name="Blue Shirt"
  data-images="[...]"
  data-link="https://yourstore.com/products/shirt"
>
  Try On
</button>
3

JavaScript Error

  • Check: Browser console (F12) for errors

  • Solution: Fix JavaScript errors on page (may be blocking widget)

4

CSS Hiding Button

  • Check: Inspect button element, look for display: none or visibility: hidden

  • Solution: Remove conflicting CSS or adjust your theme styles


Widget Opens But Doesn't Work

Symptoms: Button clicks, overlay appears, but widget doesn't function properly

1

Domain Not Configured

  • Check: Browser console shows "Domain not allowed" or CORS error

  • Solution: Add your domain to site configuration in dashboard (Managing Sites)

  • Example: Add yourstore.com AND www.yourstore.com if you use both

2

Incorrect Site ID

  • Check: Widget script has correct Site ID

  • Solution: Copy Site ID from dashboard, update script src

Script example
<!-- Replace YOUR_SITE_ID with actual ID -->
<script src="https://widget.trialclouds.com/script/YOUR_SITE_ID"></script>
3

Missing Required Button Attributes

  • Check: Button must have data-product-id, data-product-name, data-images, data-link

  • Solution: Add all required attributes


Upload & Try-On Issues

"No Face Detected" Error

Symptoms: Customer uploads photo but gets error about face not detected

1

Face Not Visible in Photo

  • Cause: Photo doesn't show face clearly (profile view, facing away, covered)

  • Solution: Provide guidance to customers:

"For best results: βœ“ Face the camera directly βœ“ Remove sunglasses/masks βœ“ Ensure good lighting βœ“ Hair not covering entire face"

2

Photo Quality Too Low

  • Cause: Very small, blurry, or pixelated photos

  • Solution: Request higher resolution photo

  • Minimum: 400Γ—400px with clear facial features

3

Bad Lighting

  • Cause: Photo too dark, extreme backlight (silhouette)

  • Solution: Customers should use well-lit photos


Upload Fails or Times Out

Symptoms: Photo upload gets stuck or fails

1

File Too Large

  • Cause: Customer photo >10MB

  • Solution: Ask customer to compress image or use smaller file

  • Automatic: Widget should auto-compress, but very large files may time out

2

Slow Internet Connection

  • Cause: Customer on slow network

  • Solution: Be patient, retry, or try on faster connection

  • Tip: Mobile data may be faster than slow WiFi

3

Browser Issue

  • Cause: Outdated browser, security settings blocking upload

  • Solution: Update browser, try different browser (Chrome, Firefox, Safari)

  • Check: Disable browser extensions (ad blockers, privacy tools) temporarily


Try-On Processing Fails

Symptoms: Upload succeeds but AI processing fails or gets stuck

1

Insufficient AI Credits

  • Cause: Your account has no credits remaining

  • Check: Dashboard β†’ Credits & Billing β†’ Current Balance

  • Solution: Purchase more credits (Credits & Billing)

  • Impact: Customers see error, no try-on completes

2

Product Image Quality Issue

  • Cause: Product images don't meet requirements (no model face visible)

  • Check: Review product images in data-images array

  • Solution: Replace with high-quality model photos showing clear faces

3

Server Error

  • Cause: Temporary backend issue

  • Check: Try again after a few minutes

  • Solution: If persistent, contact support with error details

4

Face Detection Fails on Product Image

  • Cause: Product image doesn't have visible model face

  • Solution: Use image with clear model face as first image in array


Result & Display Issues

Try-On Result Looks Poor/Unrealistic

Symptoms: AI completes but result looks bad, unnatural, distorted

1

Low-Quality Product Images

  • Most Common Cause: Product image is low-res, poorly lit, or wrong angle

  • Solution: Replace product images with high-quality photos (Image Quality Guide)

  • Requirements:

    • Minimum 800Γ—800px (prefer 1500px)

    • Clear model face visible

    • Good, even lighting

    • Front-facing or near-front angle

2

Customer Photo Quality

  • Cause: Customer uploaded very low quality, blurry, or poorly lit photo

  • Solution: Educate customers on uploading good photos

3

Angle Mismatch

  • Cause: Model in product photo is angled differently than customer photo

  • Solution: Use front-facing model photos that match typical selfie angles


Download Button Doesn't Work

Symptoms: Customer clicks download but nothing happens

1

Browser Pop-Up Blocker

  • Cause: Browser blocks automatic download

  • Solution: Customer should allow pop-ups for your domain

2

Browser Security Settings

  • Cause: Strict security/privacy settings

  • Solution: Try different browser or adjust settings temporarily

3

JavaScript Error


Shopify-Specific Issues

Shopify App: Button Block Not Available

Symptoms: After installing app, button block doesn't appear in theme editor

1

App Embed Not Enabled

2

Theme Not Compatible

3

Cache Issue

  • Fix: Refresh theme editor (Ctrl+F5 hard reload), re-select template


Shopify: Widget Not Saving Site ID

Symptoms: Enter Site ID in app embed settings but it doesn't save

1

Invalid Site ID Format

  • Cause: Typo, extra spaces, wrong ID copied

  • Solution: Re-copy Site ID from dashboard (click "Copy Site ID" button)

  • Format: Should be alphanumeric string like cmkozmnbi00012euxrl81rx69

2

Theme Editor Not Saving

  • Fix: Click "Save" button explicitly before leaving editor

  • Try: Re-enter ID, click in another field to trigger save, then Save

3

Browser Issue

  • Fix: Clear browser cache, try different browser


Shopify: Customer Data Not Capturing

Symptoms: "Capture Customer Data" enabled but visitor names/emails not showing in dashboard

Cause & Solution:

  • Customer Not Logged In: TrialClouds only captures data for logged-in Shopify customers

  • Anonymous shoppers won't have name/email in dashboard (expected)

  • To test: Log in to your Shopify store as a customer, then try widget


Performance Issues

Widget Loads Slowly

Symptoms: Delay before widget appears or operates

1

Slow Internet Connection

  • Cause: Customer or your server has slow connection

  • Solution: Use CDN for product images, optimize page overall

  • Check: Test on fast WiFi to confirm

2

Large Product Images

  • Cause: Serving 5MB product images

  • Solution: Optimize images (compress, use JPG, WebP, appropriate sizes)

3

Many Third-Party Scripts

  • Cause: Page has 10+ external scripts competing for bandwidth

  • Solution: Lazy load non-essential scripts, prioritize critical resources


Try-On Processing Takes Too Long

Symptoms: "Processing..." shows for >20 seconds

Normal Processing: 2-15 seconds Slow: 15-25 seconds Too Slow: >25 seconds

1

High Server Load

  • Cause: Peak usage time, many concurrent requests

  • Solution: Retry in a few minutes, usually temporary

2

Large Image Files

  • Cause: Customer uploaded very large photo (>5MB)

  • Solution: Widget auto-compresses, but huge files take longer

3

Network Latency

  • Cause: Long distance to servers, slow connection

  • Check: Other websites also slow? ISP/connection issue

If Persistent: Contact [email protected] with visitor ID and timestamp


Analytics & Dashboard Issues

No Data Showing in Dashboard

Symptoms: Analytics, visitors, or products sections are empty

1

No Usage Yet

  • Cause: Widget installed but no customers have used it

  • Solution: Test yourself, promote feature, wait for organic usage

2

Incorrect Date Range

  • Cause: Date filter set to future or very narrow range with no events

  • Solution: Change date range to "Last 30 Days" or "All Time"

3

Site Not Active

  • Cause: Site status set to "Inactive" in dashboard

  • Solution: Edit site β†’ Set status to "Active" β†’ Save

4

Recent Installation

  • Cause: Data takes up to 24 hours to appear initially

  • Solution: Wait 24 hours after first widget usage


Analytics Numbers Don't Match Expectations

Symptoms: Metrics seem too high/low compared to traffic

Common Misunderstandings:

  • "Zero Widget Opens"

    • Check button is actually being clicked (test yourself)

    • Verify domain is correctly configured

    • Ensure button has proper class

  • "High Opens, Low Try-Ons"

    • Customers open widget but don't upload

    • Fix: Add upload instructions, address privacy concerns

  • "Many Try-Ons, Few Downloads"


Mobile Issues

Widget Doesn't Work on Mobile

Symptoms: Works on desktop but not mobile devices

1

Mobile-Specific CSS Hiding Button

  • Check: Button has display: none on mobile in your theme CSS

  • Solution: Adjust mobile styles to show button

2

Touch Event Not Triggering

  • Cause: Button too small (touch target <44px)

  • Solution: Increase button size for mobile (Button Customization)

3

Mobile Browser Compatibility

  • Test: Try different mobile browser (Chrome, Safari, Firefox)

  • Update: Ensure browser is up-to-date

4

Screen Size Issue

  • Cause: Widget overlay doesn't fit small screen

  • Note: Widget is responsive and should work on all screens

  • If broken: Report device model and browser to support


Camera Upload Not Working on Mobile

Symptoms: Can't access camera to take photo on mobile

1

Permission Denied

  • Cause: Customer denied camera access

  • Solution: Instruct to re-enable in browser/device settings

  • iOS: Settings β†’ Safari β†’ Camera β†’ Allow

  • Android: Settings β†’ Apps β†’ Browser β†’ Permissions β†’ Camera β†’ Allow

2

HTTPS Required

  • Cause: Your site uses HTTP (not secure)

  • Solution: Enable HTTPS on your site (required for camera access)

3

Browser Doesn't Support Camera Access

  • Rare: Very old mobile browsers

  • Solution: Update browser or use photo upload instead


Browser Compatibility

Widget Doesn't Work in Specific Browser

Supported Browsers:

  • βœ… Chrome 90+ (Windows, Mac, Android)

  • βœ… Firefox 88+ (Windows, Mac, Android)

  • βœ… Safari 14+ (Mac, iOS)

  • βœ… Edge 90+ (Windows, Mac)

If Using Supported Browser:

1

Clear Cache & Cookies

  • Browser settings β†’ Clear browsing data β†’ Cached files

2

Disable Extensions

  • Ad blockers, privacy tools may interfere

  • Test in Incognito/Private mode (extensions disabled by default)

3

Update Browser

  • Ensure browser is latest version

4

Try Different Browser

  • If works in Chrome but not Firefox, Firefox-specific issue


CORS & Security Errors

"CORS policy" Error in Console

Symptoms: Browser console shows:

Cause: Domain not whitelisted in site configuration

Solution:

  1. Go to Dashboard β†’ Sites β†’ Edit Site

  2. Add your exact domain (check www vs non-www)

  3. If using subdomain, add wildcard or specific subdomain

  4. Save and refresh page after 1-2 minutes

Examples:

  • If error shows origin 'https://www.yourstore.com' β†’ Add www.yourstore.com to domains

  • If error shows origin 'https://shop.yourstore.com' β†’ Add shop.yourstore.com

Guide: Managing Sites - Domain Configuration


When to Contact Support

Contact [email protected]envelope if:

  • βœ… Issue persists after trying solutions above

  • βœ… Error messages you don't understand

  • βœ… Server errors (500, 503 responses)

  • βœ… Credits deducted but try-on failed

  • βœ… Data discrepancies in analytics

  • βœ… Billing/payment issues

  • βœ… Feature requests

Include in Your Email:

  • Site ID

  • URL where issue occurs

  • Browser and device (e.g., "Chrome 120 on Windows 11")

  • Screenshots of error messages

  • Steps to reproduce

  • Console errors (F12 β†’ Console tab β†’ screenshot)

Response Time: Usually 24-48 hours


Quick Troubleshooting Checklist

Before contacting support, verify:

βœ… Widget script installed (in page source) βœ… Button has correct class (trialclouds-trial-widget-trigger-button) βœ… All required data attributes present (product-id, name, images, link) βœ… Site ID is correct (matches dashboard) βœ… Domain is configured in site settings βœ… Site status is "Active" βœ… Sufficient AI credits in account βœ… Product images meet quality requirements (model face visible) βœ… Browser is supported and up-to-date βœ… No JavaScript console errors βœ… Tested in different browser (isolate browser-specific issues)


Related Guides:

Still stuck? Email [email protected]envelope with details!

Last updated