默认情况下,Ember CLI会将分析信​​息发送给谁? [英] Ember CLI sends analytics information by default to who?

查看:121
本文介绍了默认情况下,Ember CLI会将分析信​​息发送给谁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是.ember-cli文件。

This is the .ember-cli file.

{
  /**
    Ember CLI sends analytics information by default. The data is completely
    anonymous, but there are times when you might want to disable this behavior.

    Setting `disableAnalytics` to true will prevent any data from being sent.
  */
  "disableAnalytics": false
}

谁Ember CLI默认情况下会发送分析?

Who does Ember CLI send analytics to by default?

推荐答案

我们可以在我们的工具中跟踪任何东西,开源?

Isn't it amazing that we can track anything in our tools when it has open sources? Let's track together.

问题一般是什么?

The question: what is it in general?

答案:分析工具是韭菜,这是针对 GA跟踪制作的。显然,它需要一个跟踪代码,所以我们可以看到在哪里填充。代码是此处

The answer: the analytic tool is leek, which is made for GA tracking. Obviously it requires a tracking code, so we can see where it is populated. The very code is here.

问题:跟踪什么?

答案:我不知道每个跟踪库,但是我们可以在repo中找到有用的东西。有3个跟踪命令 - trackEvent trackError track 。后来我再发现一个 - trackTiming

The answer: I don't know every tracking library, but we can find something useful in a repo. There are 3 tracking commands - trackEvent, trackError, and track. Later I found one more - trackTiming.

我们来使用本机Github搜索,以了解如何在ember-cli项目中使用。没有任何 .trackEvent ; .trackError - 发送错误消息。但是一般的 .track 更频繁使用 - 我不得不在搜索中使用限制参数。所以最后的事件列表 - 添加/更改文件,构建/重建时间,实时重新加载事件以及某些这里不太明显

Let's use native Github search in order to know, how it is used in ember-cli project. Nothing for .trackEvent; the only positive relevant for .trackError - sending an error message. But a general .track is used more frequent - I had to use a limiting parameter in the search. So the final list of events - addition/changing of file, building/rebuilding time, live reloading event, and something not obvious here.

问题:我刚刚询问谁是收件人,您为什么不能直接回答?

The question: I just asked who is a recipient, why can't you answer directly?

答案:现在我们知道,这里的主要玩家是韭菜,所以让我们来看看吧。图书馆很小,所以我们甚至可以强制执行。主文件是唯一重要的方法,我们可以轻松查看网址的来源。该模块位于同一个文件夹中,不幸的是我们的旅程结束了这里

The answer: now we know, that the main player here is leek, so let's go through it. The library is very small, hence we could even bruteforce it. The main file has the only important method, where we can easily see the source of url. The module is in the same folder, and unfortunately our journey ends here.

这篇关于默认情况下,Ember CLI会将分析信​​息发送给谁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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