Basic Setup

Follow the below steps to integrate Web SDK in your website.

Step 1: Add your Website in Smartech

Following are the basic steps, to begin with when it comes to website integration.

1. Login to your Smartech Panel and head over to Assets
In the Assets section of Smartech, Click on 'Web' and then on 'Add a website'

2. Choose from Standard & Shopify
Here, you will get two options Standard and Shopify. For a website on Shopify click on Shopify and if not on Shopify Platform then Click on Standard.

👍

For Shopify integration, directly head over to Shopify Integration documentation .

Proceed with the below steps if you have selected the 'Standard' website as an option.

3. Select Domain Type
Once clicked on Standard, you will be asked to select Domain Type: HTTP or HTTPS and then enter Website URL.

While selecting this, please take a note of below points:

  • HTTPS is required for sending Web Push Notifications. If HTTP selected then later, a HTTPS website will be required to be configured.

  • You do not have to type HTTP or HTTPS. Domain Type automatically helps add the prefix.

  • Make sure to mention ‘www’ basis on whether it is present for your domain or not.

  • A Domain once added, cannot be deleted. Please ensure you add it carefully.

4 - View Website details
Once Website Details added, click on Save. Post clicking on Save you will once again land on the Website Assets section. This is how it will look like.

Step 2: Add Smartech Javascript to your Website

Smartech Web SDK Integration can be done via either of below two Methods -

Direct JS Integration

OR

JS Integration via GTM

📘

Enable website linking

Once you have added your websites to the Asset section, you can enable the data to flow between these websites. Click here for more details

Step 3: Choose Features

If you are done with Adding Smartech JS to your website, you can choose to move to either of below features:

  1. Customer Engagement Channels like Web Push Notifications & Web Messages
  2. User & Event Tracking
  3. Product Experience

Did this page help you?