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

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

Iterable
Iterable
Marketing automation platform for email and cross-channel campaign orchestration. Iterable's web script tracks behavioral events on websites to trigger automated campaigns and update user profiles. Primarily used by e-commerce and mobile app companies for lifecycle messaging.
WalkMe
WalkMe
WalkMe scripts inject guided walkthroughs, tooltips, and contextual help overlays into web applications to support digital adoption. The platform tracks user interactions, task completion rates, and step-by-step engagement to measure onboarding effectiveness.
RudderStack
RudderStack
RudderStack is an open-source customer data pipeline that collects events from websites and apps and routes them to data warehouses and downstream tools. SDK scripts instrument web pages to capture page views, track calls, and identify users, forwarding events to configured destinations. Supports self-hosted and cloud-managed deployments.
Segment
Segment
Customer data platform and analytics router that collects behavioral events from websites and forwards them to any connected destination (analytics, CRM, ad platforms). The Segment Analytics.js library fires a single tracking call that fans out to dozens of integrations, reducing the need for multiple vendor scripts.
Kochava
Kochava
Kochava is a mobile measurement and attribution platform for app advertisers. The web SDK fires attribution events on landing pages and links ad clicks to downstream app installs and in-app events. Also supports deep linking for web-to-app routing.
MoEngage
MoEngage
MoEngage scripts collect behavioral events and user session data to power personalized push notifications, in-app messages, and email campaigns. The SDK tracks page views, clicks, and custom events to build audience segments for cross-channel targeting.

Manage consent for Semrush

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

Semrush - SEO Analytics Widget & Cookie Consent Info | ConsentStack