I want to get daily page visits with adobe analytics api | Community
Skip to main content
Level 2
January 1, 2024
Solved

I want to get daily page visits with adobe analytics api

  • January 1, 2024
  • 2 replies
  • 2350 views

Hi everyone, how can I get page visits with api? I would be very grateful if anyone can help with this.  I am writing an application with csharp, I want to get this data with api. at least tell me from which end-point I can get this data.

 

I model the example of the data set I want below;

 

DateTotalVisitCount
01.01.2024500
02.01.2024700
03.01.20241500
04.01.2024300
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

Here is a little known trick... Workspaces are all built using the API and if you can build the freeform table to return the data that you want, you can actually get the API call(s) used to return the data.

 

First you need to enable debugger mode in Workspace:

 

This will add a new icon to your freeform tables:

 

If you click on that icon, it will give you the option of "Freeform Table" or "Sparkline", choose the table:

 

Now, it will show you timestamps of the calls that were made:

 

If you refresh multiple times, you may have multiple timestamps, or if you have a complex table with multiple breakdowns, it may require multiple calls.

 

Choose the appropriate timestamp(s) and this will open a new screen that will show you the API call that was used in multiple formats. You can copy the one you want to use, and if you need to make modifications, you can do so on this pre-build functional API call.

2 replies

abhinavbalooni
Community Advisor
Community Advisor
January 1, 2024

Hey @ünalav 

 

Here is the link to the entire analytics API documentation.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/i-want-to-get-daily-zayfa-visits-with-adobe-analytics-api/m-p/641707#M47718

 

It has all the endpoints you would need.

 

If you need any further help, let us know.

 

Cheers,

Abhinav

ünalavAuthor
Level 2
January 2, 2024

hi, thanks for the answer but link is incorrect. I can see all endpoints in the documentation but I could not find them. why is everyone here saying the documentation answer. no one wants to help directly, they suggest documentation. I didn't think of that?

 

I'm just looking for an endpoint where I can get the total number of daily visitors. I don't need all the documentation. :))

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
January 2, 2024

Here is a little known trick... Workspaces are all built using the API and if you can build the freeform table to return the data that you want, you can actually get the API call(s) used to return the data.

 

First you need to enable debugger mode in Workspace:

 

This will add a new icon to your freeform tables:

 

If you click on that icon, it will give you the option of "Freeform Table" or "Sparkline", choose the table:

 

Now, it will show you timestamps of the calls that were made:

 

If you refresh multiple times, you may have multiple timestamps, or if you have a complex table with multiple breakdowns, it may require multiple calls.

 

Choose the appropriate timestamp(s) and this will open a new screen that will show you the API call that was used in multiple formats. You can copy the one you want to use, and if you need to make modifications, you can do so on this pre-build functional API call.

ünalavAuthor
Level 2
January 2, 2024

I will try and write you back, thank you.

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 2, 2024

You're welcome, good luck!

 

While you can write APIs from scratch, there are so many options that its much easier to start with something that is pre-built to get you what you want (or at least get you close - then to modify a little to get it the rest of the way)