intercom / intercom-rails

The easiest way to install Intercom in a Rails app.
https://developers.intercom.io/reference
MIT License
280 stars 106 forks source link

Masking the IP address of a visitor #289

Open stefanvermaas opened 6 years ago

stefanvermaas commented 6 years ago

Hi folks,

I was wondering; is it possible to mask the IP address of a visitor while using this gem? I saw this issue which seems to enable a developer to send the last_seen_ip address of a visitor/lead/user, but will this also mask the IP address Intercom saves?

The reason I'm asking this is that the current data retention policy of Intercom is that the IP address of a visitor is kept at Intercom for 9 months before it will be deleted. Because we've got a medical product, we don't want Intercom to keep that data for such a long period, because there is no need for us to keep that data in Intercom.

I've already discussed this with legal team of Intercom, but they say that saving the IP address of a visitor is a key part of the data infrastructure at Intercom. So they're not going to change this 9 months period.

In addition to the first question; would it also be possible to remove visitors through the API? Because if that's the case, then we schedule a job that will be run 24 hours from now (or so) and delete the visitor through the API.

Hope you can help me out with this.

Cheers, Stefan