---
title: "First Click Free support in Varnish"
date: "2024-02-14T06:18:38+00:00"
summary: "Implement First Click Free on your website with Varnish support. Learn how to encourage social sharing while protecting content behind a paywall. Discover configuration steps for Google, Facebook, and LinkedIn traffic."
image:
type: "page"
url: "/acquia-cloud-platform/first-click-free-support-varnish"
id: "513ce0ea-1f70-45ab-bf7a-eb43246acbe8"
---

Many websites needing to restrict access to content want to encourage social media sharing of content from their websites, while also protecting the rest of the website’s content through a paywall. Under the _First Click Free_ principle, visitors following links to content on your website can view an initial article for free, but clicking through to secondary links results in content being hidden behind access restrictions, such as a sign-in screen or paywall.

Cloud Platform supports the creation of sign-in screens or paywalls for content by adding a `X-UA-FCF` header with the value of `allow` to all traffic originating from the following websites:

*   Google
*   Facebook
*   LinkedIn

Cloud Platform always adds the `X-UA-FCF` header to traffic originating from these websites, but no restrictions are placed on content access without additional configuration on your part. Add the following HTTP response header, either through custom code or the [HTTP Response Headers](https://www.drupal.org/project/http_response_headers) module, to the HTTP response headers sent by your application:

    X-UA-FCF-Enabled: 1

This header instructs Varnish® to append the `X-UA-FCF` header to your application’s `Vary` header before caching, enabling Varnish to cache responses with `allow` differently than responses containing `deny`.

For more information about other HTTP headers provided by Cloud Platform, see [Varnish headers](/acquia-cloud-platform/performance/varnish/headers).