How to embed Trustify on a website

Integration via code snippet

Trustify can be integrated as a widget on a web page. The following snippet is available for this purpose:

Add the following code inside the <head> tag of the web page.

<link rel="stylesheet" href="https://public.trustify.ch/widgets/css/bar.css">

Next, place this code on the desired page inside the <body> tag:

Don’t forget to replace myprofiletag with the desired Trustify profile name, which can be taken from your profile URL: https://in.trustify.ch/en/myprofiletag

<div class="trustify-bar" data-profile="myprofiletag"></div>
<script src="https://public.trustify.ch/widgets/js/bar.js"></script>

Multiple Languages

Our widgets come with a multi-language feature. An additional parameter can be provided to include the widget in a specific language. In the example below, the bar will be included with English phrases.

<div class="trustify-bar" data-profile="myprofiletag" data-lang="en"></div>

Currently, we support three languages:

  • en for English
  • de for German
  • fr for French

If the parameter is not specified, we try to detect the language preference of the website visitor.

Integration on WordPress websites

For WordPress you can install our official plugin from the WordPress Store