What is privacy setting in config?

Hi,

I’m absolutely enjoying going through the Ghost codebase, but I need to balance my enjoyment with the need to ship fast, so that the business can actually become operational :slight_smile:

One thing I’m looking for is to disable any kind of telemetry or other things that could potentially infringe on privacy (in any sense). The obvious place for me to start was using config.production.json, so I went ahead and looked at core/core/shared/config/defaults.json to get hold of all possible values that could be set up.

One curious setting over there was privacy: false, which in and of itself might be interpreted as privacy is disabled, in which case it’s exactly the opposite of what I’m after :smiley:

I’ve started to look through the code and it seems like this setting set to false is like disabling tracking, not enabling it. I’m not sure really sure though, and thought I’ll just check if anyone here knows for sure what this setting is.

/D

P.S. We’ll see what it turns out to be, but unless this setting means “Hey, allow all possible trackers that we only have” (when privacy: false, that is), then it would probably be beneficial to rename the property to something else. privacy: false does sound a bit ominous in my opinion, not gonna lie :smiley:

Have a look at the documentation:

If you want to turn it all off you might not appreciate the entry for that :slight_smile: .

1 Like

Hi,

Thanks for the super quick response! I missed this part of the docs, this file in the repo (referenced by the docs) summarizes things very neatly and clearly: Ghost/PRIVACY.md at 2f09dd888024f143d28a0d81bede1b53a6db9557 · TryGhost/Ghost · GitHub

I’ll have to see which of them I end up disabling :slight_smile:

Many thanks and enjoy your day @EchonCique!

/D

1 Like