如何在 SDL tridion 网站中实施 Google Analytics? [英] How to Implement Google Analytics in SDL tridion web sites?

查看:24
本文介绍了如何在 SDL tridion 网站中实施 Google Analytics?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的选择:

  1. 在页面模板或 CT 中包含分析代码.

  1. include the analytics code in page templates or CTs.

创建一个包含分析代码的组件并在页面的 Comonent 呈现中呈现它.

create a component contains the analytic code and render it in Comonent presentation of the page.

哪个可能更好,或者请提出任何其他出路.

which could be better or please suggest any other way out.

推荐答案

第一种方法通常更可取,因为它允许您在对 Google Analytics 的调用中包含有关组件或页面的信息.而且您甚至可能不必自己编写它,因为有一个名为 Web Analytics Enabler 的免费扩展程序,可在 此处.我建议您先检查一下.

The first approach is normally preferable, since it allows you to include information about a component or page in your call to Google Analytics. And you may not even have to write it yourself, since there is a free extension called the Web Analytics Enabler, which is available here. I recommend that you check that out first.

这篇关于如何在 SDL tridion 网站中实施 Google Analytics?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