Registry scripts
44 scripts have a typed input, a default trigger and a page of their own. Each is a useScript<Name> function in every adapter and a key of scripts.registry. The pages and this table are written from the entries by scripts/registry-pages.ts; a test fails when one is out of date or missing.
| Script | Function | Input keys | Default trigger | Bundle | Proxy |
|---|---|---|---|---|---|
googleAnalytics | useScriptGoogleAnalytics | id, l | client | yes | yes |
googleTagManager | useScriptGoogleTagManager | id, l, auth, preview | client | yes | no |
plausibleAnalytics | useScriptPlausibleAnalytics | domain, extensions, apiHost | client | yes | yes |
umamiAnalytics | useScriptUmamiAnalytics | websiteId, hostUrl, domains | client | yes | yes |
fathomAnalytics | useScriptFathomAnalytics | site, spa, honorDNT | client | no | no |
cloudflareWebAnalytics | useScriptCloudflareWebAnalytics | token, spa | client | yes | no |
vercelAnalytics | useScriptVercelAnalytics | mode, debug | client | no | no |
posthog | useScriptPosthog | apiKey, region, apiHost, config | client | no | no |
matomoAnalytics | useScriptMatomoAnalytics | matomoUrl, siteId, trackerUrl | client | no | no |
clarity | useScriptClarity | id | client | no | no |
hotjar | useScriptHotjar | id, sv | client | no | no |
metaPixel | useScriptMetaPixel | id | client | yes | no |
stripe | useScriptStripe | none | client | no | no |
intercom | useScriptIntercom | appId, apiBase | manual | no | no |
crisp | useScriptCrisp | id | manual | no | no |
youtubePlayer | useScriptYoutubePlayer | none | manual | no | no |
vimeoPlayer | useScriptVimeoPlayer | none | manual | no | no |
googleMaps | useScriptGoogleMaps | apiKey, libraries, language, region | manual | no | no |
googleRecaptcha | useScriptGoogleRecaptcha | siteKey, version, hl | manual | no | no |
ahrefsAnalytics | useScriptAhrefsAnalytics | key | client | no | no |
bingUet | useScriptBingUet | id | client | no | no |
blueskyEmbed | useScriptBlueskyEmbed | none | manual | no | no |
calendly | useScriptCalendly | none | manual | no | no |
databuddy | useScriptDatabuddy | clientId | client | no | no |
googleAdsense | useScriptGoogleAdsense | client | client | no | no |
googleSignIn | useScriptGoogleSignIn | clientId | manual | no | no |
instagramEmbed | useScriptInstagramEmbed | none | manual | no | no |
leaflet | useScriptLeaflet | version | manual | yes | no |
lemonSqueezy | useScriptLemonSqueezy | none | manual | no | no |
linkedinInsight | useScriptLinkedinInsight | id | client | no | no |
maplibre | useScriptMaplibre | version | manual | yes | no |
mixpanel | useScriptMixpanel | token, apiHost | client | yes | yes |
npm | useScriptNpm | packageName, file, version, registry | client | yes | no |
paypal | useScriptPaypal | clientId, currency, components | manual | no | no |
redditPixel | useScriptRedditPixel | id | client | no | no |
rybbit | useScriptRybbit | siteId, host | client | no | no |
segment | useScriptSegment | writeKey | client | yes | no |
snapchatPixel | useScriptSnapchatPixel | id | client | no | no |
speedcurve | useScriptSpeedcurve | id | client | no | no |
tiktokPixel | useScriptTiktokPixel | id | client | no | no |
tawk | useScriptTawk | propertyId, widgetId | manual | no | no |
usercentrics | useScriptUsercentrics | id | client | no | no |
xEmbed | useScriptXEmbed | none | manual | no | no |
xPixel | useScriptXPixel | id | client | no | no |