xref: /webtrees/resources/views/modules/google-analytics/form.phtml (revision e11ffd0c922a07c13f23d38c7d9c82edce5298f5)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<div class="row form-group">
4    <label for="GOOGLE_ANALYTICS_ID" class="col-sm-3 col-form-label">
5        <?= /* I18N: A configuration setting */ I18N::translate('Site identification code') ?>
6        <span class="sr-only">Google Analytics</span>
7    </label>
8    <div class="col-sm-9">
9        <input type="text" class="form-control" id="GOOGLE_ANALYTICS_ID" name="GOOGLE_ANALYTICS_ID" value="<?= e($GOOGLE_ANALYTICS_ID ?? '') ?>" placeholder="UA-12345-6" maxlength="255" pattern="UA-[0-9]+-[0-9]+">
10    </div>
11</div>
12
13<p>
14    <?= I18N::translate('Tracking and analytics are not added to the control panel.') ?>
15</p>
16