【问题标题】:Monitoring search terms in Plone在 Plone 中监控搜索词
【发布时间】:2014-03-14 20:57:55
【问题描述】:

我想更好地了解人们在使用我们的网站时搜索的内容。

只是好奇,在 Plone 4 中监控输入到搜索字段中的内容的最佳方法是什么?我看到了这个产品——http://plone.org/products/ifsearchmonitor——但它是一个旧的。有没有人将它与 Plone 4 一起使用或知道类似的东西?

【问题讨论】:

    标签: search plone


    【解决方案1】:

    好的,我不知道为什么我花了这么长时间才意识到这一点,但它已内置于 Google Analytics(分析)中。以下是说明:https://support.google.com/analytics/answer/1012264?hl=en

    而我用于 Plone 的搜索查询参数是:@@search、SearchableText、advanced_search

    【讨论】:

      【解决方案2】:

      使用 google analytic 的站点搜索不会跟踪使用 livesearch 的用户(无需按 Enter 并提交到 @@search 视图。

      对于 awstats,我使用这个额外的部分来跟踪两者:

      # updated version for plone 4.3
      # /livesearch_reply?q=testsuche
      # /@@search?SearchableText=testsuche
      # /@@updated_search?SearchableText=testsuche
      # livesearches shown as q=, normal searches with just the phrase
      ExtraSectionName1="Plone Suchabfragen"
      ExtraSectionCodeFilter1="200 304"
      ExtraSectionCondition1="URL,\/@@search||URL,\/search||URL,\/@@updated_search||URL,\/livesearch_reply"
      ExtraSectionFirstColumnTitle1="Search:"
      #ExtraSectionFirstColumnValues1="QUERY_STRING,SearchableText=([^&]+)||QUERY_STRING,q=([^&]+)"
      ExtraSectionFirstColumnValues1="QUERY_STRING,SearchableText=([^&]+)||QUERY_STRING,(q=[^&]+)"
      ExtraSectionFirstColumnFormat1="%s"
      ExtraSectionStatTypes1=PL
      ExtraSectionAddAverageRow1=0
      ExtraSectionAddSumRow1=1
      MaxNbOfExtra1=100
      MinHitExtra1=1
      

      如果你想在谷歌分析中跟踪实时搜索,你需要使用事件跟踪:https://developers.google.com/analytics/devguides/collection/analyticsjs/events

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2010-09-09
        • 1970-01-01
        • 2018-01-08
        • 2011-08-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多