GUURU for Developers

GUURU for Developers

  • Docs
  • Contacts

›Loader

Loader

  • Getting Started
  • Best Practices
  • Public Interface
  • Handling Events
  • Conversion
  • Cookies
  • Examples

SmartChat

  • Getting started
  • Chat Widget

    • Getting started
    • Parameters

SmartForm

  • Getting Started

Admin API

  • Getting started
  • Examples
  • API Reference

    • Queries
    • Mutations
    • Types
    • Pagination

Webhooks

  • Getting started
  • Examples

Integrations

  • Facebook
  • Freshchat
  • Salesforce
  • Zendesk
  • Microsoft
  • Third Party Messaging

Install Loader

To get started with SmartChat or SmartForm in your website you need to install our Loader first.

The Loader is the only piece of code you need to place in your website to integrate with us. After you place our javascript code in your website you will be able to enable and configure the SmartChat and SmartForm to be available to your users in your website.

Get the Javascript code

Just copy the code snippet from your Developer Settings, where we pre-populate your Application ID (this is your APP_ID in the code) for you.

Or you can quickly grab it from here instead:

<script type="text/javascript" src="https://static.guuru.com/loader/v1.0/chat.min.js"></script>
<script>
window.guuru = window.Guuru();
window.guuru.init({
  appId: '<APP_ID>',
});
</script>

If you copy the code snippet above you'll need to manually change your Application ID. You can get your AppId on the General Settings.

How to use the Javascript code

Paste the code snippet before the </body> tag on every page where you want the SmartChat or SmartForm to appear for your website visitors.

Content Security Policy

Content Security Policy (CSP) is a security mechanism that helps protect against content injection attacks, such as Cross Site Scripting (XSS).

If your website does not send the CSP header no action is needed from your side.

If your website sends the CSP header you may need to add *.guuru.com to the frame-src, child-src and img-src directives of the CSP header.

If you need help or you are experiencing some problem installing our Loader please get in touch with our support team.

Best Practices →
  • Get the Javascript code
  • How to use the Javascript code
    • Content Security Policy
GUURU for Developers
Docs
SmartChatSmartFormAPI Reference
Community
GitLabFacebookLinkedIn
Copyright © 2022 GUURU Solutions Ltd.