This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



Marketing an iOS App, Android App or MS App within your WordPress site never got easier.  This plugin will allow you to put in your App IDs and automatically generate the proper meta tags to utilize Apple’s App Banner as specified here.

For older versions of iOS (prior to version 6.0) a jQuery alternative will pop up in similar fashion to the Apple one.  Android devices are supported with links to the Google Play Store. Windows devices are supported with links to the MS App Store.

This plugin utilizes the SmartBanner jQuery plugin 


  • Settings Screen
  • Apple App Banner
  • Android App Banner


  1. Activate the plugin through the Plugins menu in WordPress
  2. Go to ‘Settings->App Banners’ and enter in your:

* Apple App Store App ID (,
* Google Play App ID (
* For Microsoft Apps: msApplication-ID is found under Package name in your app manifest, and msApplication-PackageFamilyName is found under Package family name in your app manifest
* Author
* App Title
* Price


Why is the AppBanner not showing up?

First thing you should do is load the non minified version of the javascript file by editing line:46 of appBanners.php
Change this
wp_register_script( ‘app-banners-scripts’, plugins_url( ‘/lib/smartbanner/jquery.smartbanner.min.js’, FILE ), array( ‘jquery’ ), false, true );

To this
wp_register_script( ‘app-banners-scripts’, plugins_url( ‘/lib/smartbanner/jquery.smartbanner.js’, FILE ), array( ‘jquery’ ), false, true );

This will then output in the console logging as to why the App Banner is not showing for you.

I have an iOS device running the latest operating system and I can not see the app banner… What gives?

Well unfortunately this is not an issue with the AppBanners plugin. For all iOS devices after iOS 6 Apple introduces their own Smart Banner.
You can read about it here

We rely on the operating system to read the META tag which AppBanners plugin injects into your site to display the native iOS App Banner. There are so many variables as to when and why Apple shows the banner and sometimes does not.

Is there a way to track the number of clicks to the install/open button on the App Banners Plugin with Javascript?

Yes. There is a couple of ways. The most preferred way would be to simply add the following code to your theme’s scripts file or a place where you can add Javascript to your theme. The other option is to add directly to your functions.php file of your theme.

Javscript Version

jQuery(document).ready(function ($) {
$(‘body’).on(‘click’, ‘.sb-button’, function(){
ga(‘send’, {
‘hitType’: ‘event’, // Required.
‘eventCategory’: ‘App Banners’, // Required.
‘eventAction’: ‘click’, // Required.
‘eventLabel’: ‘Clicked App Banner’ //Optional

Functions.php Version

//Start App Banner Click Tracking

 function appbanners_track_clicks_js() {    ?>

       jQuery(document).ready(function ($) {
          $('body').on('click', '.sb-button', function(){
             ga('send', {
                'hitType': 'event',          // Required.
                'eventCategory': 'App Banners',   // Required.
                'eventAction': 'click',      // Required.
                'eventLabel': 'Clicked App Banner' //Optional

 //End App Banner Click Tracking


January 17, 2020
Took less than 5 min to install and configure. The only thing I needed to include aside from my store ids was the button text which was needed for Android. The button appears blank so I updated it to say “View” instead. Unless I am doing something wrong the Google Play banner button will not open the app if installed. It always takes you to the Google Play store in order for you to download or open which is not the worst thing in the word.
January 30, 2018
Exactly what I was looking for except the option to stick it to the bottom. But I guess that will be possible somehow.
September 3, 2016
hope you keep updating the plugin . it’s so easy
Read all 15 reviews

Contributors & Developers

“AppBanners” is open source software. The following people have contributed to this plugin.


Translate “AppBanners” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fixed issue with double smart banners appearing on some devices
  • Fixed issue with Gloss effect always showing even if it was set to false.


  • Added in the ability to input which selector the smartbanner pushes down from.
  • Updated to latest version of jQuery Smartbanner plugin
  • Tested with WordPress 4.5.2 to confirm working.


  • Added in the ability to input which selector the smartbanner gets appended to. Thanks to ericbow for submitting the patch. If no input selector is specified it will default to


  • Added in the ability to specify custom URL for button. If you do not want to specify a url, leave it blank and it will default to app store.


  • Added in checkbox to allow control over outputting META VIEWPORT tag on site.
  • Big shout out to e2.robert for taking the time to submitting the patch!


  • Reworked javascript set cookie function. As there was a bug if you set the app banner to always show.
  • Tested with WordPress 4.3


  • Completed redid the way I generate the javascript config file for plugin. Not utilizing wp_localize_script().
  • Updated to latest version of SmartBanners JS –
  • Added in extra functionality to detect Facebook and Twitter in iOS webview. Thanks so much to asadowski10 for the snippet!
  • Minified all JS and CSS files, but included unminified versions in case folks need to tweak.


  • Ensured that script files are properly injected into the footer by utilizing the 5th flag of wp_register_script(). Thanks e2robert! .


  • Sorry for so many errors, this should be last fix for the time being.


  • Forced JS output via php headers, thanks again Tim.


  • Wrapped app banners options in jQuery(document).ready() function.


  • Fixed dependency issue with last update. Move generated settings into a PHP file which is enqueued after jQuery is ready.


  • Fixed issue with injecting javascript into the header instead of the footer. Thanks Tim for the heads up on that.


  • Fixed issue with passing strings to Javascript instead of integers. Thanks @michael78au for the heads up.


  • Fixed issue with close button on Android
  • Fixed issue with if user set the banner to always show, it would still set a cookie
  • Updated code to only load tags for apps that have app ids filled in.


  • Updated to latest version of jQuery Smartbanner plugin
  • Added in support for Windows Devices
  • Various code clean up


  • Ensured compatibility with WP 4.0
  • Added in string escaping for fields to account for quotes and single quotes


  • Hotfix for Android App ID typo in version 1.2


  • Updated to WordPress 3.9
  • Added in additional options to setting panel


  • Added number of days to keep banner hidden after closing
  • Added number of days to keep banner hidden after clicking view button
  • Added ability to change text on button
  • Added in Settings link on Plugin Screen


  • Initial Release