@ -206,6 +206,31 @@ echo -e "\t$ snap set $SNAP_NAME cors-expose-headers='*'"
echo -e "\t-Disable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: ''"
echo -e "\t$ snap unset $SNAP_NAME cors-expose-headers"
echo -e "\n"
echo -e "The address of the server where Matomo is hosted:"
echo -e "\t$ snap set $SNAP_NAME matomo-address='https://matomo.example.com'"
echo -e "\t-Disable the Matomo integration:"
echo -e "\t$ snap unset $SNAP_NAME matomo-address"
echo -e "\n"
echo -e "The value of the site ID given in matomo server"
echo -e "\t$ snap set $SNAP_NAME matomo-site-id='12345'"
echo -e "\t-Disable the Matomo site id integration:"
echo -e "\t$ snap unset $SNAP_NAME matomo-site-id"
echo -e "\n"
echo -e "The option do not track which enables users to not be tracked by matomo. Default: true"
echo -e "\t$ snap set $SNAP_NAME matomo-do-not-track='true'"
echo -e "\t-Disable the Matomo do not track:"
echo -e "\t$ snap unset $SNAP_NAME matomo-do-not-track"
echo -e "\n"
echo -e "The option that allows matomo to retrieve the username. Default: false"
echo -e "\t$ snap set $SNAP_NAME matomo-with-username='true'"
echo -e "\t-Do not retrieve username:"
echo -e "\t$ snap set $SNAP_NAME matomo-with-username='false'"
echo -e "\n"
echo -e "Metrics allowed IP addresses, separated by ',' . https://github.com/wekan/wekan/wiki/Metrics"
echo -e "\t$ snap set $SNAP_NAME metrics-allowed-ip-addresses='192.168.0.100,192.168.0.200'"
echo -e "\t-Disable the Metrics:"
echo -e "\t$ snap unset $SNAP_NAME metrics-allowed-ip-addresses"
echo -e "\n"
echo -e "Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside."
echo -e "\t\t Setting this to false is not recommended, it also disables all other browser policy protections"
echo -e "\t\t and allows all iframing etc. See wekan/server/policy.js"