Export Google Analytics chart for specific URL - charts

I would like to show a graph of visitors (eg. 7 days back) on a specific subpage on my website - not the entire site!
I've been looking at:
http://www.jensbits.com/2010/06/23/google-analytics-data-export-api-with-google-chart-visualizations-2/
.. but i cant figure out how to show a graph for a specific url/subpage.
Any ideas?

Follow these steps
1.Go to your Google Analytics Account.
2.Click on the 'gear' icon. It will show you 3 tabs-> Profile, Tracking Code and Property Settings. Click on Tracking Code.
Under What are you tracking? select A Single Domain radio button. It will show you its corresponding options on the right. Select I want to track PHP pages. It will show you the tracking code underneath. Copy paste the code in the php file/page you are willing to track.
Dont worry about the query parameters. They will be identified automatically with respect to the tracking code. So if your page identifies 100 different layouts with respect to the parameters, they will show up in your analytics account.
Use the following Api to export data from your account
Google Analytics PHP API
Then, after you have received the data, you can set up an ajax request that fetches the data from your PHP script and embeds it in your site using a javascript API chart builder. This is also available with Google
Google Charts API
Hope that helps. All the best!

Related

External URL Re-Direct

We have a survey which is based on Microsoft Forms, we are using 3 URLs from our website which all auto re-direct users to the Form. However, I want to check that Google Analytics will pick up user and page views stats so we can monitor performance of the 3 URLS. Can you confirm if there is anything I need to do within Google Analytics to ensure this? I've seen Tag Manager mentioned and Thanks, Jayne

Images are broken / missing / not displaying in Google Groups posts (GSuite)

We are planning to use GSuite's Groups for our business to which we later plan to build front ends using Gsuite API to build helpdesks, public forums, etc but are having problems with broken links to inline images in posts to our groups.
It seems that only the person who inserted the images into a private google group post can view the images on the via the group's web interface, even using the same browser / machine for different accounts which are members of the same domain / different domain.
Please advise any permissions to check in the Gsuite groups settings page or if there is any GSuite API I could use to try and troubleshoot why the images are not downloading.
Related Google GSuite support forum post:
Images are broken / missing / not displaying in Google Groups posts (GSuite)
User that created the post:
User that did not create the post
After reading assorted posts on Google Product Forums, I figured out that the "drag-drop" or select from computer method does not work. What you have to do instead is:
Be sure to remove/delete your previous attempted image from your new post. Even though you saw it upload and it appeared to work, once you posted the topic or message, you see the broken image icon.
Now go to Google Photos for that same Google Account.
Drag/drop or upload your image to Google Photos.
Now go back to Google Groups, click the image icon in the compose window, then this time when you get the popup window to choose a photo, select "Your Photos" from the left column menu. You should see the image that you uploaded using Google Photos.
Image Uploader screenshot
Select that image, then click SELECT action button. This time the image that gets inserted into the new post will display after you click POST.

Generate List of custom Actions Taken by a specific user in my app

Hi I've developed a Facebook app that allows user to take custom actions that result in custom open graph objects. I would now like to generate lists of what actions specific users have taken in my app. is this information stored somewhere in the open graph? Do I need to use FQL? Can anyone point me in a good direction?
Much Thanks!
The developer tool has a "Get Code" link. Click it and you can see how to read all the actions.

Generate a Facebook share box for my app

Is there an easy way to generate the Facebook share box for my own app (see image below for what I mean)?
Users of my app will be able to share many of the same things that the this current box allows and wondered if the Facebook api can just generate it or do I would have to style the whole thing from scratch?
The closest thing available for you to use is: https://developers.facebook.com/docs/reference/dialogs/feed/ But that doesn't have all the cool options of Status/Photo/Link/Video/Question/Security. You will have to build your own form to collect that information and then HTTP post it to the appropriate graph object.

how to track traffic source for a Facebook iframe application

I have a facebook iframe application - let's call it apps.facebook.com/my-app.
We currently use Google Analytics for our tracking, and I correctly have Google Analytics installed on my application (that is included via iframe to the FB app) & it is tracking any use of the application mentioned above.
However, I would like to find out what the traffic source is to my-app PRIOR to facebook; ie, if a user goes to domain1.com, and follows a link from there to apps.facebook.com/my-app, it appears that the "traffic source" gets tracked as "apps.facebook.com" rather than "domain1.com", b/c the GA is installed within my code of the page included via the iframe, so its http referer is apps.facebook.com
Is there any way to retrieve "domain1.com" as my traffic source, in this case? Or any suggestions to try? (whether using Google Analytics, or another source? I see that the facebook insights does give some information on referrers, but it's not very extensive at all; no date ranges, etc)
Thanks so much!
- ali
Just using Google Analytics in Facebook, there isn't much you can do here. However, what we've done in the past (to general success) is to create a redirect link outside of Facebook with the analytics on it, and push all traffic there first.
In other words, create a page at www.myapp.com/redirect, and put the google tracker there (or, alternately, just append the referrer url to the query string manually). Then, redirect with javascript out to the Facebook canvas app URL. That way, the user ends up in the right place, and you get your referrer info as well.