---
updatedAt: 2026-07-17T02:13:34.000Z
agentTools:
  projectIndex: https://developers.zip.co/llms.txt
---

# Landing Page

<HTMLBlock>{`
<div class="article_header">
<div class="article__header--icon">
<img src="https://static.zip.co/developers/zip-docs/docs-assets/icons/plugins.svg" alt="Plugin icon">
</div>
<div class="article__header--title" id="page-introduction">
<h1 class="article__title article_title_subpage">

Assets Installation
</h1>
<p class="subpage_title">

Landing page
</p>
</div>
<div class="clearfix"></div>
</div>
<br>
`}</HTMLBlock>

## Adding the JavaScript library

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

```html
<script type="text/javascript" src="https://static.zip.co/lib/js/zm-widget-js/dist/zip-widget.min.js"></script>
```

## Adding the Zip landing page

<HTMLBlock>{`
<table>
  <tr>
  <td style="border-style: none!important;width: 50%;">
    <span>In order to implement a landing page 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. </span>
  </td> 
    <td style="border-style: none!important;">
  
  </td> 
    </tr>
</table>  
`}</HTMLBlock>

![](https://files.readme.io/641e371bd1e38da83b620950d19b5df58c8c51996441f4b1bfcd129fd1a0e9c0-AU-Landing-Hybrid_1.png)

<br />

```html
<div zm-asset="landingpage" 
     data-env="production"
     data-zm-merchant="{put the merchant_public_key here}"
     zm-widget="inline"
     data-zm-region="au">
</div>
```

Here is a list of the attributes available to activate the messaging:

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Attribute
      </th>

      <th>
        Description
      </th>

      <th>
        Values
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        data-zm-merchant
      </td>

      <td>
        Zip merchant Public-key (found in your merchant dashboard)


      </td>

      <td>
        <code>public key</code>
      </td>
    </tr>

    <tr>
      <td>
        data-zm-region
      </td>

      <td>
        To specify the product price when the widget is implemented in product pages
      </td>

      <td>
        <code>au</code> - Australia
      </td>
    </tr>

    <tr>
      <td>
        zm-asset
      </td>

      <td>
        To specify which version of Zip widget to display
      </td>

      <td>
        <code>landingpage</code>
      </td>
    </tr>
  </tbody>
</Table>

<br />