Hi @nick_2024
When implementing page view tracking to Adobe Analytics in AEM, both `cmp:show` and `cmp:loaded` events can be used. However, it's important to understand the differences between these events and how they can impact the page view count.
1. `cmp:show` event: This event is triggered when a component becomes visible on the page. It is typically used when you want to track the visibility of specific components. For example, you might want to track when a carousel or a banner becomes visible to the user. The `cmp:show` event can be triggered multiple times if the component visibility changes, such as when the user scrolls or interacts with the page.
2. `cmp:loaded` event: This event is triggered when a component is loaded on the page. It is typically used when you want to track the initial loading of components. For example, you might want to track when a specific component is loaded for the first time. The `cmp:loaded` event is typically triggered only once per component, as it represents the initial loading of the component.
In terms of choosing the event for page view tracking, it depends on your specific use case and what you want to track. If you want to track the visibility of components and how they are displayed to the user, you can use the `cmp:show` event. If you want to track the initial loading of components, you can use the `cmp:loaded` event.