site-kit-wp icon indicating copy to clipboard operation
site-kit-wp copied to clipboard

Consider HTTP/HTTPS when comparing site URL with Analytics/AdSense URLs

Open bjackson27 opened this issue 7 years ago • 0 comments

If you have an existing Analytics property that matches your site URL, except for the scheme (HTTP vs HTTPS), it currently isn't detected as a match, although it should. The same should apply to AdSense, and any other module where such detection takes place.

The permute_site_urls() method used by Search Console is the perfect foundation to achieve that. Let's make sure the other modules use it as well, to fix this bug.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Changelog entry

  • Fix URL matches for http and https variations in Analytics and AdSense modules.

Acceptance criteria

bjackson27 avatar Jun 25 '19 22:06 bjackson27