How to access Google Analytics in django admin panel? - django

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.

Related

issue automatically adding members to google groups (G-suite) with Admin SDK

(I have done a search through the questions to see if I could find something on this, but have not found answers.)
I have two google groups through my G-suite and I want to automatically add people to both groups after they sign up for my club through a process on my website. I think this should be possible using:
https://developers.google.com/admin-sdk/directory/v1/guides/manage-group-members
I have gone into the API Console, created a new project, enabled the Admin SDKI API, and got an API key. However, I think I am running into the Authorization issue because we keep getting an error that the authorization token is missing.
I have tried using the OAuth 2.0 but I'm not sure if this should be "Internal" or "External". I'm not creating a whole app for someone to use - all I want to do is on the back end of the site take information that comes through when someone joins the club and automatically have them added to my google groups.
Is it possible for someone to please explain to me what I need to do?
I'm sorry this is kind of a basic question.
Thank you for your help.

How to integrate google analytics in django admin panel?

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

joomla Access level not working in k2 backend

(all of my problems is in joomla administrator interface (back end))
for sample. in joomla access level viwing i create an access leve & set just super admin user group can be access to this level.
in back end: in joomla content when i create an article with this access level, whene other user group login to backend, they cant see the articles with this access & just super admin can see this article in backend.
but in k2 this option not working:
when i create item with super user access leve in back end:
whene other user group login to backend, they can see this item in backend.
this is a big problem .
please help me to solve this problem.
Your question is very hard to read and understand your problem specifically.
I guess that your problem is that you don't know how to set the Joomla ACL correctly, so that's why you face these problems.
I suggest you read this article to help understand the concept of Joomla ACL.
Alternatively, I suggest you watch the author's videos on Lynda.com video tutorials, they are very good.

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.

Facebook Page - Get Post feedback and impression via Graph API

I'm trying to get some insights on a list of Posts by a Page on Facebook.
To be specific, I want to get the information highlighted in this blog post via the API.
But I can't figure out how, anyone knows how?
As far as I know it's only possible using the "stream" table. So you've got to use FQL to query this data. Using this technique you'll only get the impressions directly. Feedback rate can be calculated by adding #comments and #likes and dividing the result by #impressions. Hope they'll add this to the insights graph api as well.
MartinHN
Refer to https://developers.facebook.com/docs/reference/api/#analytics
If you are trying to aggregate multiple pages or a page other than the requesting app then you may need grant read_insights permissions to your application.
Refer to http://developers.facebook.com/docs/reference/api/insights/