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
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: