Contentful CMS

Editing and creating content using Contentful

What is Contentful?

The Digital Experience team has migrated the marketing site to our new CMS tool, Contentful. Contentful is a Content Management System - it replaces all of the text files in our marketing site and replaces them with different Content Entries. Contentful also has a Media Library, where we are moving our images.

Why transition to a CMS?

As the GitLab marketing team and the marketing site evolves, we need a collaborative tool that allows for consistency across the marketing site.

Contentful terminology

  • Content: A Catch-all term for text or images on the marketing site
  • Content Type: A type of content. These include Cards, Heros, Buttons, etc and can all be viewed in Contentful under the Content Model tab. We have different classes of Content Types (Atoms, Molecules, Organisms)
    • Atoms: Base-level components that don’t contain other Content Types within them. Example: Buttons, Text
    • Molecules: Typically contain a combination of Atoms. Example: Hero, Card Group
    • Organisms: Commonly contain many Molecules or Atoms and are considered more complex. Example: Page
  • Entry: An Entry is considered one piece of content in a content type. For example, there are many Cards across the marketing site, but the Free card on the pricing page is one example of a Card Entry.
  • Field: Even the most basic Content Type typically has multiple fields. For example, a Button may seem small, but some fields it contains include the url it points to, the text on the button, perhaps an icon, maybe some tracking data. Each of these are considered Fields of the Button Content Type.

Which pages on our marketing site draw from the CMS?

Some pages still draw content from our Buyer Experience git repository due to page complexity and/or strict page ownership. Most of the content for our marketing site will be found in Contentful.

Subdirectory Source Notes
/ (Homepage) Contentful Moving to GitLab (issue)
/blog Contentful ——
/company Contentful ——
/customers Contentful ——
/diversity-inclusion-belonging/ Contentful Moving to GitLab (Issue TBD)
/events Contentful ——
/faster-together/ Contentful ——
/features Contentful Moving to GitLab (issue)
/free-trial Contentful ——
/get-started Contentful ——
/gitlab-duo GitLab ——
/partners Contentful ——
/platform Contentful Moving to GitLab (issue)
/press Contentful ——
/pricing Contentful Moving to GitLab (issue)
/privacy Contentful Moving to GitLab (Issue TBD)
/releases GitLab ——
/resources Contentful ——
/solutions Contentful ——
/support Contentful ——
/topics Contentful ——
/why-gitlab Contentful Moving to GitLab (Issue TBC)
Marketing campaign flows (ex-Pathfactory) Contentful ——
Navigation Contentful ——

How do we make changes to the marketing site with the CMS?

As owners of the marketing website, the digital experience team handles most large changes in order to drive business goals. However, we are not necessarily the subject matter experts and will defer to various teams when it comes to editing content. In general, these are the processes we try to adhere to:

For Top 10 (most visited/impactful) Pages

Any changes required for the following changes, must begin with an issue for the DEX team to reivew. Please create an issue per this process.

These pages have been developed through a data-driven design process with cross-functional collaboration and approval. Changes can be suggested however changes will only be made if they are alignment with GitLab marketing goals.

For component editing, re-arranging, adding new page sections, significant content changes

If you’d like to make changes to a page that typically is managed by another team, please tag that team prior to publishing your changes. A rough overview of ownership of different sections can be seen in the table below:

Table of page ownership

Team Pages/Sections
CMSO - Chief of Staff Company Announcements
Marketing Operations and analytics - Globalization & Localization Marketing site localization
Integrated Marketing - Digital Strategy SEO
Integrated Marketing - Corporate Events Events pages
Integrated Marketing - Regional Marketing Events, Resources, Marketing pages
Product Marketing - Global Content Blog, Case studies
Product Marketing - Product & Solutions Marketing Solutions pages, Topics pages
Product Marketing - Brand Strategy Brand activations, Assets
Dev Relations & Community - Contributor Success Technical articles
Dev Relations & Community - Developer Relations Technical articles, Community pages
Corporate Communications Company Announcements, Press releases

Contentful is great tool for making small updates to the content on any given page.

  • If you are a team that typically manages the content on the page in question, you should feel empowered to make the change and publish your changes.
  • If you’re changing content on a page that typically doesn’t belong to you but is an obvious mistake, please also go ahead and publish your changes.
  • If you’re making a change on a page that affects the tone of the page and are not an owner, please tag someone from the presiding team in the contentful comments section (or in an issue/MR/slack) prior to publishing your changes. This is not typically the Digital Experience team, but rather the relevant team that owns that content. We have created a rough table of ownership here to be used as a guide.

