Skip to main content

Majestic Configuration

The following guide shows you how to manage the Majestic backlink data configuration for your Lumar projects. Majestic integration enriches your crawl data with external backlink metrics.

Creating a Majestic configuration

Enable Majestic integration for a project:

mutation CreateMajesticConfiguration($input: CreateMajesticConfigurationInput!) {
createMajesticConfiguration(input: $input) {
majesticConfiguration {
enabled
maxRows
useHistoricData
useRootDomain
}
}
}

Try in explorer

Key configuration fields:

FieldDescription
enabledWhether Majestic data collection is active.
maxRowsMaximum number of backlink rows to import.
useHistoricDataWhen true, uses Majestic's Historic Index (larger dataset). When false, uses the Fresh Index.
useRootDomainWhen true, queries backlinks for the root domain. When false, queries the specific subdomain.

Querying the configuration

Retrieve the current Majestic configuration for a project:

query GetMajesticConfiguration($projectId: ObjectID!) {
getProject(id: $projectId) {
majesticConfiguration {
enabled
maxRows
useHistoricData
useRootDomain
createdAt
}
}
}

Try in explorer

Updating the configuration

Modify the Majestic configuration:

mutation UpdateMajesticConfiguration($input: UpdateMajesticConfigurationInput!) {
updateMajesticConfiguration(input: $input) {
majesticConfiguration {
enabled
maxRows
useHistoricData
useRootDomain
}
}
}

Try in explorer

All fields in the update input are optional -- only include the fields you want to change.