Last active
April 18, 2017 10:02
-
-
Save IacopoC/564d4d72f403a12858fa23452d71aeb4 to your computer and use it in GitHub Desktop.
Google analytics tracking code snippet in functions.php WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php add_action('wp_head', 'add_google_analytics'); | |
function add_google_analytics() { | |
// Insert your GA code here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment