Diegimas
Įdiekite sutarties atsisakymo mygtuką savo parduotuvėje
Viena kodo eilutė veikia bet kurioje parduotuvėje, kurioje į šabloną galite pridėti scenarijų. Nesvarbu, ar jūsų parduotuvė sukurta su WooCommerce, Shopify, PrestaShop ar tokiu vietiniu sprendimu kaip Verskis.lt ar Mozello – jei šablone galite įklijuoti kodą, Clawzia veiks ir jūsų parduotuvėje. Pasirinkite savo platformą nuosekliai instrukcijai arba sekite bendrus žingsnius žemiau.
Prieš pradedant
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.
Diegimo kodas
Kodą iš valdymo skydelio įklijuokite prieš pat uždarantį </body> žymą kiekviename puslapyje arba įdiekite savo platformos papildinį. Pavyzdyje rodomas bandomasis raktas; jūsų asmeninis kodas yra valdymo skydelyje.
<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.
Nuoseklūs diegimo vadovai
Patikrinkite diegimą
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.
Klausimai apie diegimą
Ar man reikia programuotojo?
Paprastai ne. Jei galite pridėti kodą prie parduotuvės temos arba įdiegti papildinį, susitvarkysite patys. Jei norite, mūsų vienkartinė įdiegimo paslauga (79 €) atliks darbą už jus.
Ar valdiklis sulėtins mano parduotuvę?
Valdiklis yra nedidelis ir kraunamas su defer, po puslapio. Jis nenustato slapukų ir nekrauna nieko iš trečiųjų šalių.
O slapukų juosta?
Valdiklis nenustato slapukų ir nieko neįrašo naršyklėje. Įsitikinkite, kad sutikimo juosta ar optimizavimo papildinys nesulėtina ir neblokuoja scenarijaus – priešingu atveju daliai lankytojų nuoroda nepasirodys.
Mano parduotuvė kelių kalbų. Ką daryti?
Prie script žymos pridėkite puslapio kalbą, pavyzdžiui data-lang="lt", arba leiskite tai padaryti WordPress papildiniui. Be jo valdiklis naudoja numatytąją parduotuvės kalbą.
Mano platformos nėra sąraše.
Sekite vadovą bet kuriai svetainei: dauguma internetinės prekybos platformų turi nuosavo kodo nustatymą puslapio apačioje. Jei jūsų neturi, parašykite mums.