Bug 1418191 - not send the CTA telemetry event ping when instant complete;r=Fischer
MozReview-Commit-ID: 9KJazfZqviT
--- a/browser/extensions/onboarding/content/onboarding.js
+++ b/browser/extensions/onboarding/content/onboarding.js
@@ -815,22 +815,16 @@ class Onboarding {
event: "overlay-nav-click",
tour_id: tourId,
session_key: this._session_key,
});
// Some tours should complete instantly upon showing.
if (tab.getAttribute("data-instant-complete")) {
this.setToursCompleted([tourId]);
- // Also track auto-completed tour so we can filter data with the same event.
- telemetry({
- event: "overlay-cta-click",
- tour_id: tourId,
- session_key: this._session_key,
- });
}
} else {
tab.classList.remove("onboarding-active");
tab.setAttribute("aria-selected", false);
}
}
}