我做了一个自定义的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&search_text={searchTerms}&Submit=Search&search_hcpcs_level2_codes=on&search_hcpcs_level2_modifiers=on"/>
<InputEncoding>UTF-8</InputEncoding>
<AdultContent>false</AdultContent>
</OpenSearchDescription>发布于 2010-02-02 13:42:09
您可以不添加一个不会影响行为但可以在分析日志时使用的虚拟查询参数吗?例如:
<Url type="text/html" method="GET" template="https://drchrono.com/billing/medical_codes/?code_type=icd9_procedures&search_text={searchTerms}&Submit=Search&search_hcpcs_level2_codes=on&search_hcpcs_level2_modifiers=on&source=firefox_se"/>发布于 2010-02-05 21:29:07
您需要的是所谓的活动标记。您可以将特殊参数附加到URL,这些参数将被在您的网站上运行的Google Analytics脚本识别,并在GA的流量来源/活动报告中收集。有一个在线URL builder tool by Google可帮助您创建活动标签。
https://stackoverflow.com/questions/2182060
复制相似问题