Skip to content

Commit

Permalink
feat(countly): remove performance plugin (#18101)
Browse files Browse the repository at this point in the history
  • Loading branch information
aweiss-dev authored Sep 30, 2024
1 parent e633303 commit 3ed6d18
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/page/auth.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
<script src="../min/basicBrowserFeatureCheck.js?v=<%= VERSION %>"></script>
<script src="../min/checkBrowser.js?v=<%= VERSION %>"></script>

<script src='../libs/countly/boomerang.min.js?v=<%= VERSION %>' type='text/javascript'></script>
<script src='../libs/countly/countly.min.js?v=<%= VERSION %>' type='text/javascript'></script>
<script src='../min/countlyBoomerangCustom.js?v=<%= VERSION %>' type='text/javascript'></script>
<script type='text/javascript' nonce="<%= COUNTLY_NONCE %>">
var Countly = Countly || {};
Countly.q = Countly.q || [];
Expand All @@ -39,7 +37,6 @@
Countly.q.push(['track_sessions']);
Countly.q.push(['track_pageview']);
Countly.q.push(['track_performance']);
Countly.init();
</script>
Expand Down
3 changes: 0 additions & 3 deletions src/page/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
<script src="./min/basicBrowserFeatureCheck.js?v=<%= VERSION %>"></script>
<script src="./min/checkBrowser.js?v=<%= VERSION %>"></script>

<script src='./libs/countly/boomerang.min.js?v=<%= VERSION %>' type='text/javascript'></script>
<script src='./libs/countly/countly.min.js?v=<%= VERSION %>' type='text/javascript'></script>
<script src='./min/countlyBoomerangCustom.js?v=<%= VERSION %>' type='text/javascript'></script>
<script type='text/javascript' nonce="<%= COUNTLY_NONCE %>">
var Countly = Countly || {};
Countly.q = Countly.q || [];
Expand All @@ -39,7 +37,6 @@
Countly.q.push(['track_sessions']);
Countly.q.push(['track_pageview']);
Countly.q.push(['track_performance']);
Countly.init();
</script>
Expand Down
2 changes: 0 additions & 2 deletions src/script/tracking/EventTrackingRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,6 @@ export class EventTrackingRepository {

if (this.isProductReportingActivated === true || getForcedErrorReportingStatus()) {
window.Countly.q.push(['begin_session']);
// enable APM
window.Countly.q.push(['track_performance']);
if (this.sendAppOpenEvent) {
this.sendAppOpenEvent = false;
this.trackProductReportingEvent(EventName.APP_OPEN);
Expand Down

0 comments on commit 3ed6d18

Please sign in to comment.