Announcement

Collapse
No announcement yet.

VB 5 not passing site search data to Google Analytics

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VB 5 not passing site search data to Google Analytics

    For our main forum: www.hobbysquawk.com , We have the Google Analytics code successfully installed on our forum and GA is tracking basic visitor info like location, time on site, etc. However, GA is not tracking any site searches on our website. In GA, when you go to Behavior > Site Search > Overview, you will see all the terms that people are searching for on your website. Basically GA just looks for the search?q= string and logs those values. For some reason VB isn't passing any of the site search data to GA.

    Does anyone know how to correct this?
    Admin for hobbysquawk.com
    VB 5.5.4.1
    PHP 7.3.10
    Maria DB 10.2.27

  • #2
    Disregard, I found out that site search wasnt enabled in Google Analytics. If anyone else is having this issue make sure you enable site search in GA by going to Admin > . View > View Settings > Enable Site Search Tracking. I'm not 100% sure what the Query parameters should be, I think it is just "q" or "search", you will need to experiment.
    Admin for hobbysquawk.com
    VB 5.5.4.1
    PHP 7.3.10
    Maria DB 10.2.27

    Comment


    • #3
      Search pages are transient and only last an hour in the vBulletin system. They should not be indexed in Google.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API - Full / Mobile
      Vote for your favorite feature requests and the bugs you want to see fixed.

      Comment


      • #4
        My post was referring to Google Analytics, not Google search. If you want to know what search phrases people are searching for on your forum, you need to use a tool like Google Analytics.
        Admin for hobbysquawk.com
        VB 5.5.4.1
        PHP 7.3.10
        Maria DB 10.2.27

        Comment


        • #5
          Originally posted by mark.hs View Post
          I'm not 100% sure what the Query parameters should be, I think it is just "q" or "search", you will need to experiment.
          Thanks for sharing mark.hs. It's just "q" without the quotes.

          GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X