Visitor Analytics
Skip to main content

使用URL模式进行页面定位

TL;DR

使用带有URL模式的页面定位,您可以在一组具有共同元素的页面上激活访客分析功能,如包含相同的单词,具有相同的路径等。访客分析为您提供5种定义URL模式的方法。简单匹配精确匹配开始于、结束于包含

 

什么是用URL模式进行页面定位?

使用URL模式可以让您在网站的特定页面上激活一些功能。对于访客分析,URL模式可用于定义一组页面,用于生成热图,以及定义转换漏斗中的一个步骤。

 

如何定义一个新的URL模式?

如果你想指定一个URL模式来针对更多的页面,你有多种选择。 首先,点击下拉菜单 "选择URL匹配类型"。将出现以下选项。

  1. 简单匹配:这种定位模式包括页面URL的所有元素。包括任何片段或查询字符串、协议或添加的 "www"。
  2. 完全匹配:只针对一个特定的URL及其协议。该URL也可以包含一个片段或查询字符串。
  3. 开始于。只针对以您输入的值开始的URL。
  4. 结尾。只针对以你输入的值结尾的URL。
  5. 包含。只针对包含你输入的值的URL。

 

例子

 

简单匹配

如果你的用户URL的 路径与目标页面的URL路径相同,那么匹配将是正确的。

简单匹配:

www.yourwebsite.com/products/

正确的匹配。

  • http:// www.yourwebsite.com/products/?q=lp-EOkA
  • http:// www.yourwebsite.com/products/
  • http: // www.yourwebsite.com/PRODUCTS

不正确的匹配。

  • http:// yourwebsite.com/products/firstproduct
  • http:// yourwebsite.com/products/categories
  • http:// yourwebsite.com/products/favorites

 

完全匹配

如果您的用户URL与目标页面的URL完全相同,那么匹配将是正确的。

完全匹配:http://www.yourwebsite.com/products/firstproduct/?shlY

正确的匹配

  • http:// www.yourwebsite.com/products/firstproduct/?shlY

不正确的匹配。

  • http:// www.yourwebsite.com/products/
  • http:// www.yourwebsite.com/products/firstproduct/?dhlYjy25
  • http:// www.yourwebsite.com/products/firstproduct/details

 

开头是

如果你的用户URL的开头与你指定的完全一致,那么匹配将是正确的。

开始于:http:// www.yourwebsite.com/products/

正确的匹配

  • http:// www.yourwebsite.com/products/categories/firstcategory/firstproduct/details
  • http:// www.yourwebsite.com/products/
  • http:// www.yourwebsite.com/products/y=4gf5

不正确的匹配。

  • http:// www.yourwebsite.com/homepage/
  • https:// www.yourwebsite.com/products/
  • http:// yourwebsite.com/products/

 

结束于

如果你的用户URL的结尾与你指定的完全一致,那么匹配将是正确的。

结束于:products/

正确的匹配

  • http:// www.yourwebsite.com/products/
  • http:// www.yourwebsite.com/homepage/products/
  • https:// www.yourwebsite.com/products/

不正确的匹配

  • http:// www.yourwebsite.com/products/categories/
  • https:// www.yourwebsite.com/products/firstproduct
  • https:// www.yourwebsite.com/products/categories/favorites/

 

包含的内容

如果您的用户URL包含您指定的文本,那么匹配将是正确的。

包含:产品

正确的匹配

  • http:// www.yourwebsite.com/homepage/products/
  • http:// www.yourwebsite.com/products/
  • http:// www.yourwebsite.com/products/categories/favorites

不正确的匹配

  • http:// www.yourwebsite.com/homepage
  • http:// www.yourwebsite.com/contact
  • http:// www.yourwebsite.com/features