Integrations & Widgets
Website integration
Here we explain how you can integrate Trustify on a website to create trust and increase your sales.
You should know!
Trustify also offers an API. This makes it possible for experienced users or with the help of Trustify Support to create their own complete integration.
Trustify Widget - Bar
You can display a Trustify bar at the bottom of your page on your website.
Add the following code within the
<head>
tag of the web page:<link rel="stylesheet" href="https://public.trustify.ch/widgets/css/bar.css">
Place this code somewhere on the desired page within the
<body>
tag:<div class="trustify-bar" data-profile="your-profile-slug"></div> <script src="https://public.trustify.ch/widgets/js/bar.js"></script>
Many websites have global files with a
<body>
tag. If you insert this code there, the widget will be loaded on all pages.Replace in the code
your-profile-slug
with your Trustify profile slug to load the content. You can get your Trustify profile slug for example by the URL of your Trustify profile:https://in.trustify.ch/[your-profile-slug]
Define Language
If you want to define a language, you can add a language parameter data-lang=“xx”
(en,de,fr). You add this after the profile slug in the code from step 2:
<div class="trustify-bar" data-profile="your-profile-slug" data-lang="en"></div>
<script src="https://public.trustify.ch/widgets/js/bar.js"></script>
Trustify Widget - Button Large
You can display a Trustify button at a desired location on your website.
- Add the following code within the
<head>
tag of the web page:<link rel="stylesheet" href="https://public.trustify.ch/widgets/css/button-large.css">
- Place this code somewhere on the desired page within the
<body>
tag:<div class="trustify-button-large" data-profile="your-profile-slug"></div> <script src="https://public.trustify.ch/widgets/js/button-large.js"></script>
- Replace in the code
your-profile-slug
with your Trustify profile slug to load the content. You can get your Trustify profile slug for example by the URL of your Trustify profile:https://in.trustify.ch/[your-profile-slug]
Define Language
If you want to define a language, you can add a language parameter data-lang=“xx”
(en,de,fr). You add this after the profile slug in the code from step 2:
<div class="trustify-button-large" data-profile="your-profile-slug" data-lang="en"></div>
<script src="https://public.trustify.ch/widgets/js/button-large.js"></script>
Trustify Widget - Button
You can display a Trustify button at a desired location on your website.
- Add the following code within the
<head>
tag of the web page:<link rel="stylesheet" href="https://public.trustify.ch/widgets/css/button.css">
- Place this code somewhere on the desired page within the
<body>
tag:<div class="trustify-button" data-profile="your-profile-slug"></div> <script src="https://public.trustify.ch/widgets/js/buttons.js"></script>
- Replace in the code
your-profile-slug
with your Trustify profile slug to load the content. You can get your Trustify profile slug for example by the URL of your Trustify profile:https://in.trustify.ch/[your-profile-slug]
Define Language
If you want to define a language, you can add a language parameter data-lang=“xx”
(en,de,fr). You add this after the profile slug in the code from step 2:
<div class="trustify-button" data-profile="your-profile-slug" data-lang="en"></div>
<script src="https://public.trustify.ch/widgets/js/button.js"></script>