Appzi Typings
    Preparing search index...

    Type Alias AppziSettings

    AppziSettings: {
        ready?: (appzi: Appzi) => void;
        render?: AppziWindowRenderOptions;
        userId?: string;
    } & AppziSettings

    Full configuration for embedding the Appzi widget on your website. Set this on window.appziSettings before or after the Appzi script loads.

    Type Declaration

    • Optionalready?: (appzi: Appzi) => void

      Callback invoked when Appzi SDK is fully initialized.

    • Optionalrender?: AppziWindowRenderOptions

      Advanced screenshot rendering options.

    • OptionaluserId?: string

      Optional. Unique identifier for the current user. Used for identifying which surveys to show across devices.

    window.appziSettings = {
    userId: 'user-123',
    data: {
    planType: 'enterprise',
    userCreationDate: '2024-01-15'
    },
    ready: (appzi) => {
    console.log('Appzi loaded');
    // Now you can call appzi.openSurvey('survey-id')
    }
    };