stcloud.cap.gov
Main Content

Adding Google Analytics and Calendar

Google for CAP Websites

Is a Google Account right for your Unit?

This page goes over

  • Advantages to having a Google Account

  • Setting up Google Analytics

  • Embedding a Google Calendar on your CAP.gov website

Advantages to a Google account for your Unit:

Google Analytics – used to see how many people and from where are accessing your website.

Google Calendar – can be embedded into a web page and edits can be done by someone that does not have access to the edit the SiteViz website. Edits to the Google Calendar are live edits and show automatically on the embedded calendar.

If you use the SiteViz calendar only people who can edit SiteViz can edit the calendar and the person in charge of the website may not be the one in charge of the calendar.

Google Email Address – can be accessed by several members instead of just going to one person’s account so that someone that is emailing the Unit gets a quick response. Staff can be added/removed/replaced when needed.

Google Docs/Forms – Files can be stored in Google Docs and multiple members can have access to different docs. In forms you can create a form that can be linked to the website , this allows someone to be able to submit requests to the account. Can include Uniform Request, Information Request, Attendance Forms, and many others.

Permissions – you can grant specific people permissions to specific folders if you have members that need access to a folder but not the whole account. Permissions can be changed at any time.

SCCS – All of the Command Staff has access to the shared Google account and can answer emails, change calendar items, and check the traffic of the website. We have specific files that specific staff members have access to but also the Command Staff. Staff can be added/removed/replaced when needed.


(All links below will open new browser windows outside the CAP.GOV domain.)


Google Analytics – used to see how many people and from where are accessing your website.

You can glean a lot of information through an analytics program. A sample of a few of the statistics that you can see when linking a Google Analytics account to your website is below – the stats are from the St Cloud Composite Squadron.

 


First you must register for a google account.

Get started with Analytics

Set up Google Analytics for the first time.

  1. Create an Analytics account. Go to google.com/analytics. To create an account, click Start for free. If you already have a Google Analytics account, click Sign into Analytics.
  2. Set up Analytics on your website and/or app.

Optional Activities

See Google Ads campaign data in your Analytics Behavior reports.

  1. Open Google Analytics.
  2. Click the 'Admin' tab.
  3. In the left-hand column, click Tracking Info.
  4. Click 'Tracking Code'
  5. Your code will be available here. For Universal Analytics users, the codes start with “UA.”

Add a Google calendar to your website

A Google calendar can be embedded into a web page and edits can be done by someone that does not have access to the website. Edits to the Google Calendar are live edits and show automatically on the embedded calendar. You can grant multiple members access to the account to edit the Google calendar on their end and it will appear automatically on the website. You can change permissions for who has access to the Google account at any time.

When adding a google calendar to your website you will go into your page and click on the “Source” icon. Unless you have done coding before it is recommended that you embed what you want to embed on a blank page and then add any additional wording or pictures so as to be working with a blank page instead of trying to insert the coding into an existing stream of code. Below is an example of entering the code for a Google calendar and then adding some text below.

Embed a calendar on your website

  1. On a computer, open Google Calendar. You can only get the code to embed in your website from a computer, not the Google Calendar app. 
  2. In the top right, click Settings   Settings.
  3. On the left side of the screen, click the name of the calendar you want to embed.
  4. In the "Integrate calendar" section, copy the iframe code displayed. Under the embed code, click Customize.
  5. Choose your options, then copy the HTML code displayed.

Your embedded calendar will only be visible to people you have shared it with. To allow all visitors to see your calendar, you will need to make it public.

Let site visitors same a calendar event

You can add a Google Calendar button to your website so visitors can quickly save your event on their own Google Calendars. To let someone save your calendar event, you'll need to make your calendar public.

  1. On a computer, open Google Calendar. You can only make changes to your calendar visibility from a computer, not the mobile app.
  2. On a public calendar, create or edit an event.
  3. Click More actions and then Publish event.
  4. In the "Publish event" window, copy the HTML code displayed.
  5. Open your website editor, then paste this code where you want the event button to display.

Example of St Cloud Composite Squadron’s calendar

 

You can have base information or go into more detail about the event. There are spots to link to for more details and, if set up, people can add it directly to their calendar.


© 2022 Civil Air Patrol. All rights reserved.