not able to see pages in dynatrace due to route hashing

Hi,

we have Hash-Routing strategy enabled in our angular application so due to that we are not able to see different page(hash) names even after routing over multiples pages, hash name are not available in dynatrace’s user action.

Please suggest me how can i able to see hash name in dynatrace.

ex-https://community.dynatrace.com/#/t5/forums/postpage/board-id/DynatraceQandA

But in dynatrace i can only see /community.dynatrace.com as page name

Hello,

Try to configure a different action naming rules, it should help fix that issue. please check the below document for further details.

Thanks,

Islam

What I would look at is the configuration of Placeholders in this documentation that @Islam_Zedan provided.

Hi @Islam_Zedan @radek_jasinski I have tried by changing  different placeholder but in page group and pages section of dynatrace i am only able to see ‘/ah-angular’ as a page-group and page name.

My url is https://mylocalhost/ah-angular/#/home

i want to see my hash name also like /home in the page name. Please help me.

What about page title, element identifier

You can click on preview on the end of the page to see the elements of your page and which element is getting the value you want. For the placeholder, you can create a new one that catch part of the url, then you can use it in the naming rule.

@Islam_Zedan  I have checked with both and i am not able to see element identifier and page title in dynatrace neither in user actio nor in session.

Can you share a screenshot of the preview part in action naming section?

here is the screenshot as i have informed when hashing is off page name is visible but when ON only ‘/’ is visible as page name, but i want loading of page /home etc.

@Islam_Zedan @radek_jasinski do you know what to do next? please help here.

Hi,

See my placeholder configuration. In my case it is ?, but in your case it may be #.

Radek

Yes, I have tried this but it is not working, i can only see loading of page/  and in page group and page only /.

@radek_jasinski @Islam_Zedan also in page group it is showing only /.

Have you tried applying:

Under “settings>capturing>advanced setup>custom configuration properties” use the following options (without quotes) to change the way page change events are captured:

“vncm=0” = URL and hash page changes

“vncm=1” = URL page changes only (Default)

“vncm=2” = Hash page changes only