Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google analytics 动态URL的分析实验_Google Analytics_Ab Testing_Google Experiments_Abtest - Fatal编程技术网

Google analytics 动态URL的分析实验

Google analytics 动态URL的分析实验,google-analytics,ab-testing,google-experiments,abtest,Google Analytics,Ab Testing,Google Experiments,Abtest,我有很多这样的产品页面: www.example.com/catalog001/item123 www.example.com/catalog002/item321 www.example.com/catalog002/item567 每个目录和产品(项目)都有自己的数字标识 产品页面是相似的。只是不同的产品形象,价格,标题 我尝试在分析实验中使用正则表达式设置原始url模式: www.example.com/catalog(\d+)?/item(\d+)? 有什么方法可以设置原始url模式

我有很多这样的产品页面:

www.example.com/catalog001/item123
www.example.com/catalog002/item321
www.example.com/catalog002/item567
每个目录和产品(项目)都有自己的数字标识

产品页面是相似的。只是不同的产品形象,价格,标题

我尝试在分析实验中使用正则表达式设置原始url模式:

www.example.com/catalog(\d+)?/item(\d+)?

有什么方法可以设置原始url模式吗?

我不太清楚你在问什么。听起来您想测试许多不同的产品页面,而不需要设置许多不同的实验,大概是测试两个不同的产品页面布局

如果是这样的话,您可以在实验接口中使用相对URL,那么就不需要正则表达式。为一个产品页面创建一个实验,为变体选择相对url,输入触发变体页面的查询字符串(?foo=bar)或片段标识符(#foo=bar),向所有原始页面添加实验代码,测试将针对所有产品页面启用,而不仅仅是针对您在界面中输入的一个url

如果你是在追求别的东西,我建议你重新解释这个问题来解释实际问题,而不是试图解决它