cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

not able to see pages in dynatrace due to route hashing

piyushtyagi1111
Visitor

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

12 REPLIES 12

islam_zidan
Champion

Hello,

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

https://docs.dynatrace.com/docs/shortlink/custom-names

 

Thanks,

Islam

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

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

Have a nice day!

piyushtyagi1111
Visitor

Hi @islam_zidan @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.

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

piyushtyagi1111
Visitor

@islam_zidan  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.

islam_zidan
Champion

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

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca

piyushtyagi1111_0-1702394534962.png

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.

 

piyushtyagi1111
Visitor

@islam_zidan @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 #.

Zrzut ekranu 2023-12-13 o 15.46.48.png

Radek

Have a nice day!

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

piyushtyagi1111
Visitor

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

piyushtyagi1111_0-1702535769660.png

 

minkook
Dynatrace Enthusiast
Dynatrace Enthusiast

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

Featured Posts