Visitors
A grant’s visitors are the people who answered its questions, or made changes in a copy of their own. Open the grant’s menu and choose Visitors:
Each visitor shows their answers, when they were last seen, and their own copy, if the grant gives them one. Someone who wasn’t asked anything and has no copy of their own isn’t listed, even if they commented on a shared document. CloudPDF keeps nothing about them.
Export CSV downloads the list, with when each visitor answered.
Erasing a visitor#
Delete erases a visitor’s answers and their copy, for good. If they come back, they’re a new visitor, and they answer again. Do this when someone asks you to delete what you know about them.
What they added to a shared document stays, with their name on it, since it’s part of the document now.
How CloudPDF remembers them#
A visitor’s browser keeps a key that says “this is the same visitor”, so they answer once and find their own copy again. In another browser, or after clearing this one, they’re someone new.
In code#
const { visitors } = await cloudpdf.grants.visitors.list({
tenantId,
grantId,
});
await cloudpdf.grants.visitors.delete({
tenantId,
grantId,
visitorId: visitors[0].visitorId,
});