Customising the SEO list for Google Analytics

What this Plugin does

Aimed at digital marketers running SEO accounts where regional differences are important. For example, Americas, Europe, Middle East, Asia, Australia. This JavaScript plugin, written by Brian Clifton, separates out 264 regional search engines – for example,,, etc. – instead of just “google” as reported in GA by default. Read the blog post.

Also try this with the Auto-Tracking File Downloads & Outbound Links plugin.


Easy Install
  1. Purchase the plugin to receive the JavaScript file (from £48)
  2. Upload the .js file into your website root directory (used in this example) or other suitable place
  3. Modify all your web pages (once only change) to reference the .js file above your Google Analytics Tracking Code. Then add the complete line shown below that contains the “//set custom search engines” comment. This must be placed on the line above your _trackPageview call
  4. That’s it… Or perhaps you thought there was more!

Example GATC – just two lines to add (#1 and #6):
<script src="/custom_se-async.js" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-12345-N’]);

addCustomOrganic(_gaq); // set custom search engines

(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
Allow at least 4 hours for your new search engines to be reported in your GA account. To view these, log into your Google Analytics account, select the Search Engines report and view the enhanced detail – as per below:


By subscribing to this hack you will be notified when the list of detected search engines is updated. Then all you need to do is replace your .js file with the new one. No page or GATC changes required.

As always, I appreciate feedback. Also, feel free to suggest new search engines to be added to the list. Also, check out the Auto-Tracking File Downloads & Outbound Links plugin.

Share Button

Comments (most recent first)

  1. Thanks for the tip-off, Brian.

    I wasn’t aware of this plugin until now.

    It’s a mystery why that kind of information isn’t already available to us in GA by default, but there’s probably a reason for it. Sadly, as time goes on, we’re getting less and less info available to us in Google Analytics.

  2. Glen Wilson says:

    ah….awesome….that is easy enough to do. And thanks by the way for getting back to me so quickly, man, you are on the ball. Love seeing a webmaster that gets back to his followers. I will definitely sub to your rss feed. Thanks again.

  3. Glen Wilson says:

    Is this available for wordpress sites? Is there a plugin available that will do this instead of doing it manually?

    Would be great to use this across my sites and my clients sites

  4. seems to be supported. I’ll give it a try right now !

  5. @Brian – I’ll post a list later today.

    If a client is running multiple domains on one server, am i correct in thinking we need the multi-site licence

    • @Charles: Licensing is based on the number of domains. It does not depend on sub-domains and does not matter if different servers. So and are one license, but and require a multi-license.

  6. Can you let me know how often the plugin is updated. We’re looking to roll it out onto one of our clients sites and it’s a question they had.

    Can you also let me know if the plugin detects traffic from people who are using search engines on sites such as Tesco, Orange, Virgin Media etc

  7. Robert/Nick: Thanks for feedback. I would be interested to hear of any benefits to your SEO campaigns once this is implemented.

  8. Nick Hu says:

    I haven’t noticed the difference between the sources details of search engine organic and referral before your sharing, thanks.

  9. Thanks Brian for a great tip, even non-developers like me should be able to pull this off:)This is really important for a multi-international site when it comes to SEO.

Leave a Reply

Your email address will not be published. Required fields are marked *

Anti-spam question (required):

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Buy the Book

Amazon E-book only

Looking for Successful Analytics?

Launched January 2015, the latest book is Successful Analytics. Its a manager's guide to gettings things done right, understanding the process and getting results.

Take a look


© Brian Clifton 2020
Best practice privacy statement