Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8501961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:21:19+00:00 2026-06-11T01:21:19+00:00

I was using Google Analytics API to show users of my CMS their visitor

  • 0

I was using Google Analytics API to show users of my CMS their visitor data. All profiles are under my own account, so using clientlogin and some Google .net libraries I was able to retrieve all web id’s of the accounts to query data. Now since the API is deprecated all requests for account return a 404.

I have tried everything to update to 2.4 but without any success. What would be the way to go for me? Since I only need to login once with my own account instead of redirecting users to accept my app..

Using service accounts? I also have a server api key, but I have no idea how to implement the new API’s. Too bad there is no .net library yet.
Any advice is welcome!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T01:21:21+00:00Added an answer on June 11, 2026 at 1:21 am

    The main issue you are running into is they removed the Account Feed that was included in version 2.3 of the API. That means any sort of information about accounts, web properties, profiles, and goals all won’t work using the old client libraries. The rest of it, aka the data queries, should still work and you should upgrade them as per the migration documents.

    To fix the issue you are having getting profiles you have to switch over to their management api. The easiest fix would be to gut out your old method of getting profiles and replace it with a simple restful implementation of their management api. The rest of your library (such as getting visitors/visits) should still work fine.

    Heres a little example:

    1) Use ClientLogin to get an auth token.

    2) Grab the profiles xml by sending a GET request to https://www.googleapis.com/analytics/v2.4/management/accounts/~all/webproperties/~all/profiles. Make sure to include the authorization header in the request request.Headers.Add("Authorization", String.Format("GoogleLogin auth={0}", clientLoginAuthToken));

    3) Use XDocument to parse the results!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to retrieve Google analytics reports using their provided .NET api and
I am using the GA Data Export API to interact with Google Analytics and
I want to create a Line Chart using data received by Google Analytics API.
I'm using a Google Analytics API Class in PHP made by Doug Tan to
I'm using GAPI library (in PHP) for querying Google Analytics API. I request 2
I am using the Google API Client to access Google Analytics. I want to
This is my first time using Google Analytics Ecommerce Tracking to get data for
In an example provided by Google ( http://code.google.com/p/analytics-api-samples/ ), it doesn't show how to
Three questions for iPhone developers using Google Analytics within their apps for tracking use
Google analytics posted on their blog about an example Java program to extract data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.