The GA4Admin plugin for WordPress allows you to monitor and analyze changes made to media files on your website, offering valuable insights into user interactions with media content. Media files, such as images and videos, are essential components of web content, and tracking their changes can help you understand how they are managed. Below are the key media-related events tracked by the plugin:
Event Name: ga4admin_media_uploaded
- Trigger: This event is triggered when a new media file is uploaded to the website.
- Event Parameters:
ga4admin_action:
Same as event name.ga4admin_domain:
The domain of the website.userType:
The user’s role(s).user_id:
The user’s ID.username:
The user’s username.attachment_id:
The ID of the uploaded media file.filename:
The name of the uploaded media file.filetype:
The MIME type of the uploaded media file.
Event Name: ga4admin_media_edited
- Trigger: This event is triggered when an existing media file is edited or modified.
- Event Parameters:
ga4admin_action:
Same as event name.ga4admin_domain:
The domain of the website.userType:
The user’s role(s).user_id:
The user’s ID.username:
The user’s username.attachment_id:
The ID of the edited media file.filename:
The name of the edited media file.filetype:
The MIME type of the edited media file.
Event Name: ga4admin_media_deleted
- Trigger: This event is triggered when a media file is deleted from the website.
- Event Parameters:
ga4admin_action:
Same as event name.ga4admin_domain:
The domain of the website.userType:
The user’s role(s).user_id:
The user’s ID.username:
The user’s username.attachment_id:
The ID of the deleted media file.
Effectively tracking media-related events is crucial for managing media content on your WordPress website. With these events and their associated parameters, you can gain insights into how media files are uploaded, edited, and deleted by admins and their impact on user interaction.