When running Episerver CMS in the cloud, Episerver Find has become the de facto standard. Find is a highly scalable, multi-lingual, full-featured and easy to use solution that optimizes customer experience, built natively for Episerver.
Our new kick ass website should of course be available in China, the world’s biggest consumer market. Luckily Episerver let us create search indexes with support for different languages, including Chinese. Stemming will be handled correctly when searching for Chinese content. Perfect.
Find.js is Episerver Find's tracking script that stores statistical data about search queries submitted by site visitors, and the results that they clicked. The collected statistics can be analyzed, providing administrators with deeper insight into the search's efficiency.
The Great Wall of China is well known as one of the seven wonders of the world, the digital equivalent is The Great Firewall of China that protects the Chinese population against threats such as Facebook, Google, Instagram, YouTube and Episerver Find's tracking script.
Result from the China Firewall Test:
After understanding the problem, the solution is quite easy. The Great Firewall of China blocks the domain name dl.episerver.net so if we host the find.js file on our own domain, it will work like a charm.
Just download find.js, include it in your project, and specify the path in module.config like this:
<module> <clientResources> <add name="epi.find.trackingScript" path="Scripts/find.js" resourceType="Script"/> </clientResources> </module>
Unless the specified path starts with a slash (/), it refers to a file below /ClientResources/ like this:
P.S. Remember to update find.js when updating Episerver Find!