-
-
Save brentini/e92b5959f7a0c55fe4926b2da8b48adc to your computer and use it in GitHub Desktop.
Google analytics tracking code snippet in functions.php WordPress #wordpress
This file contains hidden or 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