Solved

Can you have an event without properties?


Badge

Sorry if this is a super basic question but I’m wondering if it’s possible to have an event without any properties? For context, we want to track page view events. 

 

Also, another question. When creating an event in Amplitude, how do you add time/date data? Or do you have specify date/time in event properties beforehand in order to actually see that data?

icon

Best answer by Saish Redkar 13 May 2022, 17:59

View original

2 replies

Userlevel 7
Badge +4

Hey @jackrobins2022 

Definitely. You can have an event without any event properties.

Event properties help you get additional context around the event when it was performed. If your business use case doesn’t need any properties on an event, it’s totally fine. Especially when it’s a unique event on its own.

From what I understand, page view events should ideally have event properties like page_url, etc which helps you uniquely identify a page view for a given page. You can read more on that here.

 

For your second question, Amplitude will automatically capture the timestamp of the event depending on the method of your ingestion and use that while charting. Previously there were use cases where users needed a specific aspect of the time like day of week, hour of day to be available in charts and they had to instrument these on the event for easier charting. But this is possible now with derived properties.

 

Hope this helps.

Badge

Wow this is amazing, thank you so much! 

Reply