AymericG wrote:
I want to use Amplitude as my dashboard for my business.
Most events are coming from user activity, but I want to also track events that are backend / system events like "Newsletter sent” which are related to multiple users or no user at all.
Is it possible in Amplitude?
All the events in Amplitude are related to a specific user, so in that sense that answer is ‘no’. However, you can always create a user called BackendEvents (or whatever you prefer) and use those for all these events. If necessary you can then exclude this user from your other analysis by utilizing the UserID user property.
We handle these kinds of events that come from a backend by using the HTTP API: https://developers.amplitude.com/docs/http-api-v2
Note that if you set things up this way, you cannot tie these events to specific users. So you couldn’t do things like “take all the users we sent this newsletter to and see if they reacted to it” or “create a funnel from this newsletter to users performing this event”. Instead this would allow you to count the number of newsletters sent and such generic measures.
If you want to analyse the responses of specific users, you need to trigger one “NewsletterSent” type event for each user that receives it.