Description
AnonyViet Floating Banner displays an eye-catching floating banner fixed to the right side of the screen:
- Sway animation – the banner gently swings back and forth to grab attention, with adjustable angle and speed.
- Show/hide cycle – the banner flies in, stays for a few seconds, slides out, and repeats on your schedule.
- Respectful dismissal – when a visitor clicks the × button, the choice is saved in a cookie (plus a localStorage backup) and the banner stays hidden for a configurable number of days, then shows again.
- Random rotation – add multiple banner images and destination links; each page view shows a random image with a random link, chosen independently.
- Redirect link builder – wrap destination links with random prefixes and suffixes to build redirect or campaign URLs. Example: prefix
https://xyz.com/url=+ linkhttps://abc.com+ suffix&123https://xyz.com/url=https://abc.com&123. - Click statistics – see which destination links get clicked and which posts or pages the clicks come from, broken down by day, week and month, with bar charts. History is kept for 60 days and can be cleared with one click.
- Referrer privacy – banner links use
rel="noreferrer", so the destination site never sees which site the click came from.
All settings live under Settings AnonyViet Floating Banner; statistics under Settings Thống kê Floating Banner. No coding required.
Installation
- Upload the
fly-bannerfolder to the/wp-content/plugins/directory, or install via Plugins Add New Upload Plugin. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings AnonyViet Floating Banner to add banner images, destination links, prefixes/suffixes, and adjust the animation.
- View click statistics under Settings Thống kê Floating Banner.
FAQ
-
The dismissal is stored in a first-party cookie. Make sure your browser allows cookies, and note that
www.example.comandexample.comdo not share cookies — use one canonical domain for your site. -
Does the destination site know where clicks come from?
-
No. Banner links include
rel="noreferrer", so the browser sends no Referer header. Affiliate parameters inside your own link still work normally. -
How long is click history kept?
-
60 days. Older records are deleted automatically, and you can wipe the history at any time from the stats page.
-
Can I use different images and links?
-
Yes. Add as many banner images and destination links as you like — each page view picks a random image and a random link independently. You can also add multiple random prefixes and suffixes to build redirect URLs.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“AnonyViet Floating Banner” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “AnonyViet Floating Banner” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.5.3
- Dismissal now stores the dismiss time: the banner shows again after the number of days set in “Remember dismissed for how many days”. Fixed a bug where the localStorage backup re-armed the dismissal forever, so the banner never came back.
1.5.2
- Fixed translators comment placement for the month label.
1.5.1
- Added missing translators comments for translation placeholders.
1.5.0
- Added English/Vietnamese language support: all strings are translatable (English source, Vietnamese translation included) with a “Plugin language” option (Automatic / Tiếng Việt / English) in settings.
1.4.0
- Renamed to AnonyViet Floating Banner (distinctive name).
- CSS and JavaScript are now loaded through wp_enqueue_style/wp_enqueue_script (wp_add_inline_style/wp_add_inline_script); no more inline
1.3.5
- Added option to hide the banner on desktop (PC).
1.3.4
- Fixed automated review findings: proper output escaping, replaced date() with DateTime, raised minimum WordPress version to 5.3, shortened readme tags and description.
1.3.3
- Added author credit (AnonyViet).
1.3.2
- Added random prefixes and suffixes to build redirect links, with add/remove rows in settings.
1.3.1
- Multiple banner images and destination links, each randomized independently per page view.
1.3.0
- Banner image/link pairs (superseded by independent lists in 1.3.1).
1.2.0
- Added click statistics (day/week/month views), per-link and per-post breakdowns, 60-day retention, and a clear-history button.
1.1.2
- Added
rel="noreferrer"so destination sites can’t see the referring site.
1.1.1
- Dismissal hardening: pending timers are cleared on close, the cookie is written with both max-age and expires, and a missing cookie self-heals from localStorage.
1.1.0
- Dismissal memory: once a visitor closes the banner it never shows again (cookie + server-side check).
1.0.0
- Initial release: floating swaying banner with show/hide cycle and close button.
