Buttons for social media

You can create two different types of social media buttons. The buttons can either share the current page on the respective social media – for example, a Facebook post on the user's own Facebook page about your fantastic news. Alternatively, the buttons can link to, for instance, the institute’s own profiles on social media.
Click the buttons below to see the difference.

How to do it

First, choose the purpose of the button, and then click the green 'Add Button' button below. If you want more than one button, click the green button again. For example, if you want a standard bar with sharing options for Facebook, Twitter, and email, you should click the green button three times.


The buttons purpose: Sharing: buttons that post content on the selected services. Links: references to profiles on the selected services.

Settings Value Explanation
Direction:
Icons: Indicates whether icons are displayed on the sharing buttons.
Air: Indicates whether there is space between the sharing buttons.
Advanced settings
HTML-element: Specify the ID (e.g., #box1) of the element that should be displayed.
Only necessary if you have more than one set of buttons per page.
Tracking: Google Analytics virtual tracking. Specify the name (e.g., virtual/social/pages)
Only necessary if you have more than one set of buttons per page.
Different-URL: Only fill out if the shared page should be different from the page where the button is placed (common for all buttons).
Different title: Only fill out if the title should be different from the title of the page where the button is placed (common for all buttons).

Preview


Here’s how to insert it on your page

Create an HTML element on the page in which you insert:



In the page settings for the page with the HTML field, under the "Extended" tab and the "Extra field for Javascript" field, insert: