So I'm all new to using Google API's, so bear with me :)
I've started with the tutorial for getting started with google embed analytics API, at this link: https://developers.google.com/analytics/devguides/reporting/embed/v1/getting-started
Just for notice, I'm working in PHP.
By following the tutorial, I've made it possible to sign in to the google account, and my page displays the logged in google account, and displays 3 dropdown menus, 1 for 'account', 1 for 'property' and 1 for 'view'.
Now when I look at the tutorial site, you have the option to select entities from these drop downs, and furthermore theres a graph displayed below.
Image from tutorial site: https://developers.google.com/analytics/images/embed-api-screenshot.png
However, In my case, I have my logged in account displayed, but my 3 drop down menus are empty, meaning I cant select anything(In the tutorial a 'store' is selected), and furthermore, I have no graph/chart displayed below.
My app looks like this:
I'm guessing that I need to set these things up in my google dashboard somehow, but I'm not sure as to how I should go about this? If anyone knows what I'm doing wrong, it would be greatly appreciated! :)
Eike was completely correct - I needed to setup a GA account, and register a website. GA had some info that I followed, which included putting a certain script on my website, to allow tracking of my site.
I Now have a working implementation, so thanks to Eike! :)
Related
I am struggling to find adequate documentation on using the twitter API to create a twitter side-bar on a website. I want the user to enter their suburb and the twitter feed should show tweets about the area.
Im not sure whether the embedded twitter widget can be used dynamically or whether the API is the correct way to address this
Any help or advice in the right direction would be appreciated.
The embedded twitter widget can not be modified as far as I could tell, so the API is the way to go. This would be a good page to visit as it gives you an overview of how to search and gives examples of searching based on location. You also need to find a way to authenticate but that is fairly straight forward (look here).
I am trying to figure out a way to hide a specific link from the Quicklaunch navigation bar on one of my sites in SharePoint 2013 and am having some trouble. Basically I am trying to make it so that a link is only visible to users within a specific group and any other users that are not part of this group will not see the Quicklaunch link. I have been reading up on how to implement this via css and javascript within the default master page but do not seem to be having any luck. I was using SPServices to get the group membership for the currently logged in user and based on there membership either hiding or showing the specific Quicklaunch item. I implemented this code into the master page and I though I had it working, however upon navigating to a different page, list, or library within the site the given link reappears. I do not know if I am doing something wrong but as a last resort I have come here for answers. If anyone could point me in the right direction I would greatly appreciate it.
Bellow is a screenshot to get a better understanding of what it is I am trying to do...
Security trimming should be automatic for the quick launch. Users not being able to see the list, should not see the quicklaunch entry. One thing i experienced in the past is that the security trimming does not work if your quick launch URL looks like this
https://url/sites/sc/Lists/internallistname
but will work if you include the aspx-page
https://url/sites/sc/Lists/internallistname/AllItems.aspx
Don't know about foundation but it's worth a try...
Im totally new to integrating social media with a website so this is a bit of a scattershot question. There is no doubt questions on here answering this already but as im not sure what im looking for yet, im not sure how to find them.
Okay so my company wants to promote their twitter and facebook profiles as customer service avenues, so users will ask questions on there rather than calling or emailing.
Ive built quite a funky page promoting this, however the links are literally just links to the facebook and twitter pages.
Is there a method to load a window to twitter or facebook from a website link that will prompt a user to type and submit a question to be submitted the the FB/twitter feed? Or is there a way to take content from a text box on site and pass this through to FB/Twitter?
Basically just looking for something slightly cooler and more user friendly than just dumping them on the companies FB or twitter page on click.
Cheers,
Found the solution I was looking for that works for twitter, its simply passing values through a URL, details are here https://about.twitter.com/resources/buttons#mention.
For facebook, seem to be able to do this through the comments module. Seems like a lot of this can be edited through the API so a combination of both should give me what i need:
https://developers.facebook.com/docs/plugins/comments/
use this website as an idea on pushing content into tweets
http://www.sharelinkgenerator.com/
example for twitter: the href on your link would be:
https://twitter.com/home?status=your%20content%20here
if you wanted dynamic content, you would build the url using script.
same rules apply for facebook.
if you wanted to keep it within your website, maybe look into a fixed position div containing an iframe.
Trying to automate few repetitive tasks I do on Google Webmaster Tool and Google Adwords; in both places, I'm getting a little stuck and need help (using Nightmare.js btw)
1) Google Keyword Tool: trying to add value to the text field using JS but not able to make it happen; here's exactly what's going on: http://www.awesomescreenshot.com/image/60846/e8bc4231b7710ac2621aa134fa55b2cb
because i'm not able to enter value using JS, i get the following error when i click the button: http://i.imgur.com/ExvxVnZ.png
2) Google Webmaster Tool: i'm able to navigate to the top pages and top queries section but when i try get Nightmare to click on the 'download this table' button, it does not work; tried doing the same through the console and get undefined: http://www.awesomescreenshot.com/image/60927/78a5a98582f3c271d86ce0786db7210b
Assuming Google is blocking these actions from happening via JS so curious as to how i can solve this
I'm thinking of an idea to develop a widget lives within Gmail and do action on demand.
Like selecting a line of text clicking my button should create a task on a list (say asana.com)
I'm currently looking into https://developers.google.com/google-apps/gmail/contextual_gadgets
but wondering I'm heading right direction?
Check this one - http://www.streak.com/ they even have custom UI (in main view of gmail).
It would be really helpful if you share good resources and point the direction.
eg:
Gmail Contextual Gadgets (which work only in Google Apps Gmail, and not in "regular" #gmail.com Gmail) may not modify the Gmail UI - they are restricted to appearing in a rectangular area beneath a received message.
See www.wishery.com for an example.
To do the UI modification you illustrate, you must produce a browser extension - there are no native Google APIs to Gmail that'll help you (sadly!).
Also there are Sidebar Gadgets (for complex applications), like "Pipelines" of your screenshot.
Here you can find more info.
https://developers.google.com/google-apps/gmail/gadgets_overview