Skip to content

Commit

Permalink
Merge pull request #201 from spring-media/TRAC_1906_part8_no_entry
Browse files Browse the repository at this point in the history
event22 and event20 in case if first page get channel direct
  • Loading branch information
nickyanalytics authored Jan 16, 2024
2 parents d255443 + f3b4c3e commit ef09687
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 ef09687

Please sign in to comment.