Created
October 10, 2012 05:33
-
-
Save anandkumar/3863350 to your computer and use it in GitHub Desktop.
Google Tag Manager on Genesis
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
/** | |
* Add Add Google Tag Manager script on Genesis Framework | |
* | |
* @author Anand Kumar | |
* @link http://www.blogsynthesis.com/add-google-tag-manager-to-wordpress/#genesis-framework | |
* | |
*/ | |
add_action('genesis_before', 'google_tag_manager'); | |
function google_tag_manager() { ?> | |
<!-- Google Tag Manager --> | |
PASTE GOOGLE CODE MANAGER CODE HERE | |
<!-- End Google Tag Manager --> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment