Audit third-party scripts, trackers, tag managers, and payment gateways. Includes PCI-DSS v4.0.1 compliance, Google Consent Mode v2, Subresource Integrity (SRI), and 0β100 performance & security health scoring.
Audit third-party scripts, trackers, tag managers, and payment gateways. Includes PCI-DSS v4.0.1 compliance, Google Consent Mode v2, Subresource Integrity (SRI), and 0β100 performance & security health scoring.
Classifies every third-party script into analytics, advertising, payments, tag managers, social, live chat, session recording, CMPs, CDNs, hosting runtimes, marketing, video, utilities, and bot security.
Extracts verified client, property, and merchant account IDs directly from scripts (GA4, GTM, Meta Pixel, Hotjar, Clarity, Stripe, PayPal, Razorpay, Square, Sentry, and more).
Enforces Requirements 6.4.3 & 11.6.1 by inventorying checkout scripts, verifying SRI integrity on CDNs, and flagging insecure plain HTTP payment scripts with immediate Grade F ceiling caps.
Audits IAB TCF v2.2 and DMA compliance signals (ad_user_data, ad_personalization, ad_storage) and verifies automated CMP banner detection across OneTrust, Cookiebot, and CookieYes.
Extracts Long Animation Frames (LoAF) API telemetry in Playwright browser mode to measure exact blocking execution durations and layout thrashing caused by third-party scripts.
Calculates a weighted health score evaluating parser-blocking tags, payload sizes, invasive fingerprinting trackers, and awarding bonuses for off-main-thread Partytown execution.
Templates & workflows
Audit an online store checkout to verify Stripe/PayPal security, PCI-DSS compliance, and ensure zero insecure mixed content scripts.
{
"url": "https://www.shopify.com",
"timeout": 30,
"scrapeMode": "auto",
"includeFirstParty": false
}Verify Google Consent Mode v2 default DMA signals and CMP banner presence on enterprise marketing landing pages.
{
"url": "https://www.airbnb.com",
"timeout": 35,
"scrapeMode": "auto",
"includeFirstParty": false
}Execute a rapid 200ms static HTTP scan to extract all declared third-party scripts, tracking tokens, and vendor entities.
{
"url": "https://news.ycombinator.com",
"timeout": 20,
"scrapeMode": "http",
"includeFirstParty": true
}Third-Party Script Detector: Audit JavaScript Trackers, Marketing Pixels & PCI-DSS Compliance
An enterprise-grade, high-performance third-party script auditor, tracker classifier, PCI-DSS v4.0.1 compliance scanner, and Core Web Vitals JavaScript performance analyzer for BrowserMesh.
Inspect, classify, and audit all external subresource scripts, marketing pixels, tag managers, and payment gateways across any webpage. Built for modern 2026 Web Architecture standardsβincorporating Google Consent Mode v2, Long Animation Frames (LoAF) script execution attribution, Subresource Integrity (SRI) validation, CNAME cloaking detection, and Partytown off-main-thread Web Worker execution auditing.
The premier open-access alternative to BuiltWith ($295β$995/mo), Wappalyzer ($100β$450/mo), Ghostery, and manual browser DevTools network inspection.
Modern websites rely on dozens of external JavaScript vendors for analytics, advertising, customer chat, session recording, and payment checkouts. However, unmonitored third-party code introduces severe performance degradations, security vulnerabilities, and regulatory compliance risks:
<script src="..."> tags located in the document <head> force the browser's HTML parser to stop dead until the remote asset is downloaded and executed.ad_user_data, ad_personalization, ad_storage, analytics_storage). Failing to transmit verified consent prevents conversion tracking and audience remarketing.metrics.example.com) that secretly forward consumer tracking data to external third parties.<head>, high-latency tag managers (GTM, Tealium), and script payloads exceeding 1.5 MB that drag down Google Lighthouse scores and Core Web Vitals (INP, LCP, FCP).async, defer, module, delayed-interaction, off-main-thread), catch unoptimized third-party widgets, and profile Long Animation Frame (LoAF) main-thread execution delays.Categorizes every discovered script into one of 15 specialized categories based on 2,240+ curated entities and 3,450+ domain signatures synthesized from Google Lighthouse third-party-web, DuckDuckGo Tracker Radar, and real-world e-commerce telemetry:
analytics: Google Analytics 4, Mixpanel, Amplitude, Plausible, Heap, Matomo, PostHog, Segment.advertising: Google Ads, Meta Pixel, TikTok Ads, Criteo, The Trade Desk, Taboola, Outbrain, Bing Ads.payment: Stripe (js.stripe.com), PayPal SDK, Razorpay, Square Web SDK, Braintree, Paddle.tag-manager: Google Tag Manager (GTM), Tealium, Adobe Experience Platform Launch, Segment, TagCommander.social: Twitter/X widgets, Facebook SDK, LinkedIn Insight Tag, Pinterest Tag, TikTok Embeds.customer-success: Intercom, Zendesk Web Widget, Crisp, Drift, HubSpot Live Chat, Tawk.to, Collect.chat, Gorgias.session-recording: Hotjar, FullStory, Microsoft Clarity, LogRocket, Smartlook, Mouseflow, ContentSquare.consent-provider: OneTrust, Cookiebot, CookieYes, Usercentrics, Didomi, Axeptio, Osano, Termly.utility: Sentry, Datadog RUM, New Relic, Bugsnag, Cloudflare Web Analytics, Loox, Swym.cdn: cdnjs, jsDelivr, unpkg, Google Hosted Libraries, esm.sh, AMP Project.hosting: Shopify CDN, Wix Static, Squarespace Assets, Webflow Assets, WordPress.com, Amazon CloudFront.marketing: Optimizely, VWO, Klaviyo Onsite, OptinMonster, Mailchimp, Omnisend, Poptin, Privy.video: YouTube Iframe API, Vimeo Player, Wistia Fast, JW Player, Vidyard.fraud-security: Cloudflare Turnstile, Google reCAPTCHA, hCaptcha, Fingerprint.com, PerimeterX / HUMAN Security.other: Unclassified or emerging third-party origins.Automatically extracts exact client, property, token, and merchant IDs directly from script attributes and inline initialization code:
G-XXXXXXXXXX), Universal Analytics (UA-XXXXX-X), Google Tag Manager (GTM-XXXXXX), Google Ads (AW-XXXXXXXXX), Google AdSense (pub-XXXXXXXXXXXXXXXX), Amplitude API Key, Mixpanel Token, Segment Write Key, Plausible Domain.15β16 digits), Hotjar Site ID, Microsoft Clarity Project ID, TikTok Pixel ID, Pinterest Tag ID, Twitter/X Pixel ID, LinkedIn Partner ID.pk_live_..., pk_test_...), PayPal Client ID, Razorpay Key ID (rzp_live_...), Square Application ID (sq0idp-...), Braintree Token, Paddle Vendor ID.Audits script execution architecture across 7 distinct strategies to identify performance bottlenecks:
async: Script executed asynchronously without blocking HTML parsing.defer: Script executed in document order after full HTML parsing.module: Modern ES Module (type="module") with native deferred execution.delayed-interaction: Lazy-loaded tracker activated on user interaction (data-src, data-rocket-src, type="text/rocketlazyloadscript").off-main-thread: Script executed in a background Web Worker via Partytown (type="text/partytown").blocking: Synchronous <script src="..."> inside <head> causing parser blocking and Core Web Vitals degradation.inline: Embedded <script> block without an external src.
(Non-executable data elements such as <script type="application/ld+json"> and <script type="speculationrules"> are strictly filtered out).Evaluates critical security controls required for modern payment processing:
integrity="sha384-..." attributes on all shared public CDNs (cdnjs, jsDelivr, unpkg) to protect against upstream supply-chain poisoning.Audits regulatory compliance across EU/UK DMA and GDPR standards:
ad_storage, analytics_storage, ad_user_data, and ad_personalization, plus wait_for_update latency.metrics.example.com, analytics.example.com) to bypass browser tracking protections.auto / http / browser)scroll, mousemove, click) to trigger delayed trackers, and LoAF telemetry.Every webpage audited receives a calibrated composite Health Score (0β100) and a corresponding Letter Grade (A, B, C, D, E, F) based on an objective, weighted rubric:
Each audit record strictly adheres to the 25-field schema contract:
{
"url": "https://example-shop.com/",
"domain": "example-shop.com",
"statusCode": 200,
"status": "healthy",
"healthScore": 88,
"grade": "B",
"totalScriptsCount": 12,
"thirdPartyScriptsCount": 7,
"firstPartyScriptsCount": 5,
"blockingScriptsCount": 0,
"totalTransferBytes": 482000,
"thirdPartyTransferBytes": 315000,
"categories": {
"analytics": 2,
"advertising": 1,
"payment": 1,
"tag-manager": 1,
"social": 0,
"customer-success": 1,
"session-recording": 0,
"consent-provider": 1,
"utility": 0,
"cdn": 0,
"hosting": 0,
"marketing": 0,
"video": 0,
"fraud-security": 0,
"other": 0
},
"entities": [
"Google Analytics",
"Google Tag Manager",
"Intercom",
"Meta Pixel",
"OneTrust",
"Stripe"
],
"scripts": [
{
"url": "https://js.stripe.com/v3/",
"domain": "js.stripe.com",
"hostType": "external",
"entity": "Stripe",
"category": "payment",
"strategy": "async",
"transferBytes": 45000,
"hasSri": false,
"fingerprintRisk": 1,
"isInHead": true,
"isMixedContent": false,
"isPaymentScript": true
}
],
"trackingAccounts": {
"ga4": ["G-XYZ1234567"],
"googleTagManager": ["GTM-ABC999"],
"facebookPixel": ["123456789012345"],
"stripePublishableKey": ["pk_live_51TestKeyStripeLive99"]
},
"fingerprintingRisk": {
"maxRisk": 1,
"highRiskCount": 0,
"details": []
},
"securityAudit": {
"sriComplianceRate": 100,
"cdnScriptsCount": 0,
"sriSecuredScriptsCount": 0,
"insecureHttpScriptsCount": 0,
"mixedContentAlerts": [],
"paymentScriptsAuditedCount": 1,
"paymentSecurityStatus": "secure"
},
"loadingPerformance": {
"asyncPercentage": 86,
"deferPercentage": 14,
"modulePercentage": 0,
"blockingPercentage": 0,
"delayedInteractionPercentage": 0,
"offMainThreadPercentage": 0
},
"privacyCompliance": {
"cmpDetected": true,
"cmpName": "OneTrust",
"consentModeV2": {
"enabled": true,
"signals": {
"ad_storage": "denied",
"analytics_storage": "denied",
"ad_user_data": "denied",
"ad_personalization": "denied"
},
"waitForUpdateMs": 500
},
"globalPrivacyControlActive": true,
"cookieTrackingCount": 3,
"cnameCloakedTrackersCount": 0,
"gdprDmaRiskLevel": "low"
},
"recommendations": [
"Google Consent Mode v2 properly configured with DMA signals.",
"100% of third-party scripts loaded asynchronously or deferred."
],
"topVendors": [
{ "entity": "Google Tag Manager", "scriptsCount": 2, "transferBytes": 110000 },
{ "entity": "Stripe", "scriptsCount": 1, "transferBytes": 45000 }
],
"rawScripts": [
"https://js.stripe.com/v3/",
"https://www.googletagmanager.com/gtm.js?id=GTM-ABC999"
],
"audit": {
"healthScore": 88,
"grade": "B",
"deductions": [],
"warnings": [],
"bonuses": [
{ "reason": "100% of third-party scripts loaded asynchronously or deferred", "points": 5 },
{ "reason": "Google Consent Mode v2 properly configured with DMA signals", "points": 5 }
],
"topSiteIssues": []
},
"error": null
}
When this plugin highlights performance deductions or security warnings, follow these engineering best practices:
async or defer attributes to all external scripts in <head>.<head>.type="text/partytown") to execute resource-heavy analytics and tag managers inside a background Web Worker.scroll, click, or keydown).integrity="sha384-..." crossorigin="anonymous").js.stripe.com, PayPal SDK) load exclusively over TLS HTTPS.'denied' before firing Google Tag Manager or GA4 tags.Third-party scripts are external JavaScript files hosted on third-party domains (such as Google, Meta, Stripe, Cloudflare, or Intercom) embedded into a website to provide analytics, advertising, customer support, video playback, or payment processing. They hurt website performance by blocking the browser's HTML parser when placed synchronously in <head>, swelling total page weight, and executing long computational tasks that cause UI lag and degraded Core Web Vitals.
Third-party JavaScript libraries execute on the browser's main thread. When a script runs long tasks (> 50ms), it blocks user input handling, directly degrading Interaction to Next Paint (INP) and Total Blocking Time (TBT). Furthermore, synchronous <script> tags located in document <head> block the HTML parser, hurting First Contentful Paint (FCP) and Largest Contentful Paint (LCP). This detector flags render-blocking tags and uses Long Animation Frames (LoAF) telemetry to highlight heavy offenders.
How does this plugin satisfy PCI-DSS v4.0.1 Requirements 6.4.3 and 11.6.1?
Under PCI-DSS v4.0.1 Requirement 6.4.3, merchants must maintain an explicit, written inventory of all scripts executing in the consumerβs browser on payment checkout pages, confirm script business justification, and verify integrity. Under Requirement 11.6.1, tamper-detection mechanisms must catch unauthorized script alterations. This plugin automatically generates the complete script inventory, identifies payment processors, checks Subresource Integrity (SRI), and verifies that zero payment scripts are exposed over insecure HTTP.
CNAME cloaking is a tracking practice where third-party tracker endpoints are mapped to a first-party subdomain (e.g., analytics.yourdomain.com pointing to a third-party analytics provider) to evade browser privacy protections and ad blockers. The detector inspects subdomains against known cloaked tracker signatures (sgtm, track, metrics, analytics, data) and flags potential first-party CNAME cloaks for privacy review.
Under the EU Digital Markets Act (DMA), advertisers using Google services must transmit verified user consent. Google Consent Mode v2 introduces two mandatory parameters: ad_user_data and ad_personalization (in addition to ad_storage and analytics_storage). This plugin inspects the webpage DOM, inline scripts, and dataLayer events to confirm whether Consent Mode v2 is configured, which signals are active (granted vs denied), and whether an IAB TCF v2.2 certified CMP is active.
Subresource Integrity (SRI) is a W3C security standard that enables browsers to verify that resources fetched from third-party Content Delivery Networks (CDNs like cdnjs, jsDelivr, or unpkg) have not been maliciously modified or compromised. By specifying a cryptographic hash in the integrity attribute (e.g., integrity="sha384-..."), browsers will reject scripts if an attacker compromises the CDN host.
Partytown is an open-source library that relocates resource-intensive third-party scripts (such as Google Tag Manager, Facebook Pixel, or Mixpanel) into a background Web Worker. By running scripts off the main thread, the browser's UI thread remains responsive to user interactions, eliminating INP degradation and Total Blocking Time (TBT). This detector flags scripts configured with type="text/partytown" and awards bonus health score points.
Yes. While BuiltWith ($295β$995/month) and Wappalyzer ($100β$450/month) focus primarily on broad technology stack detection, BrowserMesh Third-Party Script Detector provides deeper JavaScript-specific auditing: 15 specialized script categories, 22 extracted tracking/payment account IDs, PCI-DSS compliance checks, Google Consent Mode v2 verification, SRI audits, and 0β100 performance health scoringβat zero licensing cost and with full programmatic API support.
This workflow executes natively within your local or peer BrowserMesh node using real Chromium browser automation. It navigates dynamically rendered single-page applications, executes interaction logic, avoids cloud proxy fees, and extracts clean structured datasets directly to your local machine with complete security and privacy.
Unlike legacy cloud scraping APIs that impose expensive per-request markups and risk IP bans, BrowserMesh routes execution through authentic residential environments. You pay zero cloud data transfer fees, experience full anti-bot stealth emulation, and retain 100% ownership of your extracted datasets without vendor lock-in.
1 record Β· 25 nested fields Β· real execution preview
Combine complementary browser automation and auditing workflows to verify site health, infrastructure, and search engine crawlability with 100% local execution.
Scan websites and XML sitemaps to detect 404 dead links, broken anchors, and redirect loops with zero cloud markups.
Discover who hosts any website. Detect cloud infrastructure, CDN edge networks, IP geo, and DNS routing instantly.
Audit on-page SEO factors, meta tags, heading structures, Core Web Vitals, and SERP snippet previews with local privacy.
Explore our comprehensive guides or reach out directly to our engineering support team.