Hotlead Ad Spaces
Connects your website to Hotlead with its site token: banners in your ad spaces, or your own sales counted.
Install in
Hotlead connects website owners with businesses that pay for each sale their banners bring. This plugin connects your website to Hotlead: it adds the Hotlead site script to every page. It works for both kinds of Hotlead account:
- Website owners: then you choose where banners go right on your website, with “Mark spaces on your site” in your Hotlead account.
- Businesses: on your own website, sales and leads that came from Hotlead keep being counted when the visitor fills in your own forms or buys on your site.
This plugin is the WordPress side of the Hotlead service: it needs a Hotlead account (free for website owners; you earn a share of each sale your banners bring). Without a site token it does nothing at all. No username or password is needed: only the site token.
What the plugin does:
- It keeps one setting: your website’s Hotlead site token.
- While the token is set, it adds the Hotlead site script to the head of every page, loaded async (it never blocks the page).
- It sets no cookies and adds nothing to your admin screens apart from its Settings page and a suggested paragraph in Settings > Privacy > Policy Guide.
You can install it yourself (below), or press “Install on WordPress” in your Hotlead account: WordPress then asks you to approve Hotlead with an application password, and Hotlead installs the plugin and sets the token for you. Removing the website, or deleting your Hotlead account, deletes that application password again.
External services
This plugin connects your website to Hotlead (https://hotlead-app.netlify.app/), the service that chooses which banner each of your ad spaces shows. Nothing is loaded from Hotlead, and nothing is sent to it, until you save a site token.
- What is loaded: while a site token is set, every front-end page loads the script https://hotlead-app.netlify.app/s.js.
- What is sent, on every front-end page view: the script asks Hotlead which banners to show (https://hotlead-app.netlify.app/v1/spaces/serve) with your website’s site token and the address (path) of the page being viewed. As with any web request, the visitor’s browser also sends its IP address and browser type. Banner images are then loaded from Hotlead, and a click on a banner goes through Hotlead to the advertiser’s website. If one of your ad spaces cannot be found on the page, the script tells Hotlead once, so your Hotlead account can show it.
- Only when a visitor arrives from a click on a Hotlead banner (the page address carries a Hotlead click code): the script keeps that click code in the browser’s local storage until it expires, adds it as a hidden field to the forms on the page, and, when a form is sent, sends Hotlead a one-way SHA-256 hash of the email address and phone number typed into it (never the address or number itself), so the advertiser’s sale can be credited to that click.
- When a banner is shown, the script tells Hotlead how many times it was really on the screen (at least half of it, for at least a second): https://hotlead-app.netlify.app/v1/spaces/seen, when the visitor leaves the page or switches tabs. It sends only the banner’s own short-lived code and a count, nothing about the visitor.
- Only on a page with a banner placed over an area you drew, fixed to the screen, or taking turns with other banners: the script loads https://hotlead-app.netlify.app/s-place.js to show it. When a visitor closes a banner fixed to the screen, that is remembered for the rest of the visit in the browser’s session storage (no cookie), so it does not come back on the next page.
- On a business’s own website only (its site token belongs to a Hotlead business account; the serve answer says so), for a visitor who came from a click on a Hotlead banner: the script also reads the kept click code on the following pages, and tells Hotlead when an order confirmation page is reached (https://hotlead-app.netlify.app/v1/attr/order: the payment system’s references in the page address, the order number, amount and currency the page announces, the page path) and when a phone, WhatsApp, email or Messenger link is tapped (https://hotlead-app.netlify.app/v1/attr/contact: only the business’s own number), so the sale or lead can be credited to that click.
- Only when you open your website from your Hotlead account to mark ad spaces (the address carries a one-time Hotlead marking link): the script loads Hotlead’s marking toolbar (https://hotlead-app.netlify.app/s-mark.js) for you.
- No cookies are set or read.
- Who provides the service: Hotlead. Terms of service: https://hotlead-app.netlify.app/legal/terms.html . Privacy policy: https://hotlead-app.netlify.app/legal/privacy.html
Written by Joobi from the project's own listing. See the source page
1.0.3
- The settings page and this readme say where the site token is for both kinds of Hotlead account (website owners and businesses), and that no username or password is needed. No change to what the plugin does.
1.0.2
- Clearer words on the settings page and in this readme: connect your website, then mark your ad spaces right on your site. No change to what the plugin does.
1.0.1
- The suggested privacy policy text and the readme now describe everything the Hotlead script does in the browser (banner images and clicks, the click code kept for a visitor who came from a Hotlead banner, the marking toolbar).
- Tested with WordPress 7.1.
1.0.0
- First release: the site token setting and the Hotlead site script on every page.
Follow this listing's changes (Atom feed)