We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc112d commit 81da6bbCopy full SHA for 81da6bb
src/Plugin.php
@@ -85,7 +85,7 @@ protected function addScripts(bool $collect): void
85
86
if ($collect) {
87
$scripts->add(new AnalyticsScript);
88
- } else {
+ } elseif (is_user_logged_in()) {
89
$scripts->add(new InactiveScript);
90
}
91
0 commit comments