зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1739997
- lint fix r=fix
This commit is contained in:
Родитель
5a9f058649
Коммит
9054eef246
|
@ -1490,17 +1490,19 @@ AboutReader.prototype = {
|
|||
);
|
||||
|
||||
// Set up tracking for sign up buttons
|
||||
this._doc.querySelectorAll(`.pocket-sign-up, .pocket-discover-more`).forEach(el => {
|
||||
el.addEventListener(`click`, e => {
|
||||
Services.telemetry.recordEvent(
|
||||
"readermode",
|
||||
"pocket_cta",
|
||||
"sign_up_click",
|
||||
null,
|
||||
{}
|
||||
);
|
||||
this._doc
|
||||
.querySelectorAll(`.pocket-sign-up, .pocket-discover-more`)
|
||||
.forEach(el => {
|
||||
el.addEventListener(`click`, e => {
|
||||
Services.telemetry.recordEvent(
|
||||
"readermode",
|
||||
"pocket_cta",
|
||||
"sign_up_click",
|
||||
null,
|
||||
{}
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// Set up tracking for user seeing CTA
|
||||
this._ctaIntersectionObserver.observe(
|
||||
|
|
Загрузка…
Ссылка в новой задаче