Skip to content

Commit

Permalink
fix umami metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz committed Nov 25, 2024
1 parent 88eeb5c commit 27be5d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions assets/src/js/app/embed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import message from './message';
import initAsyncView from '../../lib/asyncView';

if (window._umami) {
(await import('../../lib/umami')).init(window, Object.assign(window._umami, {
tag: 'embed',
}));
(await import('../../lib/umami')).init(window, window._umami);
}

function setHeight() {
Expand Down

0 comments on commit 27be5d9

Please sign in to comment.