luciasdk-t3
v1.1.4-beta.3
Published
Lucia Protocol, Ad Attribution SDK
Keywords
Readme
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:
- authenticate - authenticate a client using the api-key provided by Lucia
- userInfo - provide basic information regarding the users visiting the web page
- pageView- track page views
- trackConversion - provide any conversion events taking place
- updateUserId - update the user ID for a user.
test.js gives an example of the module's application
The following screenshots show how the module can be imported for use:
script.js
backend service console log
Welcome.html and use of sdk in its script script
backend service console log for welcome page:
Troubleshooting
Why aren't my updates going through?
npm run build
npm publishif you forget the step to build
I pushed my updated NPM package to version 1.X.Y but its giving me an error on npm i
Thats because sometimes it takes 30 seconds to 2 minutes for npm cache on npmjs.org to update
