Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Tracking vanity url's with analytics

Avatar

Level 2

We would like to track vanity url usage through analytics. One possible solution that we see is to add the vanity url as query parameter to the resulting url. So for example https://www.my-site.com/my-vanity-url becomes https://www.my-site.com/my/real/page.html?s_url=/my-vanity-url

Is this feasible? What API's could be used to add the vanity url as query parameter to the response. Or is there a better solution?

0 Replies