Udemy

Udemy

Udemy embeds course preview widgets and enrollment flows on partner and affiliate websites. Scripts track engagement with course content and may set cookies to attribute referrals and enrollments back to the originating partner site.

Overview

Udemy is one of the world's largest online learning marketplaces, with over 210,000 courses across technology, business, creative, and personal development disciplines. Udemy operates both a consumer marketplace (udemy.com) and a B2B platform (Udemy Business) for corporate training. On third-party partner and affiliate websites, Udemy's embedded scripts enable course discovery widgets, affiliate conversion tracking, and referral attribution — allowing content publishers and affiliate partners to earn commissions on course enrollments driven by their traffic.

What This Script Does

Udemy scripts on third-party sites load primarily from udemy.com and udemycdn.com domains. The integration type determines which scripts are present.

Course Widget Component:

  • Renders embedded course cards or catalogs displaying course thumbnail, title, rating, price, and enroll CTA
  • Loads course data via API calls to udemy.com/api-2.0/courses/ for real-time pricing and availability
  • Users clicking "Enroll" or course titles are directed to udemy.com with partner tracking parameters appended

Affiliate Attribution and Tracking Component:

  • Cookie: ud_firstvisit — persistent first-touch attribution cookie, first-party under udemy.com domain, 30 days; records that the user's first visit to Udemy originated from a specific affiliate partner; used for last-click vs. first-touch attribution disputes
  • Cookie: ud_affiliate_[partnerid] — persistent affiliate referral cookie, 7–30 days; stores the affiliate partner ID and referral timestamp; enables Udemy to credit the referring partner when a delayed purchase occurs within the attribution window
  • Cookie: _uetsid, _uetvid — Microsoft/Bing UET cookies loaded via Udemy's own marketing stack on udemy.com pages; appear when the partner redirect lands on Udemy
  • Affiliate tracking parameters appended to URLs: affclearsale, pmtag, deal_code (promotional discount parameters), couponCode

Data Collected on Partner Sites:

  • Page URL and referrer at time of widget impression
  • Course card click events (which course was clicked, position in widget)
  • Outbound click to Udemy (timestamped, with partner ID and course ID)

Data Collected on Udemy.com After Redirect (via affiliate tracking):

  • Purchase completion: course purchased, transaction value, coupon applied
  • This is transmitted back to the affiliate platform for commission calculation

Udemy Business Integrations:

  • Corporate Udemy Business implementations may embed single sign-on (SSO) components and LTI-based course launchers; these set authentication session cookies under business.udemy.com

Udemy, Inc. is a US company (San Francisco). GDPR DPA available. Udemy participates in the EU-US Data Privacy Framework for transatlantic data transfers.

Consent & Compliance

Udemy's embedded scripts span functional and marketing categories. The course preview widgets serve a functional informational purpose. However, the affiliate attribution cookies (ud_firstvisit, ud_affiliate_[partnerid]) with 7–30 day persistence constitute marketing technology — they monitor cross-site user journeys to attribute commercial conversions to referring partners. Under GDPR Article 6(1)(a) and Article 5(3) ePrivacy Directive, the affiliate attribution cookies require explicit opt-in consent. Under CCPA/CPRA, affiliate tracking data linking identifiable user sessions to commercial transactions constitutes personal information; sharing this with Udemy's affiliate infrastructure may constitute "sharing" under Cal. Civ. Code §1798.140(ah) when tied to behavioral advertising purposes.

Should You Block This Without Consent?

Conditional. Course preview widgets may function without consent if attribution cookies are not loaded. However, if the integration relies on affiliate tracking and referral cookies for commission attribution, the full script should be blocked until marketing consent is obtained. Udemy Business SSO integrations serving authenticated enterprise users may qualify as functional.

Is Udemy GDPR compliant?

Udemy typically loads functional and marketing trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Udemy can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Udemy, not on Udemy itself.

Visit website

Consent Categories

Also Known As

Udemy coursesUdemy BusinessUdemy online learningUdemy affiliate

Industries

EducationScience and Education

Tracked Domains (1)

udemy.comFunctional

udemy.com is a functional domain operated by Udemy, used to run site features like chat, video, embeds, and preferences.

Frequently Asked Questions

Related Vendors

Canvas LMS
Canvas LMS
Canvas LMS embeds course content players, assignment interfaces, and learning modules on institutional websites. Scripts track learner progress, engagement events, and assignment completions to support LMS functionality and reporting.
Pluralsight
Pluralsight
Pluralsight is a technology skills and online learning platform. Course preview widgets and content embeds may appear on partner sites, while scripts track learner engagement and content interaction to support skills assessments and course recommendations.
Ticketmaster
Ticketmaster
Ticketmaster is a major live event ticketing platform that embeds purchase flows and event listings on venue and artist websites. Scripts load Ticketmaster widget infrastructure and set session cookies to maintain cart state during the ticket purchase flow. No independent user tracking beyond the transaction.
Bazaarvoice
Bazaarvoice
Bazaarvoice is an enterprise ratings, reviews, and UGC syndication network used by major global brands. Scripts embed review display widgets, Q&A sections, and photo galleries on product pages. Reviews are syndicated across Bazaarvoice's retailer network, and collected UGC is used in social advertising and shopper insights programs.
Wise
Wise
Wise embeds international money transfer widgets and multi-currency payment flows on partner websites. Scripts load during send-money transactions and may collect payment intent data, exchange rate selections, and user session information.
Yotpo Reviews
Yotpo Reviews
Yotpo Reviews scripts embed star ratings, review carousels, photo galleries, and Q&A sections on e-commerce product pages. The SDK collects review submissions, tracks engagement with user-generated content, and may set cookies for personalization.

Manage consent for Udemy

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