| @@ 110-117 (lines=8) @@ | ||
| 107 | * |
|
| 108 | * @return string |
|
| 109 | */ |
|
| 110 | protected function analyticsBingWebmaster($verification_id) { |
|
| 111 | // Only need to add this to the home page. |
|
| 112 | if (WT_SCRIPT_NAME === 'index.php' && $verification_id) { |
|
| 113 | return '<meta name="msvalidate.01" content="' . $verification_id . '">'; |
|
| 114 | } else { |
|
| 115 | return ''; |
|
| 116 | } |
|
| 117 | } |
|
| 118 | ||
| 119 | /** |
|
| 120 | * Create the verification code for Google Webmaster Tools. |
|
| @@ 126-133 (lines=8) @@ | ||
| 123 | * |
|
| 124 | * @return string |
|
| 125 | */ |
|
| 126 | protected function analyticsGoogleWebmaster($verification_id) { |
|
| 127 | // Only need to add this to the home page. |
|
| 128 | if (WT_SCRIPT_NAME === 'index.php' && $verification_id) { |
|
| 129 | return '<meta name="google-site-verification" content="' . $verification_id . '">'; |
|
| 130 | } else { |
|
| 131 | return ''; |
|
| 132 | } |
|
| 133 | } |
|
| 134 | ||
| 135 | /** |
|
| 136 | * Create the tracking code for Google Analytics. |
|