Skip to content

Commit

Permalink
event22 and event20 in case if first page get channel direct
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole Emer committed Jan 16, 2024
1 parent d255443 commit f3b4c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/doPlugins_global.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,10 @@ s._articleViewTypeObj = {

if (this.isFromHome(referrer) && this.isNavigated() && !this.isSelfRedirect() && !this.isFromOnsiteSearch() && !this.isFromLesenSieAuch()) {
pageViewEvent = 'event22,event200'; //Home
channel = pageNumberOne ? 'Home' : '';
channel = pageNumberOne ? 'Direct' : '';
} else {
pageViewEvent = 'event23,event201'; //Other Internal
channel = pageNumberOne ? 'Other Internal' : '';
channel = pageNumberOne ? 'Direct' : '';
}
return {pageViewEvent, channel};
},
Expand Down

0 comments on commit f3b4c3e

Please sign in to comment.