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

This product reached the end of support date on March 31, 2021.

Is it possible to exclude specific web requests from Mobile User Actions

lesterh
Inactive

Our Mobile user actions are being polluted by webrequests made to crashlytics and other external interfaces. Is there a way to exclude this?

9 REPLIES 9

saanjeith_varat
Inactive

Do you want to monitor these web requests at all? They seem not to be beneficial to you.

You could exclude those URI's them from the Web Server Sensor Pack associated to that technology and Dynatrace will ignore them entirely. If you let me know what technology you are using I can provide more insight on the process above.

-Sanj

Thanks for response Saanjeith, we using apache and I have tried excluding the uri but it ended up excluding all mobile actions.

Would you be able to have a screenshot of what you excluded or a session file so I can investigate a little deeper?

-Sanj

As Requested Saanjeith

saanjeith_varat
Inactive

I believe this could be a quick way to solve this issue:

You can go into your UEM settings and Hit ignore from the drop down of type on those domains you don't want to see from a third party perspective.

However, I do think it would be a better option for you to exclude those actions all together if possible. Could you right click those one's you don't want and go to the Web Requests dashboard? If they are coming from unique pages we are in luck, if they are third party content from one specific page we are not 😞 (This is what I am suspecting).

Hope this helps,

Sanj

Lester, did this end up working for you?

Thanks,

Sanj

andre_vdveen
DynaMight Pro
DynaMight Pro

We contacted support and they indicated this info would be added to the documentation.

In the meantime, in case anyone else needs it, we were provided with the following:

Android

# URL filtering is available by setting pairs of properties as below. The

# cpwrUEM_urlFilter.<n>.UrlName property is a regular expression that will be

# compiled to a Pattern at runtime, looking for any occurrences within

# application URLs. If a match is found, there are several options, specified

# with the cpwrUEM_urlFilter.<n>.Filter property: "all" is the same as no filter,

# but is provided to be largely consistent with iOS. "none" means to skip sending

# this WR altogether (all the user will see is the parent End User Action in

# this case, not the Mobile WebRequest). "server" provides the same string in

# the URL as the parent End User Action (i.e., URL.getHost()), "file" provides

# JUST the last part of the result of URL.getFile(), using '/' as the

# delimiter. "server+file" concatenates the last two options with a '/' between

# them:

#

#cpwrUEM_urlFilter.0.UrlName=chunks

#cpwrUEM_urlFilter.0.Filter=None

#cpwrUEM_urlFilter.1.UrlName=vlog

#cpwrUEM_urlFilter.1.Filter=Server

so if you add:

#cpwrUEM_urlFilter.0.UrlName=crashlytics

#cpwrUEM_urlFilter.0.Filter=None

it
should stop it from sending the any url with crashlytics in it.

iOS

You need to add cpwrUEM_instr.urlFilters to the info.plist which is an array
type.

Then create a dictionary for each filter with "Url Name" and
"Filter"

eg.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<array>

<dict>

<key>Url Name</key>

<string>crashlytics</string>

<key>Filter</key>

<string>None</string>

</dict>

</array>

</plist>

diana_najda2
Newcomer

Is anyone aware of the equivalent parameters for iOS/Android mobile agent 7.0.x?

Does the answer I provided above which I received from support back then, not work for 7.0.x mobile ADK? If not, I'd suggest contacting support for the latest correct method to do this.