Révision cd5c298a
Ajouté par Geoffroy Desvernay il y a environ 5 ans
drupal7/sites/all/modules/matomo/matomo.admin.inc | ||
---|---|---|
178 | 178 |
'#type' => 'checkbox', |
179 | 179 |
'#title' => t('Track User ID'), |
180 | 180 |
'#default_value' => variable_get('matomo_trackuserid', 0), |
181 |
'#description' => t('User ID enables the analysis of groups of sessions, across devices, using a unique, persistent, and non-personally identifiable ID string representing a user. <a href="@url">Learn more about the benefits of using User ID</a>.', array('@url' => 'http://matomo.org/docs/user-id/')), |
|
181 |
'#description' => t('User ID enables the analysis of groups of sessions, across devices, using a unique, persistent, and non-personally identifiable ID string representing a user. <a href="@url">Learn more about the benefits of using User ID</a>.', array('@url' => 'https://matomo.org/docs/user-id/')),
|
|
182 | 182 |
); |
183 | 183 |
|
184 | 184 |
// Link specific configurations. |
... | ... | |
268 | 268 |
$form['tracking']['privacy']['matomo_privacy_donottrack'] = array( |
269 | 269 |
'#type' => 'checkbox', |
270 | 270 |
'#title' => t('Universal web tracking opt-out'), |
271 |
'#description' => t('If enabled and your Matomo server receives the <a href="http://donottrack.us/">Do-Not-Track</a> header from the client browser, the Matomo server will not track the user. Compliance with Do Not Track could be purely voluntary, enforced by industry self-regulation, or mandated by state or federal law. Please accept your visitors privacy. If they have opt-out from tracking and advertising, you should accept their personal decision.'),
|
|
271 |
'#description' => t('If enabled and your Matomo server receives the <a href="@donottrack">Do-Not-Track</a> header from the client browser, the Matomo server will not track the user. Compliance with Do Not Track could be purely voluntary, enforced by industry self-regulation, or mandated by state or federal law. Please accept your visitors privacy. If they have opt-out from tracking and advertising, you should accept their personal decision.', array('@donottrack' => 'https://www.eff.org/issues/do-not-track')),
|
|
272 | 272 |
'#default_value' => variable_get('matomo_privacy_donottrack', 1), |
273 | 273 |
); |
274 | 274 |
|
... | ... | |
296 | 296 |
$form['matomo_custom_var'] = array( |
297 | 297 |
'#collapsible' => TRUE, |
298 | 298 |
'#collapsed' => TRUE, |
299 |
'#description' => t('You can add Matomos <a href="!custom_var_documentation">Custom Variables</a> here. These will be added to every page that Matomo tracking code appears on. Custom variable names and values are limited to 200 characters in length. Keep the names and values as short as possible and expect long values to get trimmed. You may use tokens in custom variable names and values. Global and user tokens are always available; on node pages, node tokens are also available.', array('!custom_var_documentation' => 'http://matomo.org/docs/custom-variables/')), |
|
299 |
'#description' => t('You can add Matomos <a href="!custom_var_documentation">Custom Variables</a> here. These will be added to every page that Matomo tracking code appears on. Custom variable names and values are limited to 200 characters in length. Keep the names and values as short as possible and expect long values to get trimmed. You may use tokens in custom variable names and values. Global and user tokens are always available; on node pages, node tokens are also available.', array('!custom_var_documentation' => 'https://matomo.org/docs/custom-variables/')),
|
|
300 | 300 |
'#theme' => 'matomo_admin_custom_var_table', |
301 | 301 |
'#title' => t('Custom variables'), |
302 | 302 |
'#tree' => TRUE, |
... | ... | |
394 | 394 |
'#title' => t('Custom JavaScript code'), |
395 | 395 |
'#collapsible' => TRUE, |
396 | 396 |
'#collapsed' => TRUE, |
397 |
'#description' => t('You can add custom Matomo <a href="@snippets">code snippets</a> here. These will be added to every page that Matomo appears on. <strong>Do not include the <script> tags</strong>, and always end your code with a semicolon (;).', array('@snippets' => 'http://matomo.org/docs/javascript-tracking/')) |
|
397 |
'#description' => t('You can add custom Matomo <a href="@snippets">code snippets</a> here. These will be added to every page that Matomo appears on. <strong>Do not include the <script> tags</strong>, and always end your code with a semicolon (;).', array('@snippets' => 'https://matomo.org/docs/javascript-tracking/'))
|
|
398 | 398 |
); |
399 | 399 |
$form['advanced']['codesnippet']['matomo_codesnippet_before'] = array( |
400 | 400 |
'#type' => 'textarea', |
Formats disponibles : Unified diff
MAJ 7.60 -> 7.62