PageLoad
v1.0.0

A datasource to store all the requests made by users visiting the site.

Details

Triggered: when the user visites a page from web or mobile.
agent
string
required

The user agent of the client that sent the event

date
string<date-time>
required

Date and time of the event

origin
string
required

The hostname of the client that sent the event

page
string
required

The name of the page that sent the event

path_info
string
required

The path of the page that sent the event

place_url
string
required

The full url of the page that sent the event

query_string
string
required

The query string of the page that sent the event

referer
string
required

The page before the current page

session
string
required

The session or cookie_id of the device

email
string<email>
required

The user email

name
string
required

The full name of the user

user_type
string
required

The type of user

uuid
string
required

The user id

object_id
string
required

The material_id of the course when page is material view or null otherwise

How to trigger this event

1curl --location 'https://api.us-east.tinybird.co/v0/events?name=pageload' \
2	--header 'Content-Type: application/json' \
3	--data '{
4	"agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36",
5	"date": "2020-01-30T12:34:56Z",
6	"origin": "https://platzi.com.com",
7	"page": "/courses/",
8	"path_info": "/courses/123/materials/456",
9	"place_url": "https://platzi.com.com/courses/123/materials/456",
10	"query_string": "q=search",
11	"referer": "new-home",
12	"session": "asd12312",
13	"email": "team@platzi.com",
14	"name": "Team Platzi",
15	"user_type": "organizer",
16	"uuid": "1234",
17	"object_id": "456"
18}'
19
Edit this pageLast updated on 2025/2/18