Meta Momentum is an Umbraco Data Type editor to manage SEO Title & description tags and Open Graph / Twitter Cards, with a visual representation of how it will look in a Google Search / Social Platform.
Search features
The search display follows googles search restrictions in terms of titles being restricted by width, instead of a character count. This gives the user a good idea on how the title / description will show in an actual google search.
Additionally, you can specify fallbacks to other text properties in the document, so that the title for instance will fall back to a "Page Title" property if no title tag is supplied by the user.
Share Features
The Socal Share preview will give an acurate preview of the Facebook, Twiter and Linked in share previews. The content editor can swtich between the 3 previews to see how they will look when shared.
You can specify falbacks to other text fields for the share title and description.
Backwards Compatible with Seo Metadata...
This plugin was inspired by Seo Meta by Ryan Lewis which I've used for Umbraco 7 for many years and was no longer being maintained and not avaliable for Umbraco 8.
If you were using this plugin in Umbraco 7, you can replace your SeoMetadata document type with Meta Momentum without any migration of data, or mucking around.
Installation
You can either install the plugin is though Nuget or using the package manager in Umbraco.
`Install-Package MetaMomentum`
After installation, you can create and configure a new MetaMomentum Data Type Umbraco -> Settings -> Data Types -> New Data Type.
Configuration
Canfiguration can be done via the following Data Type setting fields:
App Settings
Additional global configuration can be added via the web.config AppSettings
Usage
There is a razor file that can be found under `/Views/Partials/Metamomentum/RenderMetaTags.cshtml` which will write out the specific tags.
This can be included in the head of each page like the following (where `metaMomentum` is the DataType alias):
@Html.Partial("MetaMomentum/RenderMetaTags", Model.Value("metaMomentum"))
Alternatively, you can access each of the properties using the following syntax:
Title: @Model.Value<MetaMomentum.Models.MetaValues>.Title
Description: @Model.Value<MetaMomentum.Models.MetaValues>.Description
Share Title: @Model.Value<MetaMomentum.Models.MetaValues>.ShareTitle
Share Description: @Model.Value<MetaMomentum.Models.MetaValues>.ShareDescription
Share Image: @Model.Value<MetaMomentum.Models.MetaValues>.ShareImageUrl
Open Graph Site Name: @Model.Value<MetaMomentum.Models.MetaValues>.OGSiteName
TwitterName: @Model.Value<MetaMomentum.Models.MetaValues>.TwitterName
Or with Models Builder, strongly typed models:
Title: @Model.MetaMomentum.Title
Description: @Model.MetaMomentum.Description
Share Title: @Model.MetaMomentum.ShareTitle
Share Description: @Model.MetaMomentum.ShareDescription
Share Image: @Model.MetaMomentum.ShareImageUrl
Open Graph Site Name: @Model.MetaMomentum.OGSiteName
TwitterName: @Model.MetaMomentum.TwitterName