How to integrate google analytics in django admin panel? - django

I m a newbie to django admin.I wanted to integrate Google Analytics to my admin panel so that I could see all the graphs and analytics data in my admin dashboard itself.I have registered with https://analytics.google.com/analytics and got all the necessary id's like tracking id and all . Can somebody guide me getting this thing done ..
Thanks in advance

Related

How to access Google Analytics in django admin panel?

I have a doubt how to google analytics dispaly in django admin panel.can give any suggestion or give proper documentation.I see many documentation cant understand .can give any example code.I tried but its not working can give proper documentation or any code.I tried api key also is not working .
You can use django-google-analytics-app and then create custom page in your admin panel. There are few tutorials on how to do this even on Stack.

Do I need to have Global Admin right to register an Application for Power BI?

In Adam Saxton's youtube video, he mentioned that global admin right is needed to register an App for embedding powerBI report to custom web application via REST APIs.
https://www.youtube.com/watch?v=egP0GHSOUIM&t=221s.
I tried to use the provided URL: https://dev.powerbi.com/apps, I found I can register a web app, and I can get client id and client secret.
But when I check the permission for powerbi in azure portal, I found at the top right, there is check box for application permissions not checked, also it says it requires admin. Do I really need to have global admin to make the integration work?
Thanks,
Jack
I guess global admin is not required,I made it work with C# sample codes.

Creating a login for PowerBI dashboard?

I need to create a dashboard but I don't want it to be seen by everyone and I need to create a login form for that.
Option 1 : I can create a asp.net page for login and after successful login I can show the dashboard.
Option 2: Which I want to know that- Does PowerBI contains some login kind of functionality so that I don't need to upload a .net web page !!
Can someone provide me the link or tutorial for the same?
Thanks for the help.
Option 1 : I can create a asp.net page for login and after successful login I can show the dashboard.
This wouldn't work because if the person knew the URL of the page, they wouldn't need to defer to your ASP.NET login page and just go straight for the source (once they found out the URL).
The only way I know you can manage private dashboards is by creating workspaces within Power BI which you can provision access to certain users or accounts. This requires you to upgrade to Power BI Pro however and is not offered in the free version.

Rewrite Generic URLs into real URLs on Google Analytics

I have an iPhone app for a forum which also has a limited Google Analytics reporting.
This app reports the page views in following form:
/forum/67
/thread/29036
etc...
The numbers above represent forum and thread ID's
I am trying to set an Advanced filter, which will rewrite/report the page views as following form:
http://www.mysite.com/forum-67.html
http://www.mysite.com/thread-29036.html
Can someone please assist me in creating an Advanced Google Analytics filter which will enable me to see URL's so they can be live and send to correct page.
Obviously there will be a need for some RegExp matches, but I cannot get around it.

Accessing Extra-Date using social_auth for django

I am using social_auth in my django application to use facebook connect. I have followed steps which are given in the documentation (https://github.com/omab/django-social-auth). But I am struggling in accessing extra info such as 'user_about_me','profile_pic' etc. I am able to see the access token in my db column but I am really struggling in making use of it.
Can someone help me.
Thanks in advance :)
You will have to create a Profile model for your user in order to store additional data if thats what you need. With the token you should be able to make use of the Graph Api https://developers.facebook.com/docs/reference/api/user/
django-social-auth is just that.. auth, not a facebook app.