Resources

Products

How can I stop tracking a user on my website when I use Freshchat ?

Modified on: Mon, 6 Jun, 2022 at 3:42 PM

In case your customers / site visitors do not want to be tracked on your website, you need to modify the embed code of the Freshchat conversations widget, also known as the web messenger, that you have used on your website.


This changes based on what is permitted by your customer / site visitor.

  • Adding the Freshchat web messenger code below will allow apps to block all the 

i)  page transitions events (this is triggered when a webpage from the same website is visited) and 

ii) all custom events


window.fcSettings = {config: {

disableEvents: true}

}

  • Adding the Freshchat web messenger code below will allow apps to block only page transition events


window.fcSettings = {

config: {disablePageTransition: true

}}