Action Reference: geodir_google_analytic_settings

Summary

Google Analytic Settings *

Used by

geodirectory/geodirectory-admin/option-pages/general_settings_array.php: [Line: 128]

Source Code

$google_analytic_settings = apply_filters('geodir_google_analytic_settings', array(

    array('name' => __('Google Analytics', GEODIRECTORY_TEXTDOMAIN), 'type' => 'title', 'desc' => '', 'id' => 'google_analytic_settings'),

    array('name' => __('Google Analytic Settings', GEODIRECTORY_TEXTDOMAIN), 'type' => 'sectionstart', 'id' => 'google_analytic_settings'),

    array(
        'name' => __('Google analytics "Profile ID(ie: ga:12345678)?', GEODIRECTORY_TEXTDOMAIN) . ' ' .
            '<a target="_blank" href="http://wpgeodirectory.com/docs/google-analytics/">' . __('help', GEODIRECTORY_TEXTDOMAIN) . '</a>',
        'desc' => '',
        'id' => 'geodir_ga_id',
        'type' => 'text',
        'css' => 'min-width:300px;',
        'std' => '' // Default value for the page title - changed in settings
    ),

    array(
        'name' => __('Show business owner google analytics stats?', GEODIRECTORY_TEXTDOMAIN),
        'desc' => __('Yes', GEODIRECTORY_TEXTDOMAIN),
        'id' => 'geodir_ga_stats',
        'std' => '0',
        'type' => 'radio',
        'value' => '1',
        'radiogroup' => 'start'
    ),
    array(
        'name' => __('Show business owner Google Analytics stats?', GEODIRECTORY_TEXTDOMAIN),
        'desc' => __('No', GEODIRECTORY_TEXTDOMAIN),
        'id' => 'geodir_ga_stats',
        'std' => '1',
        'type' => 'radio',
        'value' => '0',
        'radiogroup' => 'end'
    ),

    array(
        'name' => __('Google analytics username for api?', GEODIRECTORY_TEXTDOMAIN),
        'desc' => '',
        'id' => 'geodir_ga_user',
        'type' => 'text',
        'css' => 'min-width:300px;',
        'std' => '' // Default value for the page title - changed in settings
    ),

    array(
        'name' => __('Google analytics password for api?', GEODIRECTORY_TEXTDOMAIN),
        'desc' => '',
        'id' => 'geodir_ga_pass',
        'type' => 'password',
        'css' => 'min-width:300px;',
        'std' => '' // Default value for the page title - changed in settings
    ),


    array(
        'name' => __('Google analytics tracking code', GEODIRECTORY_TEXTDOMAIN),
        'desc' => '',
        'id' => 'geodir_ga_tracking_code',
        'type' => 'textarea',
        'css' => 'min-width:300px;',
        'std' => '' // Default value for the page title - changed in settings
    ),


    array('type' => 'sectionend', 'id' => 'google_analytic_settings'),

)); // google_analytic_settings End