Strip Banner

Plugin icon

Assets Installation

Strip banner


Adding the strip banner

The JavaScript library is a key component of the web assets integration. It’s used to manage the communication between your website and the default assets functionality. The JavaScript library will render the content in the placements tags and not adding it to your site will mean the assets are not loaded.

In order to activate the strip banner you need to add the HTML snippet with all the required attributes to deliver the correct message for your website. This will be the container where the Javascript library will inject the messaging.
<div zm-asset="stripbanner" 
     data-env="production"
     data-zm-merchant="{put the merchant_public_key here}"
     zm-widget="inline"
     data-zm-region="au">
</div>

Attribute

Description

Values

data-zm-merchant

Merchant Public Key

Required for AU stores only

The Merchant Public Key (AU Only)

zm-asset

To specify which version of Zip widget to display

For ZipPay/ZipMoney:
stripbanner

data-zm-region

To specify the product price when the widget is implemented in product pages

au - Australia
nz - New Zealand