Sharing Bar

Jump to:

 

What You Will See

The sharing bar is a tool that allows you to share public links to social media, get public links for linking to various services, get internal links for using in your call to actions, and a login button if you're not logged in. This bar will only appear while you are accessing the edit server. It will not be visible externally.

You can expect to see two different versions of this bar while working on your subsite. The first is a blue bar containing links for sharing, getting links, and logging in.

 

Content Share Bar
The content sharing bar as it appearsa on a shareable page.

 

The second form of this bar appears as a yellow bar displaying a warning message. This bar will appear any time you are on a page that does not have a public representation available. You can expect to see this on any administrative pages (find content, login page, etc.), unpublished pages, or when you are editing a page.

 

The content sharing bar on an administrative page
The content sharing bar as it appears on an administrative page.

 

For any of the links that open a modal window, you can close the window by clicking outside of it or by clicking on the close X in the top right corner.

 

Social Media Sharing

The   Share button opens a menu of various social media services that you can share to directly. In order to share to a listed service, simply click on the service and a window for the service will pop-up prepopulated with a link to your page. If you wish to use an HTTPS link or include a Google Analytics tracking campaign, open the settings menu before clicking on the service you wish to use.

 

Social media service listing
Clicking on Share will provide you with a list of social media services.

 

Social Media Sharing Settings

The sharing settings can be found by clicking on  Settings. In the Social Media settings section you will find the option to use HTTPS instead of HTTP and the ability to use a Google Analytics tracking campaign.

 

Social media sharing settings
The social media sharing settings

 

Google Analytics Campaigns

More information on Google Analytics campaigns.

You can create an Analytics campaign URL right within the share bar by checking the Include analytics campaign option in the Settings menu. Depending on the medium you are using to distrubute the campaign URL you may not need to fill in all the fields. This campaign information will be used when using the social media sharing links below the settings section (as seen above). Simply enter the required campaign information and click on the sharing method. Alternatively, you can choose to Copy to clipboard and it will copy the sharable URL right to your system clipboard so that you can paste it into an e-mail, use it for ads, etc.

 

The analytics campaign options
The Analytics campaign options. Not all fields are required for all campaigns.

 

If you are unsure of which fields you need for a specific method, you can click on the more information button next to the field (denoted by a icon). Clicking on the more information button will open a help box below the field.

 

One of the more information boxes
An example of an open more information box.

 

Once you have the necessary fields filled in, you can choose a social media service to share to or click on Copy to clipboard. Medium and Source information will be automatically added for most social media services. You will be alerted if you need to fill in another field.

 

A campaign being shared to Twitter
A campaign being shared to Twitter.

 

If you choose to use the Copy to clipboard function a message will alert you to whether or not it was copied successfully. If you are using Safari you may be prompted with a "Press Ctrl+C to copy to clipboard" message on Windows or a "Press ⌘+C to copy to clipboard" message on a Mac as Safari does not support the method used to copy to clipboard.

 

Campaign with sample values entered
A successfully copied campaign URL.

 

Getting Links

The  Get Link button will open a menu that allows you to get both public links to the current page and an internal link for use in other content. It is designed to allow editors to quickly grab a link to any publicly viewable page on their site. You should always use the HTTPS option when sharing webforms. For any of the links clicking on Copy will copy the link directly to your clipboard.

Note to Safari users: Safari does not support copying to clipboard through this method. Upon clicking on Copy you will be prompted with a "Press Ctrl+C to copy to clipboard" message on Windows or a "Press ⌘+C to copy to clipboard" message on a Mac. Pressing the appropriate key combination will copy the URL or path to the clipboard.

 

Links for Public Access

There are two options for getting a public link:

  • Public Link
  • Public Link (HTTPS)

The HTTPS allows you to provide the user with a more secure link. This link uses an encrypted connection. For standard pages this is not necessary, but it should be used for webform content.

 

Get a link menu
Clicking on Get Link will provide you with a few different options for your links.

 

Links for Internal Usage

There are two options for internal usage links:

  • For Internal Content (aliased)
  • For Internal Content (unaliased)

Both of these options will work for things like the URL in Call to Action content or Hero Image content. This also helps when determining paths for block placement (see: Managing Blocks). In general, the unaliased path will be the Node ID.

Note: If you are on a view page (such as the news listing) the unaliased option will not be available since the page does not have a Node ID. 

A node ID copied to clipboard
The Get Link menu can also provide internal paths.

 

Best Practices For Sharing Links

  • Always use the HTTPS option when sharing webform content.
  • When using the internal path in content such as Call to Actions, the unaliased path (Node ID) will work even if the page alias changes

 

Working on the Staging Server

If you are working on the staging server, you will not see the blue version of the bar. Instead, you will see a yellow version of the public bar containing a limited number of the same tools.

 

An example of the bar on a staging server
An example of the share bar as it would appear on the staging server.

 

Since sharing is disabled, the  Share and the  Get Link buttons behave a little differently. The share menu will display a message informing you that sharing is disabled, and the link menu will only provide internal links since there is no public location available.

Staging server share menu
The share menu as it appears on a staging server.
The get link menu on a staging server
The get link menu as it appears on a staging server.