You are here

function seotools_googleanalytics_googleanalytics_account_form in Drupal SEO Tools 6

1 string reference to 'seotools_googleanalytics_googleanalytics_account_form'
seotools_googleanalytics_googleanalytics_account in plugins/seotools.presets.inc

File

plugins/seotools.presets.inc, line 411

Code

function seotools_googleanalytics_googleanalytics_account_form() {
  $form['account']['googleanalytics_account'] = array(
    '#type' => 'textfield',
    '#title' => t('Google Analytics account number'),
    '#default_value' => variable_get('googleanalytics_account', 'UA-'),
    '#size' => 15,
    '#maxlength' => 20,
    '#required' => TRUE,
    '#description' => t('The account number is unique to the websites domain. Click the <strong>Edit</strong> link in your Google Analytics account next to the appropriate profile on the <br /><strong>Analytics Settings</strong> page, then select <strong>Check Status</strong> at the top-right of the table to find the account number (UA-xxxx-x)<br /> of your site. You can obtain a user account from the <a href="@url">Google Analytics</a> website.', array(
      '@url' => 'http://www.google.com/analytics/',
    )),
  );
  return system_settings_form($form);
}