Widget di mining gratuiti / Come aggiungere un widget al tuo sito
Come aggiungere un widget al tuo sito
Tutti i nostri widget sono gratuiti. Scegline uno, configuralo, copia una riga di codice e incollala nella tua pagina. Si aggiorna da solo con prezzi e difficoltà in tempo reale.
In quattro passaggi
- Scegli un widget: calcolatori, classifiche, prezzi delle coin o strumenti per i negozi.
- Configuralo: coin o miner, tema chiaro o scuro, lingua. L'anteprima mostra esattamente ciò che vedranno i tuoi visitatori.
- Premi “Copia codice”.
- Incolla il codice nella pagina dove deve comparire il widget (vedi la tua piattaforma qui sotto) e pubblica.
Dove incollare il codice
WordPressModifica la pagina, aggiungi un blocco “Custom HTML”, incolla il codice e premi “Update”.
Shopify“Online Store → Themes → Customize”: aggiungi una sezione “Custom Liquid” e incolla il codice. In una descrizione prodotto passa prima alla vista HTML (<>). Poi salva.
Wix“Add → Embed Code → Embed HTML”, scegli “Code”, incolla e premi “Update”. Rendi il riquadro alto quanto il valore height nel codice.
SquarespaceAggiungi un blocco “Code”, incolla il codice, lascia disattivato “Display source” e salva.
HTMLQualsiasi altro sito: incolla il codice nell'HTML della pagina dove deve comparire il widget.
Ecco come appare il codice (il tuo lo ottieni dal generatore di widget):
<iframe src="https://www.asicprofit.com/widget/BTC?hashrate=200&unit=TH&consumption=3500" width="100%" height="560" frameborder="0" loading="lazy"></iframe>Buono a sapersi
- I numeri si aggiornano da soli: prezzi delle coin e difficoltà ogni 15 minuti. Nessuna manutenzione.
- La larghezza si adatta allo spazio della pagina. Se la parte inferiore è tagliata, aumenta il numero in height="…" nel codice.
- Scegli il tema scuro per un sito scuro e una qualsiasi delle 32 lingue.
- I widget si caricano solo quando entrano nella visuale e non impostano cookie: non rallentano la pagina e non richiedono un banner cookie.
- Ti chiediamo di mantenere la riga “Powered by AsicProfit”: è ciò che rende i widget gratuiti.
- Negozi: una volta verificato il negozio, il tuo badge di venditore verificato ti aspetta nel tuo account, nella pagina del negozio.
Riferimento opzioni
Ogni opzione è un parametro nell'indirizzo del widget (src="…"). I generatori le impostano per te; puoi anche modificarle a mano.
Calculator: /widget/{COIN} · Profit chart: /widget/{COIN}/graph
hashrate | 100 | The machine's hashrate, a number. |
unit | H, kH, MH, GH, TH, PH | Unit of the hashrate (default: the coin's usual unit). |
consumption | 3500 | Power use in watts. |
electricity | 0.06 | Electricity price in USD per kWh (default: the site's default rate). |
fee | 0 | Pool fee in %. |
currency | USD, EUR, GBP, CZK, … | Currency the results are shown in. |
machinePrice | 1599 | Price of the machine in USD: shows how many months until it pays for itself. |
showHashrateField, showConsumptionField, showFeeField | true, false | Show or hide that input. |
disabledHashrate, disabledPower, disabledElectricity, disabledFee | true, false | Lock that input so visitors can't change it (e.g. your machine's hashrate). |
dateRange | 1_month, 3_months, 6_months, 1_year, all | Chart only: the period shown first. |
showDateRanges | true, false | Chart only: show the period buttons. |
One miner: /widget/miner/{brand}/{model}
electricity | 0.06 | Starting electricity price; visitors can change it and the number of units. |
Top miners: /widget/top
kind | asic, gpu, cpu | Which devices to rank. |
algo | sha-256, scrypt, kheavyhash, … | Only one algorithm (leave out for all). |
n | 3 – 25 | How many rows. |
electricity | 0.06 | Electricity price used for the profit. |
Coin prices: /widget/ticker
coins | BTC,LTC,DOGE,KAS | Which coins, comma-separated (up to 12). |
layout | row, list | Chips in a row, or a list with more detail (set height to about 420). |
Store miner list: /widget/miner-list/{store}
electricity | 0.06 | Electricity price used for the profit. |
Verified seller badge: /badge/{store}.svg (an image, not an iframe)
style | light, dark, compact | Look of the badge. |
Every iframe widget
theme | light, dark | Colours to match your site. |
lang | en, de, es, fr, cs, zh-Hans-CN, … | Language of the widget (32 languages). |
Serve aiuto? Scrivici e lo configuriamo insieme: info@asicprofit.com