How to implement

Paxxio provides two widgets, these widgets can be implemented simply by placing some javascript. Depending on what products you want to implement and are activated, you can copy the code below and place it on your website.

Price Check Widget

To implement the Paxxio Price Check Widget in your website you will only need to place a small piece javascript preferably at the end of your page just before the </body> tag.

The javascript contains two variables, a property ID and a language. When the language variable is removed the script will automatically select a language based on the visitors browser language.

<script type="text/javascript">
(function () {
    "use strict";
    var s = document.createElement("script");
    s.type = "text/javascript";
    s.src = "https://static.paxx.io/pxw-min.js";
    s.async = true;
    s.setAttribute("data-property", property_id);
    s.setAttribute("data-language", "language");
    var x = document.getElementsByTagName("script")[0];
    x.parentNode.insertBefore(s, x);
})();
</script>

Review Widget

To implement the Paxxio Review Widget in your website you will only need to place a small piece javascript preferably at the end of your page just before the </body> tag.

The javascript contains two variables, a property ID and a language. When the language variable is removed the script will automatically select a language based on the visitors browser language.

<script type="text/javascript">
    (function () {
    "use strict";
    var s = document.createElement("script");
    s.type = "text/javascript";
    s.src = "https://static.paxx.io/pxr-min.js";
    s.async = true;
    s.setAttribute("data-property", property_id);
    s.setAttribute("data-language", "language");
    var x = document.getElementsByTagName("script")[0];
    x.parentNode.insertBefore(s, x);
    })();
    </script>

Property ID

Every property has it's own unique ID. This ID is connected to an account within Paxxio and makes it possible to show supported widgets and data.

Languages

Paxxio supports 7 languages at this moment. We standardize languages by using ISO 639-1.

Language name Code (ISO 639-1)
English en
Dutch nl
French fr
German de
Spanish es
Italian it
Greek el

Currencies

Paxxio supports 32 currencies at this moment. We standardize currencies by using ISO 4217.

Currency Code (ISO 4217)
United States dollar USD
Euro EUR
Pound sterling GBP
Australian dollar AUD
Bulgarian lev BGN
Brazilian real BRL
Canadian dollar CAD
Swiss franc CHF
Chinese yuan CNY
Czech koruna CZK
Danish krone DKK
Hong Kong dollar HKD
Croatian kuna HRK
Hungarian forint HUF
Indonesian rupiah IDR
Israeli new shekel ILS
Indian rupee INR
Japanese yen JPY
South Korean won KRW
Mexican peso MXN
Malaysian ringgit MYR
Norwegian krone NOK
New Zealand dollar NZD
Philippine peso PHP
Polish złoty PLN
Romanian leu RON
Russian ruble RUB
Swedish krona/kronor SEK
Singapore dollar SGD
Thai baht THB
Turkish lira TRY
South African rand ZAR