Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

03c. Configuring Social Media

Andrew Welch edited this page Apr 18, 2019 · 2 revisions

No Maintenance Intended

DEPRECATED

This Craft CMS 2.x plugin is no longer supported, but it is fully functional, and you may continue to use it as you see fit. The license also allows you to fork it and make changes as needed for legacy support reasons.

The Craft CMS 3.x version of this plugin can be found here: craft-seomatic and can also be installed via the Craft Plugin Store in the Craft CP.

Social Media

These Social Media settings are used to globally define the social media accounts associated with your website.

They are used in combination with the SEO Template Meta settings to generate JSON-LD microdata, Dublin Core core metadata, Twitter Cards, Facebook OpenGraph, and as well as HTML meta tags.

None of these fields are mandatory; if you don't have a given social media account, just leave it blank.

  • Twitter Handle - Your Twitter Handle, without the preceding @
  • Facebook Handle - Your Facebook company/fan page handle (the part after https://www.Facebook.com/
  • Facebook Profile ID - Your Facebook Profile/Page ID. Click on the 'About' tab on your Facebook company/fan page, click on 'Page Info', then scroll to the bottom to find your 'Facebook Page ID'
  • Facebook App ID - Your Facebook App ID. Providing a Facebook Application ID for use with the Social Media Sharing feature is recommended, but optional. Learn More
  • LinkedIn Handle - Your LinkedIn page handle (the part after https://www.linkedin.com/in/ or https://www.linkedin.com/company/)
  • Google+ Handle - Your Google+ page handle, without the preceding +. If you have a numeric Google+ account still, just enter that.
  • YouTube User Handle - Your YouTube handle (the part after https://www.youtube.com/user/)
  • YouTube Channel Handle - Your YouTube handle (the part after https://www.youtube.com/c/)
  • Instagram Handle - Your Instagram handle
  • Pinterest Handle - Your Pinterest page handle (the part after https://www.pinterest.com/)
  • Github Handle - Your Github page handle (the part after https://github.com/)

You must have a Twitter Handle for SEOmatic to generate Twitter Card tags for you. Similarly, you should have a Facebook Profile ID for the Facebook Open Graph tags, but it's not required.

You can use any Craft environmentVariables in these fields in addition to static text, e.g.:

This is my {baseUrl}