Lego2012
12/13/2016 - 12:17 PM

Add Google Analytics

Add Google Analytics

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

<!-- 
Simply paste the code below and insert your Google Analytics where it says paste your Google Analytics. You can paste the code once in your functions.php file and never have to worry about it again. We are adding an action to the wp_footer, so it will automatically insert adsense codes wherever on all pages you have the wp_footer string. 
-->

<?php
add_action('wp_footer', 'add_googleanalytics');
function add_googleanalytics() { ?>
// Paste your Google Analytics code from Step 6 here
<?php } ?>