[Bug] Prefixed domain set as internal link type
-
Hi
We have two domains example.com and myexample.com. We are running the plugin on example.com with links in the content to myexample.com. The links to myexample.com are not being counted as external links.
The reason is
hostname.endsWith( currentdomain )
in the JavaScript code. This code returns true'myexample.com'.endsWith('example.com')
.The code can be found here: https://github.com/awesomemotive/google-analytics-for-wordpress/blob/master/assets/js/frontend.js#L177
It might be better to do
hostname === currentdomain
.Thanks!
Ulrich
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Bug] Prefixed domain set as internal link type’ is closed to new replies.