Skip to content

Commit

Permalink
change in page call
Browse files Browse the repository at this point in the history
  • Loading branch information
prabrishac committed Nov 19, 2020
1 parent 84d19f6 commit b43289a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/Amplitude/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class Amplitude {

// all pages
if (this.trackAllPages) {
const event = name ? `Viewed page ${name}` : 'Loaded a page';
const event = category? `Viewed page ${category}`: name ? `Viewed page ${name}` : 'Loaded a page';
amplitude.getInstance().logEvent(event, properties, callback_function);
}

Expand Down

0 comments on commit b43289a

Please sign in to comment.