Roles and Permissions

We have various levels of access in Contentful. Most new members that are invited to the CMS are given Creator access, which allows them to edit content without publishing it. To get upgraded to Publisher access, please reach out to the digital experience team in slack.

  • Administrator: has full access to everything in the space.
  • CMS Administrator: can create, read, update, publish, and delete all content aside from Confidential entries. Can modify space settings, access existing API keys, and can create and update API keys.
  • Confidential: can create, edit, publish, archive and delete all content in a space, including Confidential content.
  • Creator: can create and edit all content in a space (aside from Confidential content), but cannot publish it.
  • Publisher: can create, edit, publish, archive and delete all content in a space (aside from Confidential content). This person should be able to administer their own team.

Confidential Tags

Contentful has a tagging feature that allows us to organize different content. It also allows us to configure access to each Tag, such that certain content can be hidden from certain users. We currently have a functioning Confidential tag, however the caveat is that anyone with access to that tag can see all confidential content. In the use case where a specific user or team needs their own, truly private content, we can create a new Tag and a new Role specifically for them.

Digital experience can create the Tag (Private), then create a new Role (preferrably with the same name to help keep everything organized) and add the users to that role. Digital experience will then need to add specific permissions for that Role including:

Allow:

  • Read, Write, Publish, Archive for regular entries
  • Read, Write, Publish, Archive for your new tag

Deny:

  • Read, Write, Publish, Archive for any other existing confidential tags

Note: Make sure you set the same rules on the Media tab in the new Role.

To get access to your own team tag, please reach out to the #digital-experience-team slack channel with your usecase, which users should have access, and how long you need this tag (i.e. is it for an upcoming release? Or is this a permanent feature that your team needs?). Please note that once we create the Tag, our team will likely lose access to the tag or any configurations, so teams should feel comfortable using the tag on their own prior to revoking access to Digital Experience admin.

Note: At this time, Contentful Administrators may have access to all tags in the space. This is still being tested - please discuss with Digital Experience.

The Review: DEx tag and permissions

Content that requires Digital Experience review prior to publishing is tagged with the Review: DEx tag. This has been configured in Contentful such that only users with a role of CMS Administrator in the about.gitlab.com space will be able to publish this content. Users with Publisher access and below will not be able to publish this content.

Note: If a user is a CMS Administrator in the space, but they are also on a team that only has Publisher access to that space, Contentful will default to the lowest level of access (Publisher). Be sure to check if a user is on a team if they are having trouble accessing content.

The Review: DEx tag has been added to content on the Pricing page and the Homepage. Any other pages that share an entry with the pricing page or homepage will also be affected by the tag permissions. I.e. if the FAQ section on the pricing page is used on another page, it will only be publishable by CMS Administrators regardless of which page a user is accessing it from.

Going forward, if any new entry is added to the pricing page or the homepage, content creators should add the Review: DEx tag to that entry. Please note that the tag does not automatically propagate down to the children of an entry, so the tag will need to be manually added to each child of an entry. For example, if you add a card that has a button as a child, both the card and the button will need to be tagged manually.

To add the Review: DEx tag to an entry in Contentful, go to the Tags tab of that entry, and use the dropdown to select the Review: DEx tag and hit Enter, and publish the change.

Resources for learning

  1. Editing Content
  2. Custom Pages
  3. Solutions Pages
  4. Caveats and Feature Wishlist

Requesting assistance from Digital Experience

  • Reach out to our team via #digital-experience-team on slack
  • Open an issue using our issue template

Requesting access to Contentful

Please fill out an access request here and tag your manager for approval as well as @laurenbarker from Digital Experience, and include the purpose for your request (i.e. to edit the marketing site, to edit the blog - these are managed in different spaces in Contentful). You will recieve an email invitation to Contentful as a Creator unless publish access is necessary.


Contentful CMS Custom Pages
Editing and making unique content with Contentful and custom components from Buyer Experience
Contentful CMS Solutions Pages
Editing and making unique Solutions pages with Contentful and custom components from Buyer Experience
Editing content in Contentful
Editing content in Contentful
Known knowns & feature wishlist
Things we know are not great and our wishlist of features
Partner Microsites
Creating and editing partner microsites using Contentful
Last modified May 31, 2024: Update contentful handbook page (3a689432)