Remove extra single quote, thanks @eriteric
This commit is contained in:
@@ -20,7 +20,7 @@ add_action('roots_head', 'roots_feed_link');
|
||||
function roots_google_analytics() {
|
||||
if (GOOGLE_ANALYTICS_ID) {
|
||||
echo "\n\t<script>\n";
|
||||
echo "\t\tvar _gaq=[['_setAccount','" . GOOGLE_ANALYTICS_ID . "''],['_trackPageview']];\n";
|
||||
echo "\t\tvar _gaq=[['_setAccount','" . GOOGLE_ANALYTICS_ID . "'],['_trackPageview']];\n";
|
||||
echo "\t\t(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\n";
|
||||
echo "\t\tg.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';\n";
|
||||
echo "\t\ts.parentNode.insertBefore(g,s)}(document,'script'));\n";
|
||||
|
||||
Reference in New Issue
Block a user