Module for adding Facebook Domain Insights to SilverStripe.

v1.0.0 2016-07-04 10:32 UTC

This package is not auto-updated.

Last update: 2024-06-17 12:58:32 UTC


Build Status Scrutinizer Code Quality


This is a modular extension for graphiques-digitale/silverstripe-seo-metadata

It enables Facebook Domain Insights i.e. fb:app_id and fb:admins

It requires:

It is intended to be used alongside it's siblings:

These are all optional and fragmented from the alpha version SSSEO, which is now redundant.



  • composer require graphiques-digitale/silverstripe-seo-facebook-domain-insights
  • rebuild using /dev/build/?flush

From ZIP

  • Place the extracted folder silverstripe-seo-facebook-domain-insights-{version} into silverstripe-seo-facebook-domain-insights in the SilverStripe webroot
  • rebuild using /dev/build/?flush

CMS Usage

The Facebook App ID is set globally via /admin/settings/ under the Metadata tab.

Facebook Admins are added by adding Members/users to the at the same location above.

Admin IDs are set against the actual users on their /admin/security/ page.

Template Usage

Depending on your configuration, the general idea is to replace all header content relating to metadata with $Metadata() just below the opening <head> tag and $BaseHref() function, e.g.:

    <% base_tag %>
    <!-- further includes ~ viewport, etc. -->

This will output something along the lines of:

    <base href=""><!--[if lte IE 6]></base><![endif]-->

    <!-- SEO -->
    <!-- Metadata -->
    <meta charset="UTF-8" />
    <link rel="canonical" href="" />
    <title>Your Site Name | Home - your tagline here</title>
    <meta name="description" content="Welcome to SilverStripe! This is the default home page. You can edit this page by opening the CMS. You can now access the developer documentation, or begin the tutorials." />
    <!-- Facebook Insights -->
    <meta property="fb:app_id" content="FacebookAppID123" />
    <meta property="fb:admins" content="AuthorFacebookProfileID123" />
    <!-- END SEO -->

    <!-- further includes ~ viewport, etc. -->

Issue Tracker

Issues are tracked on GitHub @ Issue Tracker

Development and Contribution

Please get in touch @ if you have any extertise in any of these SEO module's areas and would like to help ~ they're a lot to maintain.


BSD-3-Clause license

See @ Why BSD?