When a user visits your site from a search engine most of the times, Google Analytics recognizes it and classifies it as Organic Search in the Traffic Reports. But if the search engine has not yet been added to the official search engine list, the traffic will be classified as Referral instead.
For example, in the referrals report below, you can see that the search engine duckduckgo and google.fr has been wrongly classified.
To redirect Duckduckgo as an organic search channel a filter needs to be applied instead. Read about it at the end of this article.
Note: These changes are made at a property level, so they will be applied to all views.
Add Search Engines to Google Analytics
Log in Google analytics: http://www.google.com/analytics
Click on “Admin”:
From the “Property” column, click on “Tracking Info” and then “Organic Search Sources”:
Click on “Add Search Engine”:
And fill the data for the search engine:
- Name of the search engine: Google FR
- Domain name: the address of the search engine: google.fr
- Query Parameter: You need to identify which query parameter the search engine uses
And you are done! Repeat for every search engine you see on the Referral list.
Redirect Duckduckgo as Organic Search
The method shown above for google.fr search engine does not work for duckduckgo.com.
Another issue with Duckduckgo is that, depending on which browser your visitors are using, Duckduckgo’s traffic will be classified either as Direct or Referral.
When the traffic is classified as Direct, we can’t do anything, but when the traffic is classified as Referral, we can redirect the traffic to Organic Search by using an advance filter.
Remember: Test all your filters on your test view first!!
Here is how you do it: Go to your Admin Panel and select the view you want to apply the filter to and click on filters:
- Select a name for the filter
- Add regex expression to the campaign source: (http://)?(([^.]+).)?duckduckgo.com
- and tick the boxes as shown in the picture below:
and you will see in the real time reports that they are being correctly filtered:
Some additional considerations
- The domain name is case sensitive, so if the search engine uses Duckduckgo.com as well as duckduckgo.com, you need to add both
- If the search engine uses more that one query parameter (p and q for example), you need to add both separately
- Google Analytics evaluates the list in the order it is stored. So, if you add duckduckgo.com first and images.duckduckgo.com after, Google analytics will first match the source with duckduckgo.com and as it partially matches, it will associate the visit to duckduckgo even if the search was done using images.duckduckgo.com. Choose the order carefully.