How to add links in google calendar through API - google-calendar-api

I need to add hyperlinks either through summary or through description in API.
For example, I tried it for summary, I added Google, it came as text and not as HTML format, whereas in description, it came as HTML format but i couldn't hyperlink in it but just edit it.
I saw another solution in stackoverflow but that solution was not feasible because it redirects to another page before we get the actual site (Link to add to google calendar)
Can you please say some possible ways to add a hyperlink in Google Calendar?

You have same scenario from this StackExchage post.
You can try this solution:
Yes you can, by using the HTML code link. I have a Google calendar set
up for a club, if you are in edit mode, it appears as text, if you are
not in edit mode , ie log out of your Google mail, than look at your
calendar, the link will work. I hope this helps.

Related

Linkedin doesn't display article description after sharing by customized URL

I don't know if anyone else experienced the same problem, but I just don't know why article description is not visible on my feed page after sharing.
I used these recommendations for customized URL sharing:
https://developer.linkedin.com/docs/share-on-linkedin
i.e. my link looks like this:
https://www.linkedin.com/shareArticle?mini=true&url=http://developer.linkedin.com&title=LinkedIn%20Developer%20Network&summary=My%20favorite%20developer%20program&source=LinkedIn
If you follow this link, you'll see that the summary ("My favorite developer program") is visible in the preview. However, this summary is not visible in my feed after sharing.
The same happens if I use tag within page markup instead of specifying "summary" directly in URL
I'll be very grateful for your advice.
You can only choose one option:
Indicate an image with an og:image tag, and your image will display.
Don't indicate an image, and then your description will display.
Do you want both an image and a description to display? Currently just not possible. Maybe put the text of the description into the image? I have no idea, it would just be nice if they made their API work according to their own documentation.
Source: Arguing with LinkedIn Support for 2 Weeks.

Image preview for web sharing in Line chat

I make a website and I try to share it via Line chat. It seems that Line chat has a feature to display web preview like Facebook does. My question is, how to control which image and description that will be shown in Line chat? I know for Facebook but I never know in Line. I have tried googling around but I don't know the keyword for it. The google result is not what I expected.
Thank you for your help.
I think what you are searching is using HTML Meta Tags on sites. Social Media such as facebook, twitter, etc. usually reads index.html's <meta> tags to provide a preview about the sites. You may learn more about meta tags here.

google analytics event tracking for PDF downloads, Generic approach

I need to implement the GA tracking event for PDF file downloads, For that had searched a lot and found out many code where i can add some code to links and track them from GA's content section, But the problem is I do have a lot of PDF link on the page and don't want to edit every link and I want the code to be generic for future uploaded links also.
So what would be the best approach for this task, Any referral links would do or any code would be highly appreciated .
Thanks in advance.
You can explore the use of Google Tag Manager, where you can create a generic tag that will return to you information for each individual link. GTM uses things called "macros" which is like a template that returns useful information including the clicked element's ID, or pathname (which in your case for the PDF files, would all be different). So in this way, you would only need to call this macro each time a PDF file is clicked. No coding is involved using this standard approach through GTM. Here's a link to a descriptive explanation: http://porcelainduck.com/2014/03/track-pdf-downloads-google-tag-manager/. You can see that it uses the {{element URL}} macro that returns the PDF's unique URL. GTM not only applies to current links, but also all future links.
Based on the tags which you've used to mark your question with you're using C#, ASP.NET
If that's the case, can't you create a base page that on rendering replaces all the
I would recommend adding a click event with JQuery to all links or all links inside the download widget class. Inside the click handler I would then grab the link text and use that as part of the Google analytics event you fire.

How to change onClick tracking for Universal Analytics?

On some of the websites I work on there is a facility to generate an online quote. If a visitor wants to generate a quote, they have to complete 4 steps, each with a "next" button at the bottom of the page. The URL does not change when moving on to the next step of the form so a virtual page view is sent each time a "next" button is clicked. This allowed me to set up a goal with funnel to see how visitors interact with the quote form.
This is what the piece of code I'm using currently looks like:
onClick="javascript:_gaq.push(['_trackPageview', '/Quote1']);"
I have now created a new Universal property in analytics where I'm going to set up and check my goals before upgrading the original property from the asynchronous version.
So, my question is, do I need to change this bit of code to work with Universal Analytics? Or will this work with both versions?
I'm a marketing guy and I know very little about coding so I'd really appreciate a response!
Cheers,
Andrew
Yes, you will need to the old code to the new Universal Analytics syntax, which should make a little more sense to you, marketing guy.
The updated code will look like this:
onclick="ga('send', 'pageview', '/Quote1');"
*I removed the javascript prefix from the onclick because it's redundant.

Is There a way to customize the IN/Company link for LinkedIn

I have inherited some code which uses uses the LinkedIn Company Profile API. At least that's what I think it is. Basically a script tag is rendered in the following format:
<script type="IN/CompanyProfile" data-id="9999" data-format="click"></script>
This together with .js file creates a link with the Linked-in logo which when clicked on reveals profile of company. Question is, can I customize the link. I want to add some text to the right of the linked in logo. I couldn't find any relevant documentation on it. I added a span tag with some text and attempted to wire up the click of the span, so that when clicked it clicks the linkedin icon. That doesn't seem to work-- which I found rather odd.
Any thoughts?
The Company Profile plugin builder is here:
https://developer.linkedin.com/plugins/company-profile-plugin
Customization of this plugin is limited to width (using data-width) at this time because of the complex layout. However, you could build something similar using the Javascript API if you need something more customized to your system.
This is another option that is more customizable, but has less interactivity:
https://www.linkedin.com/profile/profile-badges

Resources