Friendbuy

Friendbuy

Friendbuy is a referral and loyalty marketing platform for e-commerce and subscription brands. Its scripts embed referral widgets, track social sharing events, set cookies for conversion attribution across sessions, and collect participant data to manage referral reward programs.

Overview

Friendbuy is a referral and loyalty program platform used by direct-to-consumer and subscription e-commerce brands. It powers refer-a-friend programs where existing customers receive rewards for recruiting new purchasers. Friendbuy's client-side scripts are responsible for surfacing referral widgets to current customers and tracking the attribution chain from share event through to referred purchase — a cross-session, cross-device tracking challenge that requires persistent cookies.

What This Script Does

Friendbuy scripts deploy referral widgets and manage conversion attribution across the customer lifecycle. Client-side behavior includes:

Referral widget rendering: Friendbuy's embed script injects referral program widgets onto the page — typically after purchase or on account pages — prompting customers to share a unique referral link via email, social media, or direct copy. Widget assets load from Friendbuy's CDN.

Unique share link generation: Friendbuy generates personalized referral URLs for each customer. These links contain encoded identifiers that allow Friendbuy to attribute future purchases to the referring customer.

Attribution cookie: When a visitor follows a referral link, Friendbuy's script sets a persistent attribution cookie on the visitor's browser. This cookie ties the visitor's subsequent browsing and purchase activity back to the referring customer. The cookie persists across sessions for the duration of the referral attribution window (typically 30-90 days depending on operator configuration).

Conversion tracking: When a referred visitor completes a purchase, Friendbuy's script fires a conversion event reporting the order value and customer identity to Friendbuy's servers for reward calculation and attribution reporting.

Customer identity: Friendbuy receives customer identifiers (email address, customer ID) from the operator's website to associate referral activity with specific accounts. This data is transmitted to Friendbuy's API.

Consent & Compliance

GDPR and ePrivacy Directive: Friendbuy's attribution cookie — which persists for 30-90 days and tracks browsing behavior across sessions to link it to a specific known individual — is the core consent challenge. This cookie constitutes personal data processing for marketing attribution that requires prior explicit consent under the ePrivacy Directive. Even though the referred visitor chose to follow a referral link, this does not constitute consent to persistent cross-session cookie tracking. The referral widget shown to existing customers also requires marketing consent for tracking purposes.

CCPA/CPRA: The combination of customer email address, purchase history, and referred visitor behavioral data constitutes personal information under CCPA. Cross-session attribution tracking of referred visitors may constitute "sharing" of personal information for targeted advertising purposes depending on how Friendbuy uses aggregated attribution data. A service provider agreement restricting secondary use is essential.

Consent category: marketing. Friendbuy's entire function is marketing attribution and referral program tracking.

Should You Block This Without Consent?

Yes.

Friendbuy scripts set persistent attribution cookies that track visitor behavior across sessions for marketing purposes. The attribution window of 30-90 days means the cookie persists well beyond what is necessary for a single session. These scripts must be blocked until the visitor provides explicit marketing consent. Referral links can still function as URL-based attribution without cookies as a privacy-preserving alternative, but the default Friendbuy implementation requires consent.

Visit website

Consent Categories

Marketing

Also Known As

friendbuyfriend buyreferral marketing consentfriendbuy widgetloyalty program tracking

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (1)

friendbuy.comMarketing

Frequently Asked Questions

Do I need consent to use Friendbuy on my website?

Yes. Friendbuy is a marketing referral platform that sets persistent attribution cookies lasting 30 to 90 days to track referred visitors across sessions. These require explicit opt-in consent under the ePrivacy Directive and GDPR before the Friendbuy script loads.

What cookies does Friendbuy set on visitor browsers?

When a visitor arrives via a referral link, Friendbuy sets a persistent attribution cookie (typically 30-90 day expiry) linking that visitor to the referring customer. This cookie tracks browsing behavior across multiple sessions to attribute future conversions. Referral widget assets load from Friendbuy's CDN.

How does ConsentStack handle Friendbuy on my site?

ConsentStack categorizes Friendbuy as marketing and blocks its scripts until visitors grant marketing consent. When consent is granted, Friendbuy's attribution cookie and referral widgets load. When consent is denied, no cross-session referral tracking occurs and no attribution cookies are set.

Related Vendors

Google Ads
Google Ads
Google Ads is Google's advertising platform for search, display, and remarketing campaigns. Conversion tracking scripts fire on advertiser landing pages to measure actions taken after ad clicks. The remarketing tag builds audience lists for retargeting users across Google's ad network.
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.
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag is the Universal Event Tracking pixel for Microsoft's ad platform, formerly Bing Ads. The JavaScript tag fires on advertiser websites to track page views, conversions, and custom events for campaign optimization. Sets cookies to identify visitors across sessions and attribute conversions to Microsoft Search and Audience Network ad clicks.
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.
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.
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 Friendbuy

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