This theme is prepared for Monetag, but real ad delivery requires account-specific code from the Monetag dashboard.

Where to paste code

Open themes/monetag-mag/_config.yml.

  • Put the verification meta tag in monetag.verification_meta.
  • Put MultiTag, In-Page Push, Vignette, or other header code in monetag.head_code.
  • Put an inline ad zone snippet in monetag.inline_code if you want the visible article ad slots to render a zone.
  • Put a Direct Link or SmartLink URL in monetag.smartlink_url.
  • Change monetag.enabled to true after real code is added.
  • Change monetag.show_placeholders to true only when you want to preview empty ad boxes during layout checks.

If Monetag asks for a sw.js file, download the file from your Monetag account and place it at source/sw.js. Hexo will copy it to the website root during generation.

Use clear labels for sponsored links and avoid fake download buttons, forced clicks, adult content, torrents, and misleading traffic.