1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

interface to collect the google analytics ID

This commit is contained in:
Sylvain 2020-05-13 16:28:32 +02:00
parent 701d18d501
commit 4841027216
3 changed files with 18 additions and 0 deletions

View File

@ -81,6 +81,20 @@
<button name="button" class="btn btn-warning m-l" ng-click="save(phoneRequired)" translate>{{ 'app.shared.buttons.save' }}</button>
</div>
</div>
<p class="alert alert-warning m-t" ng-bind-html="'app.admin.settings.privacy.google_analytics_info_html' | translate"></p>
<div class="row">
<div class="col-md-4 col-md-offset-1">
<label for="google_analytics" translate>{{ 'app.admin.settings.privacy.google_analytics' }}</label>
<input ng-model="googleAnalytics.value"
id="google_analytics"
type="text"
class="form-control"
placeholder="UA-000000-2"
/>
<button name="button" class="btn btn-warning m-t" ng-click="save(googleAnalytics)" translate>{{ 'app.shared.buttons.save' }}</button>
</div>
</div>
</div>
</div>

View File

@ -1061,6 +1061,8 @@ en:
various_settings: "Various settings"
phone_required: "Phone required"
phone_required_info: "You can define if the phone number should be required to register a new user on Fab-manager."
google_analytics_info_html: "To enable the statistical tracking of the visits using Google Analytics, set your tracking ID here. It is in the form UA-000000-2. Visit <a href='https://analytics.google.com/analytics/web/' target='_blank'>the Google Analytics website</a> to get one.<strong>Warning :</strong> if you enable this feature, remember to write it in your privacy policy, above."
google_analytics: "Tracking ID"
open_api_clients:
add_new_client: "Create new API client"
api_documentation: "API documentation"

View File

@ -1061,6 +1061,8 @@ fr:
various_settings: "Paramètres divers"
phone_required: "Téléphone requis"
phone_required_info: "Vous pouvez définir si le numéro de téléphone doit être requis, lors de l'enregistrement d'un nouvel utilisateur sur Fab-manager."
google_analytics_info_html: "Pour activer les suivi statistique des visites utilisant Google Analytics, définissez ici votre ID de suivi. Il se présente sous la forme UA-000000-2. Visitez <a href='https://analytics.google.com/analytics/web/' target='_blank'>le site web de Google Analytics</a> pour en obtenir un.<br/><strong>Attention :</strong> si vous activez cette fonctionnalité, pensez à l'indiquer dans votre politique de confidentialité, ci-dessus."
google_analytics: "ID de suivi"
open_api_clients:
add_new_client: "Créer un compte client"
api_documentation: "Documentation de l'API"