Google Analytics in Wordpress einfügen


/ Published in: PHP
Save to your folder(s)

Code in die functions.php einfügen


Copy this code and paste it in your HTML
  1. <?php
  2. add_action('wp_footer', 'add_googleanalytics');
  3. function add_googleanalytics() { ?>
  4. // Paste your Google Analytics code from Step 6 here
  5. <?php } ?>

URL: http://www.wpbeginner.com/wp-tutorials/25-extremely-useful-tricks-for-the-wordpress-functions-file/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.