Telepítés
Telepítse az elállási gombot webáruházában
Az egyetlen sor kód minden webáruházban működik, ahol szkriptet adhat az összes oldalhoz. Magyarországon számos webáruház-megoldás elterjedt – például a Shoprenter, az UNAS, a Shoptet, a WooCommerce és a Shopify –, és a Clawzia mindegyikhez illeszthető egyetlen sor kóddal vagy a megfelelő bővítménnyel. Válassza ki platformját a lépésről lépésre szóló útmutatóhoz, vagy kövesse az alábbi általános lépéseket.
Mielőtt elkezdené
Create your shop in Clawzia
Sign up with your email address, create the shop, choose its country and default language and enter the email address that receives withdrawal notifications.
Allow your shop’s domains
Add every domain your shop runs on to the allowed domains, for example with and without www and the platform address of your shop. On other domains the widget only shows a link to the hosted form, with the EU directive’s wording in English.
Copy your code
Copy the code from the Install page of your dashboard (for the plugins, only the public key, which starts with pk_). The public key is not a secret.
A telepítő kód
Illessze be az irányítópultról származó kódot közvetlenül a záró </body> tag elé minden oldalon, vagy telepítse platformja bővítményét: WooCommerce, Shopify, PrestaShop, OpenCart, Wix, Squarespace vagy bármely weboldal. A példa egy minta kulcsot mutat; az Ön saját kódja az irányítópulton található.
<script src="https://clawzia.com/widget.js" data-shop="pk_YOUR_SHOP_KEY" defer></script>Your personal code with your shop key is in the dashboard after sign-up.
Lépésről lépésre útmutatók
Ellenőrizze a telepítést
Open your shop in a private window
The withdrawal link appears at the end of your footer, or as a floating button, depending on the position you chose in the dashboard.
Try it with the keyboard
Press Tab until the link is focused, then Enter: the two-step withdrawal form opens. Close it with Esc.
Check that the code is there once
View the page source and search for data-shop="pk_. The script tag should appear exactly once per page.
Send a test withdrawal
Send a withdrawal with your own email address and the order reference TEST. Check the confirmation email and its receipt link, then close the request in your dashboard.
If the link does not appear
If your site sends a Content Security Policy, allow https://clawzia.com in script-src and connect-src. Exclude widget.js from script combining, minifying and “delay JavaScript” features of optimisation plugins and CDNs.
Kérdések a telepítésről
Szükségem van fejlesztőre?
Általában nem. Ha hozzá tud adni kódot webáruháza sablonjához, vagy tud bővítményt telepíteni, magának is menni fog. Ha inkább mást bízna meg, egyszeri telepítési szolgáltatásunk (79 EUR) elvégzi Ön helyett.
Lelassítja a widget a webáruházamat?
A widget kicsi, és defer móddal, az oldal betöltése után töltődik be. Nem helyez el sütiket, és semmit sem tölt be harmadik féltől.
És a sütibanner?
A widget nem helyez el sütiket, és nem ír semmit a böngészőbe. Győződjön meg róla, hogy a hozzájárulási banner vagy egy optimalizáló bővítmény nem lassítja vagy blokkolja a szkriptet – különben a link egyes látogatóknak nem jelenik meg.
A webáruházam több nyelvű. Mit tegyek?
Adja hozzá az oldal nyelvét a script taghez, például data-lang="hu", vagy hagyja, hogy a WordPress-bővítmény tegye ezt meg. E nélkül a widget a webáruház alapértelmezett nyelvét használja.
Platformom nincs a listán.
Kövesse a bármely weboldalhoz szóló útmutatót: a legtöbb webáruház-platformnak van egyéni kód beállítása az oldal alján. Ha az Öné nem, írjon nekünk.