Network & File Transfers

Set Google Referrer

Sets the Referer header on outgoing requests to https://www.google.com, so a site sees the visit as a click from a search result rather than a direct one. This is what StealthType.GoogleReferrer turns on, applied at the first navigation.

To send a referrer of your own instead, see Override Referrer.

Examples

GPAL Fluent: High-level fluent C# API

//Browser setup and settings before the first GoTo or Get.

browser.WithUseStealth(StealthType.GoogleReferrer);

MagicHelper: MagicHelper utility library

browser.MagicHelper.SetGoogleReferrer();

Puppeteer Client: Puppeteer-style C# client

browser.PuppeteerClient.SetGoogleReferrer().Execute();

Puppeteer Communicator: Low-level communicator

await browser.PuppeteerCommunicator.SetGoogleReferrer(string sessionId);

REST Client: Direct REST/HTTP client

browser.OttoMagicClient.WithEndpoint(ApiEndpoint.GoogleReferrer).Execute();

💬 Ask GPAL