Semrush

Semrush

Semrush embeds website traffic widgets and competitive analysis badges on partner and third-party sites. Scripts may load analytics data visualizations and set tracking cookies to measure widget engagement and attribute referral traffic to the platform.

Overview

Semrush is a leading SaaS platform for SEO, content marketing, PPC research, and competitive intelligence, used by over 10 million marketing professionals worldwide. On third-party websites, Semrush's presence typically appears as embedded traffic estimation widgets, domain authority badges, or competitive analysis data visualizations embedded by marketing agencies, industry publications, and partner platforms that display Semrush-powered metrics. Semrush is headquartered in Boston, Massachusetts, and listed on the NYSE (SEMR).

What This Script Does

Embeddable widgets: Semrush widget scripts load from widget.semrush.com or static.semrush.com. These scripts render interactive data visualizations such as organic traffic trend charts, keyword position tracking snapshots, domain authority scores, and backlink profile summaries. The widgets fetch live data from api.semrush.com to display current metrics for the configured domain.

Engagement tracking cookies: When visitors interact with an embedded widget — hovering over data points, selecting date ranges, filtering by keyword, or clicking through to the full Semrush platform — the script records these interaction events. Relevant cookies include:

  • _semrush_session (session-scoped, first-party on the embedding domain) — maintains widget session context
  • semrush_src (30-day expiry, third-party set under semrush.com) — stores a referral attribution identifier that tracks which embedded widget generated traffic to Semrush's platform
  • semrush_ga_* (30-day expiry) — Semrush's own Google Analytics integration for measuring widget engagement across embedded deployments

Analytics data collection: The widget scripts collect widget load events, interaction counts, time-on-widget metrics, and click-through rates to the Semrush platform. This data is used by Semrush to measure the reach and engagement performance of its embeddable content program across partner sites.

Semrush Sensor and news embeds: Some Semrush embeds display live SERP volatility data (Semrush Sensor) or industry keyword trend reports. These also load scripts that track interaction and may set referral cookies.

Network requests: Widget data requests go to api.semrush.com. Analytics beacons fire to Semrush's analytics infrastructure. If Semrush's own GA integration is active, data also flows to Google Analytics on behalf of Semrush's measurement of its embeddable widget program.

Consent & Compliance

Semrush embedded widgets fall under the analytics consent category. The widgets collect engagement interaction data and set tracking cookies that serve Semrush's own analytics and attribution purposes — measuring how its embedded content performs across partner sites and attributing Semrush platform signups to specific widget placements.

Under GDPR and the ePrivacy Directive, the semrush_src referral attribution cookie and engagement tracking do not qualify for the strictly necessary exemption. While they serve Semrush's legitimate business interests, they constitute third-party processing of visitor behavioral data. Semrush's tracking of which visitors click through to its platform from your site's embedded widget is analytics processing that requires consent under Article 5(3) ePrivacy and GDPR Article 6(1)(a).

Under CCPA/CPRA, the collection of interaction data attributed to identifiable visitors and the referral tracking constitutes personal information processing. The embedding site must disclose Semrush as a data processor and ensure opt-out mechanisms cover this tracking.

Semrush participates in the EU-US Data Privacy Framework and maintains a DPA available on their website. EU/EEA visitor data transferred to Semrush's US infrastructure is covered by DPF certification and Standard Contractual Clauses as a fallback mechanism.

Should You Block This Without Consent?

Yes. Semrush embedded widgets set third-party attribution cookies and collect interaction analytics that benefit Semrush's own measurement programs — they are not essential for the embedding site's functionality. Block until the visitor consents to analytics or third-party tracking. Note that blocking the widget will render the embedded visualization non-functional, which is an acceptable trade-off for consent compliance.

Visit website

Consent Categories

Analytics

Also Known As

Semrush SEOSemrush analyticsSemrush widgetSEO analytics platform

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (1)

semrush.comAnalytics

Frequently Asked Questions

Do Semrush embedded widgets require consent?

Yes. Semrush widgets set third-party referral attribution cookies and collect visitor interaction data to measure widget engagement across partner sites. These serve Semrush's own analytics goals, not the site visitor's needs, and require consent under GDPR and ePrivacy.

What cookies does a Semrush widget set?

Semrush widgets set semrush_src (30-day referral attribution cookie), semrush_session (session-scoped context cookie), and semrush_ga_* analytics cookies. Interaction data — clicks, hovers, date range selections — is sent to Semrush's analytics infrastructure on behalf of their widget program.

How does ConsentStack handle Semrush widgets?

ConsentStack blocks Semrush widget scripts until the visitor consents to analytics. Blocking prevents the embedded visualization from rendering, but ConsentStack can display a placeholder informing visitors that content is unavailable until analytics consent is granted.

Related Vendors

Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Analytics
Google Analytics
Google Analytics is the world's most widely deployed web analytics platform. Scripts track page views, sessions, user demographics, traffic sources, and conversion events. Drops cookies to identify returning visitors and attribute user journeys across sessions.
Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
LinkedIn Insight Tag
LinkedIn Insight Tag
LinkedIn Insight Tag is a JavaScript tracking pixel for LinkedIn's advertising and analytics platform. The tag fires on every page view to collect URL, referrer, IP address, and device data for conversion tracking, website demographics reporting, and retargeting audience building. Sets cookies to identify LinkedIn members across advertiser websites.

Manage consent for Semrush

ConsentStack automatically detects and manages Semrush trackers so your site stays compliant with global privacy regulations.