<meta charset="UTF-8" /> <meta content="width=device-width; initial-scale=1.0;" name="viewport" />
How to include and initialise the SDK?
The first script block maintains the init settings. The variable haptikInitSettings holds the settings and thus it is important to not change the name of this variable.
You can add more settings to this variable. Please refer Client Settings section for more information.
It is important to make sure the code snippet is copied as it is and the order is maintained. Clients are requested to add new client settings after copying the above snippet.
Please note that - the above code snippet contains few mandatory variables which are marked in blue color. Haptik will provide values for these variables upon request.
Note: HaptikSDK will not work if you try to integrate it in a static HTML file and try to open that file in browser. SDK cannot be tested without serving the HTML file.