Skip to main content

Creating Reading Processes

The Creating Reading Processes feature allows you to create document reading processes, either private processes in which only a select group of people can access the document or public documents in which anyone with the link can access the document.

These reading processes time the user's interaction with the document to report the reading times of each page to the creator.

Integration Example

warning

For the integration, it is necessary to have an <iframe id='iframeId'> element where the SDK will be rendered, and the AucoSDK function must be provided with the ID of this element.

info

Follow the link to see the reference of the events required in an SDK integration: 👉🏻 Events

import { AucoSDK } from 'auco-sdk-integration';

const unsubscribe = AucoSDK({
iframeId: 'iframeId',
sdkType: 'read',
language: 'es', // Accepted languages 'es' | 'en'
keyPublic: 'puk_xxxxx', // Company public key required for process creation
events: {
onSDKReady,
onSDKClose,
onSDKToken,
},
sdkData: {
uxOptions: {
primaryColor: '#021c30',
alternateColor: '#a557f2',
},
},
env: process.env.PUBLIC_ENVIRONMENT == 'dev' ? 'DEV' : 'PROD',
});