【问题标题】:Google analytics site search not showing search term results谷歌分析网站搜索不显示搜索词结果
【发布时间】:2020-10-15 22:01:58
【问题描述】:

我一直在尝试在谷歌分析中为我的网站启用网站搜索,但我不确定我做错了什么。下面的代码是我的搜索栏,我使用的是 GET 方法,因此搜索后我的 url 将类似于 www.test.com/search_results.php?q=apple

我使用的查询参数是“q”。如果我去谷歌分析下的搜索词页面,没有一个结果或搜索词。

<section class="search-bar">
   <div class="search-container">
      <form action="search_results.php" method="GET">
         <input type="text" placeholder="Enter product name" name="q">
         <button type="submit" value="submit">Search</button>
      </form>
   </div>
</section>

【问题讨论】:

    标签: html forms google-analytics


    【解决方案1】:

    如果命中被发送到分析,并且您没有任何过滤器可以阻止视图中的命中,则谷歌分析中的配置是正确的,所以请尝试明天再检查报告。

    【讨论】:

      猜你喜欢
      • 2012-07-12
      • 2022-08-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多