Why is Analytics showing external domains under internal searches?
Answer
External domains can appear under internal searches in Analytics when your site is a Single Page Application (SPA). In this case, pages do not reload between navigations, so the referrer is not updated and may remain an external source instead of the internal page.
Symptoms
- External domains (e.g., google.com) appear in internal search reports
- Internal searches are attributed to external referrers instead of on-site pages
- Referrer data does not reflect actual on-site navigation
Cause(s)
This can happen if the site where Siteimprove is tracking the internal search term is a Single Page Application (SPA). In that case, the pages do not reload when navigation from page to page, therefore it does not reload the script and update the referrer, thus showing the initial page's referrer (the external domain), and not the internal page that lead to the search result page.
Analytics internal search uses the referring page to determine where the user performed the search. So, if I go to example.com and perform a search for “hotdogs”, I would normally be lead to a page like e.g. example.com/search?q=hotdogs with example.com being the referring page.
If example.com is a SPA and I search on Google and then click a link to go to example.com then by default the referrer will be google.com. If I then perform a search for “more hotdogs” which leads me to the result page example.com/search?q=more+hotdogs, because this is a SPA, no new page load takes place, which means no new referrer is determined, thus the referrer is still google.com - and that’s what we will show in the platform.

Resolution
Yes, it is possible to get the referrer in situations like this by configuring the code to reload the page each time the URL changes and thereby updating the referrer.
This article on Siteimprove Analytics Custom Visit Tracking explains how this can be done.
If you have any questions, please contact the Siteimprove Technical Support team with your request.
What to Do Next
- Confirm whether your site is a Single Page Application (SPA)
- Review how referrers are captured in your Analytics setup
- Configure tracking to update referrers on URL change
- Contact support if you need help implementing custom tracking
Did you find it helpful? Yes No
Send feedback