Skip to main content
All CollectionsLeadfeederTracking Script
Using Leadfeeder and Consent to Comply with GDPR
Using Leadfeeder and Consent to Comply with GDPR

This article helps you to configure the Leadfeeder Tracker to work with cookie banners.

Tamar Keenan avatar
Written by Tamar Keenan
Updated over a week ago

Did you know that the Leadfeeder Tracker can work without cookies? It’s true!

If cookies are disabled, the Leadfeeder tracking script will still identify companies visiting your website. However, it won’t be able to recognise individual visitors on your website as returning (repeat) visitors.

This applies to visitors coming back on different days as well as visitors coming back within the same session. That means, for example, that each visitor will be shown as a new numbered visitor in the Leadfeeder web application. You can read more about the sessions and returning visitors here.

If you want to recognise returning visitors and are using a cookie consent management platform or a cookie banner on your website, Leadfeeder offers several configuration options on how the script works with or without cookies and how to turn on cookies after the user has given their consent.

If you would like to understand more in detail on how our Leadfeeder Tracker works and what data it collects, you can read about it here.

What Does this Mean for You?

We don’t recommend blocking the entire Leadfeeder Tracker with your cookie consent management platform or cookie banner. If you do so, your visitors have to accept the cookies for the Leadfeeder Tracker to start tracking the traffic on your website. And if none of your visitors accept the cookies you will never see any traffic from your website.

Instead, you can configure your cookies in a way that provides for their best utilisation.

You can choose one of the following options depending on your business needs and taking into account GDPR and national laws and regulations:


You can turn off Dealfront cookies completely. This can be done in your user settings here.


A more advanced option is to make use of conditional cookies on the visitor's selected preferences in your cookie consent banner, using the Leadfeeder tracking script's function to specifically allow cookies. This will prevent the Dealfront cookie from being set in the user’s browser unless they consented to those cookies.

If you want to choose this option please contact us to turn the cookie consent manager option on. The consent management option must be turned on from the Dealfront side. The easiest way to set this up is in the Google Tag Manager and the steps are as follows:

STEP 1: If you already have a cookie consent management platform set up in your Google Tag Manager container, we recommend CookieHub or OneTrust to name a few, please make sure that it is in the same GTM container you have connected to your website where the Leadfeeder Tracker is. Please make sure that Leadfeeder Tracker is installed to fire on all pages. It won't set cookies until we specifically call it (which is done in the next step).

STEP 2: Set up a new custom HTML tag for accepting the Dealfront cookie and include the following code there:

if (window.ldfdr) {

It should look like this:

STEP 3: Choose a trigger from your cookie consent management platform sample triggers. For example, in CookieHub we choose CookieHub - Allowed Analytics. This is because CookieHub includes our Dealfront cookie into analytical cookies. You can check that in the cookie settings on your website.

STEP 4: Save, submit changes, and publish. Now only the visitors that accepted all cookies on your website will have our Dealfront cookie set in their browser.

On top of the above-mentioned choices, you can also anonymise the IP addresses in your user settings here.


Questions, comments, feedback? Please let us know by contacting our support team via the chat or by sending us an email at


Did this answer your question?