Data Protection and Privacy Settings

These settings enable you to meet the privacy requirements of your end users and comply with data protection regulations such as GDPR. They allow your users the choice of sharing or restricting data with your organization and with LeadSquared. The settings available are –

  • Cookie Consent
    Lets you customize and display a cookie consent banner on your website.
  • Email Opt-in
    Gives your leads the choice to opt-in or out of receiving your emails.
  • Personal Data Protection
    Give leads the ability to access, update and delete their personal data.
  • Delete Lead Backup (Data Purging)
    Allows you to delete lead backup data permanently, in instances where data backups are retained before deletion.

You can access the Data Protection and Privacy Settings by navigating to My Account>Settings>Data Protection and Privacy.

Data Privacy Settings


Cookie Consent

As part of the privacy settings, you can allow end users to control whether or not they would like to enable cookies on your website (where the LeadSquared Tracking script has been installed). If an end user chooses to disable cookies then their behaviour on your website won’t be tracked. This means that page views, source, UTM parameters, etc. will not be tracked for that particular session.


  • The cookie consent banner will re-appear if the user starts a new session (closes the previous browser and starts a fresh session).
  • The cookie consent banner will only be displayed for lead if the ‘Do Not Track’ lead field is empty. For more information, see Data Privacy – Do Not Track.

The setting allows you to display a customizable cookie consent banner on your website. It looks something like this –

consent banner

To enable the cookie consent banner –

  1. Navigate to My Account>Settings>Data Protection and Privacy>Personal Data Protection.
  2. Alongside Enable Data Protection and Privacy, click Yes.
  3. Under Privacy Settings, alongside click Yes.
  4. Hover the cursor over the settingsSettings icon icon and click Edit.
  5. Customize your cookie consent banner and then click Save.

Cookie Banner

Cookie consent banner customization options include –

ModeConsent mode gives end-users the option of enabling or disabling cookies.
PositionTop will display the banner at the top of the webpage while bottom will display it at the bottom.
HeadlineYou can customize the text you want users to see on the headline. You can even modify the text and background colour.
LinkYou can choose whether or not you want to display a link on the banner. The link is helpful if you want to direct end users to your privacy policy documentation.
OK buttonCustomize how you want users to see the OK button.
Close buttonChoose whether or not you want to display a close button and how you want it to look.


Email Opt-in

The Email Opt-in settings are geared toward upholding the privacy rights of your leads.
By using the email opt-in setting together with the email opt-in automation action, you can let your leads decide whether or not they want to receive emails from your organization. Here’s how you set it up –


1. Enable the Email Opt-in Setting

Once you enable this setting, the Do Not Email lead field will automatically be set to True. All leads created from this point on will not receive any emails except the ‘Opt-In Email’ you set up via automation (see step 2).

  1. Navigate to My Account>Settings>Data Protection & Privacy>Email Opt-in.
  2. Set Enable Opt-In to Yes.

Enable email opt-in

Note: After this setting is enabled, users will have to enter comments if they wish to change the Do Not Email field to False manually, through lead import or through rules or automation. Here’s an example from the Add New Lead form where the Do Not Email field box has been unchecked.

email opt in add new lead form


2. Set up an Opt-in Automation

The automation action, Send Opt-in Email, lets you send an email to leads where they have the option to choose whether or not they want to receive emails and also set their preferences. It looks something like this –

opting in to email communication

If a lead chooses to opt-in and receive emails, they’ll then get to choose their email subscription preferences and the Do Not Email field is automatically updated to False.

opt in yes

If, on the other hand, a lead chooses to opt-out, the Do Not Email remains True and you can’t send them any emails.

Note: The Opt-in email can only be sent once in 30 days and is sent even if the Do Not Email setting is True.

Here’s how you can set up a simple automation to send opt-in emails when new leads are added.

  1. Navigate to Marketing>Automation and click Create Automation.
  2. Select a Blank Template, set the trigger to New Lead and click Save.
  3. Click the Add  button and under Messaging, select Send Opt-In Email.
  4. You use the visual designer or text editor to compose the email. The visual designer already has ready-made templates you can preview and use. For this case, select the Opt-in Emails for New Leads template. Click Use or Edit & Use if you wish to make changes to the content.
  5. Now click Publish to set the automation live.

New opt-in automation

