• Home
  • Pugpig Bolt
  • URLs, Domains and Linking

The Pugpig smart banner

Written by Benji Weiser

Updated at October 30th, 2023

  • Pugpig Bolt
    Bolt apps Content and Workflows Bolt CMS Pugpig Distribution Service URLs, Domains and Linking Bolt Search Authentication and Subscriptions Bolt Analytics Push notifications Bolt Release Notes Debugging Advertising App stores Consent management
  • Pugpig Site
    Site Search URLs, Domains and Linking Content Management System Analytics SEO Advertising Consent Management Platform Site Release Notes Debugging Authentication and Subscriptions
  • Pugpig Archive
  • Working with Pugpig
    Pugpig Support Releasing new versions Pugpig Packs & Agreements Pugpig Policies
  • Pugpig Consulting
+ More

The Pugpig Smart Banner

The Pugpig Smart Banner is a standalone script that provides functionality to users on a single article page, before they enter the native or web apps. It is a single Javascript file. It allows us to show headers and footers to upsell on the standalone article pages, or to redirect the users to the most appropriate place. These should not be confused with Native App Smart Banners, which are provided by the iOS and Android operating systems.

What it does

The Pugpig Smart Banner has logic that takes the users to the correct place when they follow a deep link to an app page. It can do the following:

  • It can show the native iOS and Android smart banners if the user doesn’t have the app installed and we want to promote the apps
  • It can automatically redirect you into the Bolt Web app if you don’t want to show the native Smart Banner. This is not recommend for mobile devices.
  • It can show a custom header or footer to the pages if you want to show users the content but top/tail it with adverts/upsell information.
  • It can redirect to your web site using the canonical URL if we would rather the user landed there than see the page in isolation (let our support team know if you'd like this behaviour to apply)
  • It includes analytics and Google Tag manager so you can see how the acquisition aspects of your app are working.
Smart Banner displaying on an article on desktop, which would direct a user to the Bolt Web app.

How it works

The smartbanner is implemented using a single Javascript file which sits at the root of the app domain at /pugpig-websmartbanner.js. It is referenced by all of the pages processed into the system. It uses browser and user agent sniffing to determine where the user is viewing the content, and takes the correct course of action.

It will drop a cookie (by default, kaldor-pugpig-visited) to remember if a user has clicked the View button to enter the web reader.

Analytics

The analytics generated by the smart banner are useful to monitor how your sharing and acquisition strategy is working. The Smart Banner currently supports:

  • GA4
  • Google Tag Manager

It has it's own analytics specification. The only Page Views are articles and these are seen as  /Share/PageView.

Configuration

The Pugpig Support Team can make changes for you if you wish to modify the behaviour of your Smart Banner. These changes are made in the Distribution Service.

Changes and Updates

The Pugpig Smart Banner does not change often - you can see the Release Notes. New changes are automatically rolled out to all of our clients. These changes will only affect articles processed after the change is released.

 

smart pugpig

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Our best guess on how to get smart banners back after dismissing them on iOS
  • Overview of domains, URLs and deep links
  • Custom vanity domains
  • Canonical URLs
pugpig logo white
Navigation
  • Products
  • Customers
  • News
  • Podcast
Contact
  • Contact us
  • LinkedIn
  • Twitter
Technical Support
  • Status Page
  • Documentation
  • Customer Support
Corporate
  • Company
  • Jobs
  • Privacy Policy

© Kaldor Ltd. 2022

Powered by Pugpig

Expand