0

我制作了一个自定义的 Firefox 搜索引擎。它使用了下面的代码。我是否可以在网站上跟踪它的使用情况。我担心的是,来自 Firefox 搜索引擎的搜索看起来像是在谷歌分析中的直接访问。我想标记搜索或其他解决方案。我有点破解了这个,即一个新手。

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>ICD9 Code Search</ShortName>
<Description>Search ICD9 Code Search</Description>
<Tags>schadenfreude</Tags>
<Image height="16" width="16" type="image/x-icon">https://drchrono.com/favicon.ico</Image>
<Url type="text/html" method="GET" template="https://drchrono.com/billing/medical_codes/?code_type=icd9_procedures&amp;search_text={searchTerms}&amp;Submit=Search&amp;search_hcpcs_level2_codes=on&amp;search_hcpcs_level2_modifiers=on"/>
<InputEncoding>UTF-8</InputEncoding>
<AdultContent>false</AdultContent>
</OpenSearchDescription>
4

2 回答 2

1

能否不添加一个不影响行为但可以在分析日志时使用的虚拟查询参数?例如:

<Url type="text/html" method="GET" template="https://drchrono.com/billing/medical_codes/?code_type=icd9_procedures&amp;search_text={searchTerms}&amp;Submit=Search&amp;search_hcpcs_level2_codes=on&amp;search_hcpcs_level2_modifiers=on&amp;source=firefox_se"/>
于 2010-02-02T05:42:09.273 回答
0

您需要的称为广告系列标记。您可以将特殊参数附加到 URL,这些参数将被您网站上运行的 Google Analytics(分析)脚本识别并在 GA 的流量来源/广告系列报告中收集。Google 提供了一个在线URL 构建器工具,可帮助您创建广告系列标签。

于 2010-02-05T13:29:07.480 回答