4.40.3 • Published 6 months ago

@parameter1/base-cms-marko-web-reveal-ad v4.40.3

Weekly downloads
43
License
MIT
Repository
github
Last release
6 months ago

BaseCMS Marko Web Reveal Ad Components

Installation

  1. Add @parameter1/base-cms-marko-web-revel-ad to your project/site.

  2. Include the Browser plugin.

    // your-site/browser/index.js
    import RevealAd from '@parameter1/base-cms-marko-web-reveal-ad/browser';
    
    RevealAd(Browser);
    
    export default Browser;
  3. Include the styles

    // your-site/server/styles/index.scss
    @import "@parameter1/base-cms-marko-web-reveal-ad/scss/reveal-ad";
  4. Load the listener component on all pages, as close to the opening <body> tag as possible. This is usually handled in a common site document.marko component

    <marko-web-document ...input>
      <@head>
        <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
        <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
        <link rel="manifest" href="/site.webmanifest">
        <marko-web-gam-init />
        <${input.head} />
        <marko-web-gam-enable />
        <marko-web-gam-targeting key-values={ uri: req.path } />
      </@head>
      <@above-container>
        <marko-web-reveal-ad-listener />
        <default-theme-site-header />
        <default-theme-site-menu />
        <${input.aboveContainer} />
      </@above-container>
    </marko-web-document>
4.40.3

6 months ago

4.5.12

1 year ago

4.0.0-beta.0

1 year ago

4.1.0

1 year ago

4.0.0

1 year ago

4.0.2

1 year ago

4.0.0-alpha.0

1 year ago

3.0.0

2 years ago

2.75.1

2 years ago

2.75.0

2 years ago

2.45.0

3 years ago

2.22.2

3 years ago

2.5.0

3 years ago

2.4.2

3 years ago

2.3.0

3 years ago

2.0.0

3 years ago