JS-SDK

Getting started

You can find our JS SDK on github.

Installation

  1. Clone the repository
  2. npm install
  3. npm run build (production & develop) | npm run build:prod (production) | npm run build:dev (develop)

Usage

Methods

Method Description Parameters Response
init(params) This will add parameters to the smartLink Url. These parameters will be available as GET-Parameters, when a user* clicks on the smartLink. The parameters will be available as GET parameters as well in the facebook page tab* or within an iframe array $params Array of parameters which should be passed through