diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 91bfd08597c8f..8ba6b0a42b3b5 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -11,7 +11,9 @@
+ getiTunesAppId() !== '') { ?>
+
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index 9de3169491839..bbfa264d17172 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -10,7 +10,9 @@
+ getiTunesAppId() !== '') { ?>
+
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 1dfdf63e40b51..7712992c9bf86 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -10,7 +10,9 @@
+ getiTunesAppId() !== '') { ?>
+