Custom-built Site Integration | Zoho Thrive

Custom-built Site Integration

Zoho Thrive provides a way for businesses with custom-built sites (built from scratch without the help of any builder software) to integrate with Zoho Thrive and run loyalty program.

Before proceeding with the integration, you'll need to create a brand for your site.
   
Create a brand    
  1. In the Thrive console, go to the top-right corner and click the Settings icon.
  2. Then navigate to Integrations ->  Store Integrations -> Custom-built.
  3. Click Configure.
Zoho Thrive - Platform Integration
  1. In the pop-up, do the following:
    1. Enter your Brand Name.
    2. Enter your Brand URL (the URL of your website where you wish to run the program).
  2. Click Create.
Zoho Thrive - Custom Site Integration

After a brand is created, follow the steps below to establish a connection between your custom-built site and Zoho Thrive.

Integrate your site    
  1. In the Thrive console, go to the top-right corner and click the Settings icon.
  2. Then navigate to the Developer Settings.
  3. Copy Secret Key, Brand Code, and save it securely.
Thrive - Developer Settings
  1. Copy the below script and paste it between the <head> and </head> tags on each page of your site.
<script type="text/javascript">
var platformType='custom_user_site';
var thriveWidgetCode= '{{Brand code}}';
var ztUserData = {};
</script>
<script id="thrive_script" src="{{Public Domain URL}}/thrive/publicpages/thrivewidget"></script>
  1. Replace the placeholders above with their corresponding variables
    • {{Brand code}} - This variable is the same as the one you copied from More -> Installation Page
    • {{Public Domain URL}} - Copy the Public Domain URL for your data center from the table below. You can find out which data center you’re accessing Zoho Thrive from by visiting the Zoho Thrive web app and checking its URL.
 
Data Center
Domain URL
Public Domain URL
United States
India
Europe
South Africa
Australia
Canada
 
  1. Copy the below script and paste it between the <body> and </body> tags  on each page of your site.
<script type="text/javascript">
var ztUserData = {};
ztUserData['za_email_id'] = {{Email Address of Customer}};
ztUserData['user_unique_id'] = {{Unique Identifiable System ID of Customer}};
ztUserData['thrive_digest'] = {{Server Generated HMAC}};
ztUserData['signUpPage'] = {{Signup URL};
ztUserData['signInPage'] = {{Login URL}};
ztWidgetDelay = {{Time in secs}};
</script>
 
  1. Replace the placeholders above with their corresponding variables defined in your system.
    • {{Email Address of Customer}} - This variable must hold the email addresses of your customers.
    • {{Unique Identifiable System ID of Customer}} - This variable must hold the unique identifiers of the customers in your system. We use it to distinguish customers and their data.
    • {{Server Generated HMAC}} - We use HMAC (Hash-based Message Authentication Code) as a means to avoid tampering with the above customer data when sent from your end. You must generate an HMAC and replace it here.
 
Steps to generate a HMAC:
  • From the scripts below, select one based on your programming language preference. Copy the script and compute it on your server.

    NodeJS
const crypto = require("crypto")
let email_id="peter.prescott@zylker.com" // Email address of Customer
let customer_id = "bfuyw3fiub3289uij" //Unique Identifiable System ID of Customer
let digestRaw = email_id+customer_id
let algorithm = "sha256"
let secret = "e46788a75fe6a876ba83a3892cfd201f"; // Secret Key
let HMACDigest = crypto.createHMAC(algorithm,secret).update(digestRaw).digest("hex")

Ruby
 
require 'base64'
require 'openssl'
 
email_id="peter.prescott@zylker.com" // Email address of Customer
customer_id="bfuyw3fiub3289uij" //Unique Identifiable System ID of Customer
digestRaw= email_id+customer_id;
 
algorithm = OpenSSL::Digest.new('sha256')
secret = 'e46788a75fe6a876ba83a3892cfd201f' //Secret Key
HMACDigest = OpenSSL::HMAC.hexdigest(algorithm, secret, digestRaw)
 
PHP
$email_id = "peter.prescott@zylker.com"; //Email address of Customer
$customer_id="bfuyw3fiub3289uij"; //Unique Identifiable System ID of Customer
$digestRaw= $email_id.$customer_id;
$algorithm = 'sha256';
$secret = 'e46788a75fe6a876ba83a3892cfd201f'; //Secret Key
$HMACDigest = hash_HMAC($algorithm, $digestRaw, $secret);
 
  • In the above scripts instead of "peter.prescott@zylker.com" and "bfuyw3fiub3289uij" substitute their respective variables. The variable for email_id must contain the email addresses of your customers, while the customer_id's must hold the customer's unique identifiable system ID.
  • Replace the placeholder for secret, "e46788a75fe6a876ba83a3892cfd201f" with the Secret Key found on your Scripts page.
  • Return the HMACDigest in a way that the HMAC code generated replaces the  {{Server Generated HMAC}} inside the tracking script.
  • {{Signup URL}} - The URL of your site’s sign up page.
  • {{Login URL}} - The URL of your site’s sign-in/log-in page.
  • {{Time in secs}} - This will delay the widget from loading before the set time. It's helpful for sites where the data takes time to process. You can set the delay for up to a maximum of 40 secs.
Notes
It is not necessary to modify the {{Signup URL}} and {{Login URL}} if you do not plan to run a loyalty program.

Your site will now be successfully integrated with Zoho Thrive.

Now, while building the program, there are two other instances that require a manual data push from your end.
 
If you face any difficulties or require assistance with any of the steps above, feel free to write to us at support@zohothrive.com.
 

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform alternativeSecure Forms

                              WCAG

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now






                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                   
                                                                    

                                                                  Videos

                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now









                                                                                                                            • Related Articles

                                                                                                                            • Wix Platform Integration

                                                                                                                              Wix is another platform integration that comes with Zoho Thrive built in. Follow the steps below to integrate your Wix site with Thrive: Create a new app Go to Wix Developers site and log in using your Wix credentials. On the My Apps page, click ...
                                                                                                                            • Can I create custom tasks for my program?

                                                                                                                              Yes, you can. Follow the steps below to create custom tasks for your program. Custom task functionality is only available for brands with a custom-built site integration. Navigate to Points in the navigation bar on the left. Select Tasks, and then ...
                                                                                                                            • Shopify Platform Integration

                                                                                                                              Like other platform integrations, Shopify is a built-in platform integration available in Zoho Thrive. You can easily integrate your Shopify store with Thrive by following the steps below. Create a custom app: On your Shopify home screen, go to ...
                                                                                                                            • Zoho Commerce Platform Integration

                                                                                                                              Zoho Thrive integrates effortlessly with Zoho Commerce, allowing you to connect your store with a single click. If your store runs on the Zoho Commerce platform, setup is quick and effortless; no additional configuration required. Steps to integrate ...
                                                                                                                            • Zoho Survey Integration

                                                                                                                              Integrating Zoho Survey with Zoho Thrive allows you to create interactive survey tasks within your loyalty program. This integration enables you to gather customer insights while rewarding customers with points for their participation. Only users ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources