使用谷歌分析跟踪自定义firefox搜索引擎

时间:2010-02-02 05:28:29

标签: google-analytics opensearch

我制作了一个自定义的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>

2 个答案:

答案 0 :(得分:1)

您是否可以添加不影响行为的虚拟查询参数,但可以在分析日志时使用? E.g:

<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"/>

答案 1 :(得分:0)

您需要的是广告系列标记。您可以在网址上附加特殊参数,这些参数将由您网站上运行的Google Analytics脚本识别,并在GA的流量来源/广告系列报告中收集。有一个在线URL builder tool by Google可帮助您制作广告系列代码。