faceAge.render(), use faceAge.API to read results and control the SDK.
Results
getAdvisorData
Read the analysis results and quiz answers:getActiveSelections
Read the quiz answers:getImage
Read the submitted image:getRoutineGroup
Read the available routine groups:Products
setCustomProducts
Push your own product catalog into the SDK. Products are matched to detected skin problems automatically.History
setHistoryData
Restore history from your backend. Requires thehistory: true option.
meta.quality values widen that band, or mark very low-confidence comparisons as insufficient data.
removeHistoryItem
Remove a history entry by its reference token. Passnull to clear all local history.
Routine tab content
setComments
Fill the customer review carousel in the routine tab.name and one of comment, text or body. Comments longer than 280 characters are truncated with a “read more” toggle. Returns true on success, false on error.
setShorts
Fill the short video/image carousel in the routine tab.coverImage or videoUrl. javascript:, data: and vbscript: URLs are rejected. Returns true on success, false on error.
setSort
Set the order of the tabs on the analysis result page:scan, routine and recommendations. Tabs you don’t list keep their default position after the ones you do.
If the result page is already open, the tabs are re-ordered immediately. Returns
true on success, false on error.
Reports and integrations
getReportPdf
Generate a PDF report. Requires PDF access on your Face Age plan.submitSdkIntegration
Send the full analysis payload — skin results, products, quiz data and brand metadata — to the SDK-call integration endpoint. Without an email argument, Face Age usesemail or clientEmail from the quiz answers.
[{ question, answer }] before submission.