Installation Verification
Confirm your TrialClouds widget is correctly installed and functioning before going live. Follow these checks to ensure everything works perfectly.
Pre-Launch Verification Checklist
Script Installation
Check: Widget embed script is present on product pages
How to Verify:
Visit a product page on your site
Right-click β "View Page Source" (or
Ctrl+U/Cmd+Option+U)Press
Ctrl+F/Cmd+Fto searchSearch for:
widget.trialclouds.com
Success: You see:
<script src="https://widget.trialclouds.com/script/YOUR_SITE_ID"></script>Failure: No script found
Solution: Add script before
</body>tagGuide: Installation Guides
Button Presence
Check: Try-on button appears on product page
How to Verify:
Visit product page
Look for try-on button (near images or "Add to Cart")
Success: Button visible and styled
Failure: No button visible
Check 1: Button HTML added?
Check 2: CSS hiding button? (Inspect element, look for
display: none)Check 3: JavaScript error? (F12 β Console tab)
Button Attributes
Check: Button has all required data attributes
How to Verify:
Right-click button β "Inspect" (or F12 β Elements tab)
Check button element has:
class="trialclouds-trial-widget-trigger-button"data-product-id="..."data-product-name="..."data-images='[...]'data-link="..."
Success Example:
<button
class="trialclouds-trial-widget-trigger-button"
data-product-id="shirt-123"
data-product-name="Blue Denim Shirt"
data-images='["https://yourstore.com/images/shirt1.jpg"]'
data-link="https://yourstore.com/products/blue-denim-shirt"
>
Try On Now
</button>Failure: Missing attributes
Solution: Add missing attributes
Guide: Button Customization
JavaScript API Loaded
Check: Widget API is available in browser
How to Verify:
Open browser console (F12 β Console tab)
It should show "TrialClouds initialized" message
Type:
window.TrialClouds_APIPress Enter
Success: You see object with methods:
{visitorId: "...", sessionId: "..."}Failure: undefined or null
Cause: Script not loaded or loading error
Check: Network tab (F12 β Network) for failed requests to widget.trialclouds.com
Solution: Verify script tag, check internet connection, check for JavaScript errors
Domain Configuration
Check: Your domain is whitelisted in TrialClouds dashboard
How to Verify:
Login to https://app.trialclouds.com
Go to Sites β Select your site
Check "Domains" list includes your exact domain
Success: Domain listed (e.g., yourstore.com or www.yourstore.com)
Failure: Domain not listed or wrong format
Solution: Add correct domain
Important: Include
www.if your site uses it, or add both variations
Test CORS (Advanced):
Open Console (F12)
Manually trigger widget or look for CORS errors
Error like "blocked by CORS policy" = domain not configured
Site Status Active
Check: Site is set to "Active" in dashboard
How to Verify:
Dashboard β Sites
Find your site
Check "Status" column shows "Active" (not "Inactive")
Success: Active status
Failure: Inactive
Impact: Widget won't work, customers see errors
Solution: Edit site β Toggle status to Active β Save
AI Credits Available
Check: Your account has credits for try-on processing
How to Verify:
Dashboard β Credits & Billing
Check "Current Balance"
Success: Balance > 0 (e.g., 100 credits available)
Warning: Balance < 50
Recommendation: Purchase more credits to avoid running out
Guide: Credits & Billing
Failure: Balance = 0
Impact: Try-ons will fail (uploads succeed, but processing fails)
Solution: Purchase credit package immediately
Product Images Quality
Check: Product images meet AI requirements
How to Verify:
Review images in
data-imagesattributeOpen first image URL in browser
Verify:
Model wearing product β
Model face clearly visible β
Front-facing or near-front view β
Good lighting β
High resolution (>800Γ800px, preferably 1200px+) β
Success: Images meet all criteria
Failure: No model face, low quality, poor lighting, angle issue
Impact: Poor try-on results, low download rate, customer dissatisfaction
Solution: Replace images with high-quality model photos
Guide: Image Quality Best Practices
Functional Testing
Photo Upload
Steps:
Click button to open widget
Upload a personal photo (clear face, front-facing)
Confirm face detected
Select product and proceed
Expected:
Upload completes quickly (<5 seconds)
Face detected successfully
Product preview shown
If Fails:
"No face detected": Use better photo (clear, front-facing)
Upload hangs: Check internet connection, file size (<5MB recommended)
Error message: Check console, contact support if unclear
AI Processing Completes
Steps:
After upload, click "Try On" or equivalent
Wait for processing
Expected:
Processing completes in 5-15 seconds depending on image size
Result image shows your face on model body with product
Result looks reasonably realistic
If Fails:
Processing stuck > 25 seconds: Server issue, retry
"Insufficient credits": Purchase more credits
Error message: Check console, note error for support
Poor quality result: Product image issue (see Product Images Quality)
Note: This test consumes 1 AI credit (expected)
Analytics Tracking
Steps:
Complete full try-on (from button click to download)
Wait 5-10 minutes
Login to Dashboard β Analytics
Expected:
Widget Opens: +1
Try-Ons Completed: +1
Downloads: +1 (if you clicked download)
Visitors: +1 new visitor
If Fails:
No data after 30 minutes: Check domain configuration, site active status
Partial data: Some events tracked, others notβcheck console for errors
Wait 24 hours: Initial data may be delayed
Multi-Device Testing
Test widget on various devices and browsers:
Desktop Testing
Chrome (Windows/Mac):
Open product page in Chrome
Complete full try-on flow
Expected: Works smoothly
Firefox (Windows/Mac):
Repeat test in Firefox
Expected: Works smoothly
Safari (Mac):
Repeat test in Safari
Expected: Works smoothly
Edge (Windows):
Repeat test in Edge
Expected: Works smoothly
Mobile Testing
iOS (Safari):
Visit site on iPhone/iPad
Complete try-on
Test camera access vs photo library upload
Expected: Works smoothly, button accessible
Android (Chrome):
Visit site on Android device
Complete try-on
Test camera access vs photo library upload
Expected: Works smoothly, button accessible
Mobile-Specific Checks:
Button visible without zooming
Button touch target large enough (min 44Γ44px)
Widget overlay fits screen
Upload options (camera vs gallery) work
Result image displays properly
Performance Verification
Page Load Impact
Method 1: Browser DevTools:
Open DevTools (F12) β Network tab
Reload page (
Ctrl+R)Look for
script/YOUR_SITE_IDrequestCheck load time
Expected: <100ms for script load
Method 2: Lighthouse Audit:
Open DevTools β Lighthouse tab
Select "Performance" category
Click "Analyze page load"
Check overall score
Expected: Score >85 (widget should not significantly impact)
Widget Responsiveness
Test:
Click button to open widget
Time from click to overlay appearance
Expected: <500ms (nearly instant)
Test:
Upload photo
Time from upload complete to try-on processing start
Expected: <1 second
Test:
Processing time
Expected: 2-5 seconds (depends on server load, normal)
If Slow:
10 seconds processing: Check credits, server status, contact support
2 seconds to open: Check page performance, optimize images/scripts
Security & Privacy Verification
HTTPS Check
Requirement: Your site MUST use HTTPS
How to Verify:
Visit your product page
Check URL starts with
https://(nothttp://)Look for padlock icon in browser address bar
Success: Secure connection
Failure: HTTP site
Impact: Camera access won't work on mobile, security warnings
Solution: Enable SSL/TLS certificate on your hosting
Pre-Launch Checklist Summary
Before making widget live to all customers, ensure:
Widget script installed on all product pages
Try-on button visible and styled
All button attributes correct (product-id, images, etc.)
JavaScript API loaded (window.TrialClouds_API exists)
Domain configured in dashboard
Site status = Active
AI credits available (recommend >100 for launch)
Product images high quality with model faces
Tested full try-on flow (open, upload, process, download)
Analytics tracking working
Tested on desktop (Chrome, Firefox, Safari, Edge)
Tested on mobile (iOS Safari, Android Chrome)
Performance acceptable (page load <3s total)
HTTPS enabled on your site
Privacy policy updated
Support familiar with how to assist customers
Ongoing Monitoring
After launch, monitor:
Daily:
Credit balance (low balance alert)
Widget usage (Analytics β Widget Opens)
Any error reports from customers
Weekly:
Analytics review (opens, completions, downloads)
Product performance (which products used most?)
Download rate (quality indicator: >30% is good)
Monthly:
Device/browser breakdown
Geographic distribution
Conversion rate (try-on users vs non-users)
Performance metrics (Lighthouse audit)
Troubleshooting Failed Verification
If Multiple Checks Fail
Check: Is widget script actually loading?
F12 β Network tab β Filter for "widget.trialclouds"
Reload page
Look for request
If No Request:
Script tag not present in HTML
JavaScript error blocking script load
Ad blocker blocking request (disable to test)
If Request Fails (404, 500, etc.):
Site ID incorrect (double-check)
TrialClouds service down (check status page if available)
Network/firewall issue
If Widget Works Locally But Not on Live Site
Possible Causes:
Domain mismatch (dev domain vs production domain)
Cache (clear browser cache, try incognito)
Different Site ID used in dev vs production
CDN/caching layer serving old version
Solution:
Verify Site ID matches between dev and production
Add production domain to site configuration
Clear all caches (browser, CDN, server)
Test in incognito mode
Related Guides:
Verification failing? Email verification checklist results to [email protected]
Last updated