11 Dec 2023 07:07 AM - last edited on 12 Dec 2023 08:08 AM by MaciejNeumann
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
11 Dec 2023 07:49 AM
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
11 Dec 2023 08:11 AM
What I would look at is the configuration of Placeholders in this documentation that @islam_zidan provided.
11 Dec 2023 12:13 PM
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.
11 Dec 2023 12:25 PM
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.
12 Dec 2023 11:45 AM
@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.
12 Dec 2023 12:21 PM
Can you share a screenshot of the preview part in action naming section?
12 Dec 2023 03:26 PM
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.
13 Dec 2023 10:37 AM
@islam_zidan @radek_jasinski do you know what to do next? please help here.
13 Dec 2023 02:48 PM
Hi,
See my placeholder configuration. In my case it is ?, but in your case it may be #.
Radek
14 Dec 2023 04:58 AM
Yes, I have tried this but it is not working, i can only see loading of page/ and in page group and page only /.
25 Oct 2024 04:05 AM
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