Google Calendar API: Display Name doesn't work - google-calendar-api

I am faced with a strange problem: displayName property is not applied/saved on event level. Here is a link to the API documentation: https://developers.google.com/calendar/v3/reference/events
I fill in the displayName for the organizer and attendee in the event and then save this event. But in emails displayName is nowhere showing. I expect to see it ideally in the email as <{DisplayName}>#organizer email. That's an issue I am trying to solve but I see it nowhere at all. I read this event from google calendar using event id. And there's no property displayName in organizer and attendees fields.
I double checked and I use v3 of the Calendar API, so I believe I am checking documentation for the same API version I use in the code.

I understand that you create a Events resource and want to get the values for organizer.displayName and attendees[].displayName. In that case, then everything is working as described. In the Events resource it is stated that those properties are subject to disponibility. Also, in the case of attendees[].displayName, it is optional too. Both properties are writable, so ideally you could include them in your requests. Please, ask me any additional doubts.

the answer lies in the Google+ replacement, "Currents". If you have Google Apps for Business, make sure Currents is available for your users, and then from within Currents, make sure the users you want to have the 'displayName' appear for have an "active profile". As an admin for the organization, you can make profiles active on users' behalf. Once they have an active profile under Currents, the "displayName" will use the name associated with the account.

Related

Pulling Google Variable Into Hidden Field

I've started parsing out the Google UTMZ_ cookie and am looking for any possible way to push that information into Marketo hidden fields. I currently create and populate Marketo hidden fields based on Google Tracker fields, but I can't figure out how to do it with the fields in the attached image.
I'm wondering if anyone has any insights into how I could push those fields to a form. Below is the code I use for pushing Google Tracker fields to Marketo.
MktoForms2.whenReady(function(form){
ga(function(){
form.addHiddenFields({
GA_User_ID__c : ga.getByName('gtm1').get('userId')
});
});
});
Universal Analytics does not use utm cookies, and it does not have custom variables (they have been replaced by custom dimensions), so your version of the GA code does not match the information from your screen shot.
Since campaign attribution is now done completely on the Google servers you can no longer get the information via client side GA code. You would either have to pull that information via the API (which I do not think is feasible in runtime) or build your own solution to try and match Google's campaign attribution (as displayed here in a flowchart).

Tracking Member, Non-Members using GTM

i need too track Members and non-members in the website using google tag manager. specifically, it is important to distinguish users prior and after sign up process and not overwrite them as members (even though they entered the website and non-members). i don't want to push the data directly to the google analytic so i need to create tags in google tag manager to be fired.
any suggestion?
cheers
You might want to take a look at Custom Dimensions to track the status of visitors on your site. For more information on Dimensions, you may find more details on Google's Support pages: https://support.google.com/analytics/answer/1033861
This would allow you to segment the data and Reports in Analytics based on those Dimensions.
Otherwise, if you cannot send data to Google Analytics from Tag Manager, you might want to track users by settings cookies according the specific Rules. This article provides a gist of how to set cookies from within Tag Manager: http://www.simoahava.com/analytics/universal-analytics-fire-script-just-per-session/

Add custom events to website user's google calendar using calendar api

I envision a user visiting my mobile website (not an app), finding an important event with an associated date, being asked if they want to sync this date/event to their google calendar, saying yes, and my website depositing this event into their google calendar.
Their would be many events, and they would be based on user input, so it wouldn't work to just sync my calendar with theirs. I would have to insert a custom date/event into their calendar so they could track it.
Hopefully this makes sense. I haven't seen anything like this on the web but I'm sure it exists.
Thanks,
S
Take a look at the Google Calendar Event Publisher Guide. It sounds like it will meet your needs.

Shared Google calendar: how to find who updated event?

My team is using google shared calendar. Sometimes members blow away some events, I would like to see if there is a way to find out 'last updated by' and 'who updated specific event'
I could not find setting in Google calendar.
Thanks
There is no way to do this. However, rather than giving users editor rights to the calendar, you could simply give them read or freebusy access to the calendar and configure the calendar to auto-accept the events. Then when users need to create events on the shared calendar, they'd invite the calendar rather than creating the event directly on it. This gives each user access to modify only the events they own on the calendar.

How do I allow users to display LinkedIn profiles on my site?

I have a site (using PHP and JavaScript with jQuery) which allows users to display a profile, and I would like them to have the option of simply importing their LinkedIn profile, if they have one, rather than having to type everything in again.
I'm not sure what the best approach is here... I've read some of the LinkedIn API documentation, but I'm not even really sure which bit I need to look at.
The process should be:
User goes to profile management page
User is shown a checkbox saying "use my LinkedIn profile", and a textarea. If they don't want to type their profile into the checkbox, they check the checkbox, and somehow their Linked In profile is retrieved.
The LinkedIn profile is stored (or some kind of id is stored), so that the profile can be retrieved by anyone else at any time.
I'm not very familiar with the LinkedIn API, or with the site itself, so I'm not even sure what's possible. Does this sound possible, and if so, where do I start?
You can start with the User Profile tutorial here:
http://developer.linkedinlabs.com/tutorials/jsapi_profile/
The example uses jquery so it should be pretty easy for you to extend this to do what you want.

Resources