Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Which event type need to be used to track page views

Avatar

Community Advisor

Hello everyone,

Which one I can use to track page view  between DOM Ready. Window Loaded, Library Loaded and Page Bottom?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

Dear Luca,

This is tentative.

- If you have proper data layers set and use the synchronous method, you can use Library Loaded, else use DOM Ready. Suppose if DOM ready is not scrapping any element value and if you know the exact location on your page where you need to fire the pageview after element availability, you can use Page Bottom. Don't use window loaded, not preferred unless there is a need for it.

- For the asynchronous method, Page Bottom is not available so, you need to use DOM ready or Direct Call if you didn't have proper data layers in place to use Library Loaded.

Thank You, Pratheep Arun Raj B | Xerago | Terryn Winter Analytics

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor and Adobe Champion

Dear Luca,

This is tentative.

- If you have proper data layers set and use the synchronous method, you can use Library Loaded, else use DOM Ready. Suppose if DOM ready is not scrapping any element value and if you know the exact location on your page where you need to fire the pageview after element availability, you can use Page Bottom. Don't use window loaded, not preferred unless there is a need for it.

- For the asynchronous method, Page Bottom is not available so, you need to use DOM ready or Direct Call if you didn't have proper data layers in place to use Library Loaded.

Thank You, Pratheep Arun Raj B | Xerago | Terryn Winter Analytics

Avatar

Level 10
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?