Configuring SEO Features

Varbase bundles several SEO-related enhancements for top-notch search engine optimization.

Varbase SEO Module

Varbase SEO features are bundled through the Varbase SEO module. GitHub:

After building a project using the varbase-project template, you can see the code of the Varbase SEO module in:

|-- docroot
|-- modules
|-- contrib
|-- varbase_seo

These modules include:



RDF module

(in Drupal core)

Enriches your content with metadata to let other applications (e.g. search engines, aggregators) better understand its relationships and attributes.

Metatag module and its submodules

Manage meta tags for all entities.

Pathauto module

Provides a mechanism for modules to automatically generate aliases for the content they manage.

Redirect module and its submodule

Allows users to redirect from old URLs to new URLs. Metatag module

Base module for creating JSON-LD structured data defined with Metatag module.

Real-time SEO for Drupal module

Adds Real-time SEO page analysis and configuration

Script Manager module

Manage JavaScript snippets included in your website.

Google Analytics and Google Tag Manager

When you install Varbase, Google Analytics and/or Google Tag Manager modules can be optionally installed.

[insert screenshot of install optional components]

Google Analytics

The Google Analytics module adds the Google Analytics web statistics tracking system to your website.

The module allows you to add the following statistics features to your site:

  • Single/multi/cross domain tracking

  • Selectively track/exclude certain users, roles and pages

  • Monitor what type of links are tracked (downloads, outgoing and mailto)

  • Monitor what files are downloaded from your pages

  • Custom dimensions and metrics support with tokens

  • Custom code snippets

  • Site Search support

  • AdSense support

  • Demographics and Interests support (formerly known as DoubleClick remarketing support)

  • Anonymize visitors IP address

  • DoNotTrack support (non-cached content only)

  • Drupal messages tracking

  • Modal dialog tracking (Colorbox)

  • Access denied (403) and Page not found (404) tracking

  • Cache the Google Analytics code on your local server for improved page loading times

  • Enhanced Link Attribution support

  • User ID tracking across devices

  • Changing URL fragments can be tracked as pageviews

  • Debug mode with analytics_debug.js

Google Tag Manager

The Google Tag Manager module allows your site to integrate with Google Tag Manager (GTM) application, which allows you to deploy analytics and measurement tag configurations from a web-based user interface (hosted by Google) instead of requiring administrative access to your website.

To use the module, sign up for GTM and obtain a "container ID" for your website. For development purposes, create a GTM environment for your website.