Note: All opt-in and opt-out actions taken by your leads reflect as custom activities with the following details – IP address, Origin, Comments and Date. You can view them on the Lead Details page for a particular lead –

opt in lead details


3. Points to Note

  • If a lead’s email address is changed and the Email Opt-in settings are Enabled, the Do Not Email field for that lead will be reset to True.
  • If a lead’s Do Not Email status is changed manually, through import or through rules or automation, users must enter Opt-in comments.
  • All opt-in and opt-out activities are tracked. You can view them on the lead details page as shown above. If you can’t see them enable the Opted In for Email and Opted Out for Email activities from the Notable Activity Type drop-down on the Lead Details page.

show opt in and out activities


Personal Data Protection

The personal data protection setting is another LeadSquared feature that helps you comply with GDPR. When enabled, it automatically creates a landing page in your account (in draft status) that you can publish to existing leads and present them with the following options –

  • View their data
  • Remove their data
  • Update their data
  • Do Not Track
  • Others (comments are available)


1. Enable the Personal Data Protection Settings

  1. Navigate to My Account>Settings>Data Protection & Privacy>Personal Data Protection.
  2. Alongside Enable Personal Data Protection, click Yes.

personal data protection settings


2. Publish the Landing Page

After enabling the personal data protection setting, a landing page with the name End User Data Protection Request Form will automatically appear in your account.

data protection landing page

You can edit this page if you want. The form in the landing page will have a Data Protection Request drop-down field where leads can request to view, remove or update their data, make a do not track request or choose the others option and enter comments.

Note: If a lead chooses the Do Not Track option, the ‘Do Not Track’ lead field will be marked as ‘Yes’ and web and email activities for the lead will not be tracked from that point on. For more information, see Data Privacy – Do Not Track.

To publish the landing page –

  1. On the main menu, navigate to Marketing>Landing Pages.
  2. Hover your cursor over the settingsSettings iconwheel alongside the End User Data Protection Request Form landing page and click Publish.
  3. On the confirmation box, click Publish.

publish page

Note: Only existing leads can submit a request on this landing page. They will have to specify their email address or any other field included in the form that is marked unique in your account.

Once a lead submits a request on the landing page, they’ll receive the following confirmation email –

landing page request confirmation email


3. Check Activity History

When a lead submits a request on the End User Data Protection Request Form landing page, a ‘Data Protection Request’ activity gets posted on the lead details page. The response to the confirmation email is also visible in the leads activity history.

data protection history


4. Take Action

Each data protection request submitted by a lead, excluding ‘Do Not Track’, must be manually completed. So a lead requests to view their data, update their data, remove their data or chooses the others option, you have to manually perform the required actions.

Note: The ‘Do Not Track’ request automatically updates the ‘Do Not Track’ lead field. For more information, see Data Privacy – Do Not Track.


Delete Lead Backup

When leads are deleted from LeadSquared, we still maintain an audit record with the lead’s details. To ensure GDPR compliance and remove all lead data (including the audit data we maintain), you can use the Delete Lead Backup feature.
Enter the lead’s email address and click Delete Lead. On the confirmation pop-up click Yes. If the lead backup exists you’ll see a success message. If the backup doesn’t exist you’ll see a failure message.

lead backup delete


Any Questions?

Did you find this article helpful? Please let us know any feedback you may have in the comments section below. We’d love to hear from you and help you out!


Was this Helpful?

Notify of
Oldest Most Voted
Inline Feedbacks
View all comments
1 year ago

How do I remove an agent’s email address who is no longer with the company. I am an admin.

Sri Sudhan
Reply to  Jodi
1 year ago

Hi, Jodi. To do this, navigate to My Profile>Settings>Users and Permissions>Users, and alongside the user you want to remove from your account, hover your cursor on the settings icon, and click Deactivate. Hope this screenshot helps –comment image

Reply to  Jodi
1 year ago

They are already deactivated and I made them obsolete but the agent is still receiving emails. I have access to their inbox and can see the emails coming in.

Sri Sudhan
Reply to  Jodi
1 year ago

Okay, this shouldn’t be happening, Jodi. Can you please send a mail elaborating on this issue to We’ll resolve it asap.

Chetan Mohane
Chetan Mohane
1 year ago

How can we retrieve deleted leads in LSQ. please helps us