使用自定义查询字符串参数值设置Campaign Source [英] Set the Campaign Source by using a custom querystring parameter value
问题描述
比方说,我有一个合作伙伴为我们的网站提供流量,并通过传递伙伴查询字符串参数和他们的名称作为该参数的值来识别合作伙伴。
我试图使用高级视图过滤器设置广告系列来源。
我的配置目前是:
字段A - >提取A:请求URI =合作伙伴=([^&] *)
字段B - >提取B: -
输出至 - >构造函数:Campaign Source = $ A1
字段A必填=是
字段B必填=否
覆盖输出字段=是
区分大小写=否
一个网址例子是:
http://www.mydomain.com/?partner=someone
此配置根本不设置广告系列来源。任何人都可以指向正确的方向吗?
我认为您必须用三个后续过滤器覆盖源,媒体和广告系列名称(我认为这是一个原因),使用utm参数,这些是三个必需的参数,我假设使用过滤器它将以同样的方式工作,并且b)我只是测试了它并且它工作正常)。
Lets say I have a partner that provides traffic to our website and that partner is identified by passing a partner querystring parameter with their name as the value of that parameter.
I'm trying to use an advanced view filter to set the Campaign Source.
My configuration currently is:
Field A -> Extract A : Request URI = partner=([^&]*)
Field B -> Extract B : -
Output To -> Constructor : Campaign Source = $A1
Field A Required = Yes
Field B Required = No
Override Output Field = Yes
Case Sensitive = No
An example url would be:
http://www.mydomain.com/?partner=someone
This configuration isn't setting the Campaign Source at all. Can anyone point me in the right direction?
I think you have to override source,medium and campaign name with three subsequent filters (the reason I think that is a) that with utm parameters these are the three mandatory ones and I assumed with filters it would work the same way and b) I just tested this and it worked).
这篇关于使用自定义查询字符串参数值设置Campaign Source的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!