graphiques-digitale/silverstripe-seo-facebook-domain-insights

Module for adding Facebook Domain Insights to SilverStripe.


Keywords
metadata, search, module, facebook, seo, optimization, engine, domain, Insights, silverstripe, optimisation
License
MIT

Documentation

Screenshot Screenshot Screenshot

Overview

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

It enables Facebook Insights ~ 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.

The whole module bunch is based largely on 18 Meta Tags Every Webpage Should Have in 2013.

Also, a good overview: 5 tips for SEO with Silverstripe 3.

Installation

Composer

  • composer require graphiques-digitale/silverstripe-seo-facebook-insights
  • run ~/dev/build/?flush

From ZIP

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

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.:

<head>
<% base_tag %>
$Metadata()
<!-- further includes ~ viewport, etc. -->
<!-- however, really don't include CSS & JS here ~ do it in the *_Controller of this class -->
</head>

This will output something along the lines of:

<!-- SEO -->
<!-- Metadata -->
<meta charset="UTF-8" />
<link rel="canonical" href="http://dev.seo.silverstripe.org/" />
<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 -->

Issue Tracker

Issues are tracked on GitHub @ Issue Tracker

Development and Contribution

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