Skip to content

Commit

Permalink
feat: Update contentUpdated analytics measuring point - MEED-8099 - M…
Browse files Browse the repository at this point in the history
…eeds-io/MIPs#162 (#1345)

Update contentUpdated analytics measuring point
  • Loading branch information
hakermi authored Feb 21, 2025
1 parent 09e88ca commit 8abf610
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private void createWikiPageStatistic(Page page,
}
statisticData.addParameter("contentId", page.getId());
statisticData.addParameter("contentTitle", title);
if (operation.equals(NOTE_VIEW_CONTENT_OPERATION)) {
if (operation.equals(NOTE_VIEW_CONTENT_OPERATION) || operation.equals(WIKI_UPDATE_PAGE_OPERATION)) {
statisticData.addParameter("contentLanguage", page.getLang());
}
statisticData.addParameter("contentCreator", page.getAuthor());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ analytics.field.label.contentId=Content: Content ID
analytics.field.label.contentType=Content: Type
analytics.field.label.contentAuthor=Content: Author
analytics.field.label.contentCreator=Content: Creator
analytics.field.label.contentLastModifier=Content: Last Modified Date
analytics.field.label.contentLastModifier=Content: Last Author
analytics.field.label.contentUpdatedDate=Content: Updated Date
analytics.field.label.contentCreationDate=Content: Creation date
analytics.snv.title=SNV in {0}
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default {
this.$root.$updateApplicationVisibility(this.canView);
},
pageId() {
if (this.pageId) {
if (this.pageId && Number.isNaN(Number(this.pageId))) {
this.viewNoteStatistics();
}
}
Expand Down

0 comments on commit 8abf610

Please sign in to comment.