Read who visits a lambda
analyticsHow people reach a lambda, as its owner sees it in the editor: visitors, pages opened and requests per day, and the pages, referring sites, countries, devices, browsers, operating systems and crawlers (search engines, AIs, link previews) behind them. Counted by day in UTC and written down every few minutes; a year is kept, of which a free lambda shows the last 7 days and a premium one all. Off until switched on - nothing is counted before. enable: true switches it on, only when the user asks; switching off deletes what was counted and is the owner's to do in the editor. Use it to answer what the user asks about their visitors, or to see which pages matter before changing them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days, today included. Left out, as many as the lambda's tier shows, which is also the most. | |
| enable | No | Switch analytics on, counting from the next request - only when the user asked for it. | |
| privateKey | Yes | The editor key. |