This page demonstrates most of the features of
next-collect. Read library documentation on GitHubPage view
Page view events are sent automatically by
middleware.ts. Once page loads, you should see a new event in coming to destination. Go to /internal-page/page1 or /internal-page/page2 to see a new page event coming to destination.Event structure
To see how event is represented by JSON,
/api/ev/debug?path=/page/url . Install JSON Formatter extension to see it in a more readable way.Client side event
Click on a button below to send a
click event from client side.The event has been sent 0 times
Identify user
Fill the information about the user below and click Identify to record this info. The user id and properties will be saved in local storage, so subsequent events will be sent with this information.
User:
unknown