Created
February 28, 2019 18:46
-
-
Save wp-seopress/5515d6d44e6eb6bc145d2b26ee72adc1 to your computer and use it in GitHub Desktop.
Filter Google Analytics Cross-domain tracking feature
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_linker($html) { | |
| return "'linker': {'domains': ['https://www.example.com/']},"; | |
| } | |
| add_filter('seopress_gtag_linker', 'sp_gtag_linker'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment