Created
February 28, 2019 18:53
-
-
Save wp-seopress/e9d806b724c488c598a463bb25a4a0cc to your computer and use it in GitHub Desktop.
Filter Google Analytics tracking
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
| function sp_gtag_html($html) { | |
| return "your custom Google Analytics tracking code"; | |
| } | |
| add_filter('seopress_gtag_html', 'sp_gtag_html'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment