Capture Custom Events from Individual pages - visual-studio

I Have my application set up with azure app insights, and I am capturing the custom events from across the application, there are events that can be triggered from multiple pages. So I am wondering is there any way in azure dashboard I could segregate events by page ?
Eg- Download button can be triggered from Search page and also from Collections page
So is there any way I could have events from Search Page shown individually and same with collections page ?
I am new to azure app insights, help is appreciated.
my current custom events look like this
It is very hard to read the events on page basis.
Thank you.

there are events that can be triggered from multiple pages.So I am wondering is there any way in azure dashboard I could segregate events by page ?
I suggest you could choose specific event name and operation name in Filters to achieve your goal:
You could also segregate events in Application Insights Analytics.
So is there any way I could have events from Search Page shown individually and same with collections page ?
You could filter the events by selecting specific event name:

Related

Display GA4 event parameter in google data studio

I upgraded to Google Analytics 4 and struggle to display event parameters in Google Data Studio. I created an event parameter in Google Tag Manager to track the ID of a link. Now I want to display a table in Google Data Studio to show how many clicks I have for each ID in the last 30 days.
In GA4 it just shows the event parameters of the last 30 minutes
That's why I tried to display it in Data Studio. But I have no idea how to do that.
In Universal analytics it was no problem but GA4 really gives me a hard time.
UPDATE:
I could solve it with BigQuery. I activated BigQuery in my console, connected it with my analytics acount, connected BigQuery with Data Studio and created a custom Query.
The solution via BigQuery is one way.
The other option would be to to create a custom dimension, which is based on your custom event parameter. The reason is that Google Analytics 4 event parameters are currently not being synched with Google Data Studio - but only Google Analytics 4 dimensions are.
In the Google Analytics 4 interface, you can go to Configure > Custom Definitions > Custom Dimensions and create an event-scoped custom dimension based on the event parameter affiliate.
Then, after updating your Google Data Studio data source, you should be able to access the new dimension in Google Data Studio.
You can display event parameter in Google Data Studio with a filter like this:
Include -> Page title and screen name > contains -> affiliate

Deeplink from bot to tab in Microsoft Teams

I am currently working on a bot specifically targeting Teams. Search feature in this bot returns around 200-500 results. Even though i have integrated refines to narrow down search results, i still have to show around 50-100 records under a refined label. I am trying to avoid showing 100+ records as Carousel or list view in bot. so, I thought of integrating tab with bot and share a deeplink to tab where user can see complete search result in a data table (jquery).
I am unable to figure out two things on this approach and need help.
Tab content might be hosted in a different domain and needs authorization. How do I pass authorization info to Content url without asking user to login?
How do i pass custom parameters while creating a deep link to tab and read custom data in a tab? For example, userID, accessToken.
Note: I am using AzureADV1 token with Adal.Net for Bot authentication, and storing token cache in a persistent storage.
I appreciate any help on this.
You can include a "context" parameter in your static tab deeplink, similar to the configurable tab deeplink. If you include a "subEntityId" property in this context, you can get the value inside your static tab by calling getContext(). Then you can render a filtered results based on this sub-entity id.

Use Application Insights to view all REST API requests per user

We are developing a WebApi2 application. Users can use the REST API using their specific API key. I am investigating how to setup Application Insights to be able to see the usage of the REST API endpoints per user.
I have been experimenting with using telemetryclient.TrackPageview(endpoint-ID) and telemetryclient.TrackEvent(endpoint-ID), but I am not sure if this is the right way to go. And how should I pass the user-ID (API-key) in the tracking call? As telemetryclient.Context.User.Id? Or using properties or some other way? I would like to be able to use the user-ID to aggregate/segment the pageviews/events that were registered for that particular user. Any ideas are welcome!
I'd suggest using the built in properties, like context.user.id whenever possible, and then custom properties after that.
Currently in the portal, from the search view you can then find an item for any user, then use the "related items" to view "all telemetry for this user" to see all of the items.
Then can use the App Analytics portal to do queries (click the "analytics" button toolbar in the overview blade for your resource azure portal to go to the AA site for that resource), and that service lets you write much richer queries.
in those queries, it's easiest to group/filter on the "built in" properties, for custom properties you have to write a little bit more complicated queries to parse the values out of custom code.

MVC3 - How to check if user clicked on the link you sent through e-mail in .net?

I'm running an e-commerce website and I send my customers regular newsletters.
I'm using nopcommerce v2.40.
I just see who all are subscribed. I want to develop a detailed newsletter management system, something like MailChimp.
I want a report on how many users actually clicked on the link that I sent them via e-mail.
Can anyone tell me how to do that??
This is a pretty generalized question but I'm new at this and I have no idea how to do it.
Thank you !
You can do this sort of thing quite simply with Google Analytics.
Here are some links worth looking at.
Google Analytics Email Tracking
Setting up campaign tracking in Google Analytics
Simple,
in your email newsletter add params you need to collect.
Example
click to view
Everytime someone would click on the above link, they would be taken to your default controller that collects clicks and other parameters you want. You would then save that data and redirect to an actual page you want them to see via "redirect" parameter provided in the url.

Adding a Google Calendar to a view in Xcode

I'm learning iOS programming and I'm at a very basic level.
I hope somebody can help me with a test project I'm trying to do.
In a view of my app I'd like to show a Google Calendar.
The source calendar will always be the same and events will be added via web site, so there's no need for the user to modify or add anything.
The view should just show a list (tableview?) of events fetched from google and touching each event should push another view with the event's details.
I've tried to see the documents for the Google's API, but, honestly, I'm not able to implement it without help.

Resources