Skip to content

Commit

Permalink
Add an option to don't init Screeb Fix #1222
Browse files Browse the repository at this point in the history
  • Loading branch information
AmauriC committed May 17, 2024
1 parent 7605506 commit 2206478
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tarteaucitron.services.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ tarteaucitron.services.screeb = {

tarteaucitron.addScript('https://t.screeb.app/tag.js', '$screeb');

window.$screeb('init', tarteaucitron.user.screebId);
if (tarteaucitron.user.screebDontInit !== true) {
window.$screeb('init', tarteaucitron.user.screebId);
}
}
};

Expand Down
2 changes: 1 addition & 1 deletion tarteaucitron.services.min.js

Large diffs are not rendered by default.

0 comments on commit 2206478

Please sign in to comment.