Best Answer

Help to set up Site Search on Google Analytics

  • 5 October 2021
  • 6 replies
  • 44 views

Hello. I've set up the site search on our Google Analytics (old/UA) account a couple of days ago, but it's not working, we didn't get any results.

I doubled check with Docebo support that my set up was correct and they said that it was, but I think that it isn't, because after reading  Google documentation (https://support.google.com/analytics/answer/1012264#Post&zippy=%2Cin-this-article) I wonder if Docebo uses a POST-Based Search Engine, so in this case we shouldn't add a query parameter to our site search settings.

It seems that Docebo has to either configure the platform to append the query keywords to the end of the URL or Customize the tracking code !?

Can someone help with that?

 

icon

Best answer by alekwo 5 October 2021, 15:25

View original

6 replies

Userlevel 4

Hi @amussap this will not work, as Google Analytics can only analyze search terms that are included in the Query String (the part of the URL after the ? question mark).

In Docebo, search keywords are added as a part of the path, so they can not be picked up by Google.

As a workaround you can use the Content Grouping function to group your pages by the search term used:

Then, you will be able to see a summary of search terms in the Behavior / Site Content section after selecting the search Content Grouping

 

I know it’s not as robust as Site Search analysis, but so far I didn’t find any better solution to track what are the most used search terms.

Of course, ideally Docebo would add the keyword to the Query String, and then it will be possible to use Search analysis from Google.

@alekwo Thank you for the feedback. Let me try this workaround and I’ll reply back how it worked for me so it might be helpful to others as well.

And, yes, we, users, shouldn’t have to go through all this trouble.

Moreover, in this specific case, I’m really disappointed with Docebo support because I asked them in first place (I have a support ticket) and I was told that the configuration was as simple as adding the global-search string, so I’ve wasted a lot of time trying to figure out why this isn’t working.

Hi @alekwo 

I've opened a support ticket on Docebo, and I was told to configure my query parameter as /global-search/, global, search (see screenshot).

Five days have passed and I still don't see any results, but I can't guarantee that people were searching the site. 
So, I've decide to duplicate my view and I just created the Content Grouping as you've recommended. 


Now, I'm going to ask my team to intentionally perform some searches to ensure that there were searches in the site, and I'd like to ask you how long it usually takes for GA to pick up this configuration and start to show results.


If we perform searches today, will they appear in the content grouping results by tomorrow? Or we have to perform searches today and tomorrow to guarantee that GA will pick up these?


Thanks 
Andrea

Userlevel 4

 

If we perform searches today, will they appear in the content grouping results by tomorrow? Or we have to perform searches today and tomorrow to guarantee that GA will pick up these?

 

I think that Google Analytics is processing captured data overnight, so you should see the results on the following day.

I think that Google Analytics is processing captured data overnight, so you should see the results on the following day.

 

AAMOF, I can see the results already! That’s excellent. But one thing I don't get it how to know the number of time people searched for the term. If the (Behavior) Site Search report worked I'd get -

The searched term - total unique searches

but with the grouping, I just the get number of page views, e.g., I can see:

kubernetes = 4 Page views

Does this mean that people searched for kubernetes 4 times?

The amount of page views is the same of the amount of the searches for a term?

 

Thanks

Andrea

 

Userlevel 4

@amussap yes, when someone is performing search, they are opening the search results page, so yes, you can assume that the number of page views is an estimation of the number of times the specific term was searched for.

As said before, that’s a workaround for the limitations in the Docebo’s integration with Google Analytics, so it won’t provide you the same level of detail as the native search analysis from GA.

 

Note, that neither standard GA search analysis, nor this, will show you cases, when people enter the term and click on one of the four suggestions, instead of opening the search results page.

Reply