
外掛標籤
開發者團隊
原文外掛簡介
Watrix Popup Banner lets you show image popups and banners on your site without writing any code. Create a banner from the admin, pick images, and configure how and when it appears.
Features:
Separate images for desktop (PC) and mobile (SP); the PC image is reused when no SP image is set
Multiple images with rotation (configurable interval) or random display
9 display positions (four corners, four edge centers, screen center) and a width (px) setting
Scheduling with start/end date and time, evaluated against your site time zone
Six entrance animations: none (instant), fade, slide-in, pop-in, zoom-up, and rotate-zoom (respects prefers-reduced-motion)
Close button with Esc key support and a configurable delay (0–60000 ms) before the close button appears; the Esc key works even during the delay
Re-display suppression days (0 = show every time), remembered per visitor via browser localStorage
Configurable display delay (0–60000 ms) before the banner appears after page load
Drop shadow on/off, rounded corners (0–100 px), and a configurable border (color + width 0–20 px)
Test mode: show the banner only to logged-in administrators, so you can preview it on the live site before releasing it
Per-image link URLs (empty image = no link); “open links in a new tab” applies to all image links of the banner
Subtle hover effect on linked banners (press-in, respects prefers-reduced-motion, no accidental firing on touch devices)
Optional GA4 tracking tag: set a per-banner name to send impression, click and close events to Google Analytics via the site’s existing Google tag or Google Tag Manager (no tag = nothing is sent)
Built-in manual page (Banner Popup > 使い方・GA4 設定) covering the GA4 / Google Tag Manager setup, the event and parameter reference, how to verify, and troubleshooting
Multiple published banners: show only the newest one (default), pick one at random on each page view, or cycle through them in turn; choose whether closing one banner hides just that banner or all of them (Banner Popup > 表示設定)
日本語補足:
PC用/SP用の画像をそれぞれ指定できます(SP未設定時はPC画像を流用)。
複数画像のローテーション(切替間隔指定)またはランダム表示に対応します。
表示位置は9箇所、幅はpxで指定します。
表示期間(開始/終了日時)はサイトのタイムゾーン設定に基づいて判定します。開始日時は含み、終了日時は含みません(開始 <= 現在 < 終了)。
表示アニメーションは6種から選べます(通常/フェード/スライドイン/ポップイン/ズームアップ/回転ズーム)。
閉じるボタンの表示遅延中もEscキーでバナーを閉じられます。
再表示抑止は訪問者のブラウザのlocalStorage(キー: bpop_closed_{バナーID})に保存し、個人を識別する情報は保存しません。
テストモードをONにすると、そのバナーは管理者権限(manage_options)でログイン中の人にだけ表示されます。公開前の確認に使えます。
GA4計測タグ(任意)にバナーごとの識別名を入れると、表示(watrix_popup_impression)・クリック(watrix_popup_click)・閉じる(watrix_popup_close)の3イベントをGoogleアナリティクスへ送信します。サイトに設置済みのGoogleタグ(gtag)またはGoogleタグマネージャー(dataLayer)を利用し、本プラグインは外部スクリプトを読み込みません。空欄なら一切送信しません。
GA4/GTM側で必要な設定手順は、管理画面「バナーPopup > 使い方・GA4 設定」ページにまとめています(イベント・パラメータ一覧、動作確認、トラブルシュート付き)。
v1ではアンインストール時にデータ(バナー投稿・設定)を削除しません。
