giid-sdk
v1.1.50
Published
Embeddable tooltip widget, product tours, and onboarding for your website
Maintainers
Readme
giid-sdk
Embeddable tooltip widget for your website.
Installation
npm install giid-sdkUsage
Script tag
<script src="https://unpkg.com/giid-sdk/giid.umd.js"></script>
<script>
Giid.init({ API_KEY: "YOUR_API_KEY" });
</script>ES Module
import Giid from "giid-sdk";
Giid.init();React
import Giid from "giid-sdk";
import { useEffect } from "react";
function App() {
useEffect(() => {
Giid.init({ API_KEY: "YOUR_API_KEY" });
}, []);
return <div>My App</div>;
}Localization
Set the language for tooltips, tours, and branding using Giid.setLanguage(...). Call it after Giid.init(...).
Giid.init({ API_KEY: "YOUR_API_KEY" });
Giid.setLanguage("uk");Supported languages
| Code | Language |
| ---- | -------- |
| en | English |
| es | Spanish |
| uk | Ukrainian |
| zh | Chinese |
| ja | Japanese |
| ko | Korean |
| fr | French |
| de | German |
