luciasdk-t1

1.0.4 • Public • Published

Lucia-SDK

Ad Attribution SDK

index.js module contains the required abstraction for clients to use on their websites. This module allows users to create a Lucia object reference to use its functions:

  1. authenticate - authenticate a client using the api-key provided by Lucia
  2. userInfo - provide basic information regarding the users visiting the web page
  3. pageView- track page views
  4. trackConversion - provide any conversion events taking place

test.js gives an example of the module's application

The following screenshots show how the module can be imported for use:

image

script.js

image

backend service console log

image

Welcome.html and use of sdk in its script script

image

image

backend service console log for welcome page:

image

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i luciasdk-t1

      Weekly Downloads

      1

      Version

      1.0.4

      License

      ISC

      Unpacked Size

      23.7 kB

      Total Files

      3

      Last publish

      Collaborators

      • akrajguru