Skip to end of banner
Go to start of banner

How to track Redirection app usage?

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Purpose

To track the usage of the Redirection for Confluence Server app throughout the Confluence instance.

Answer

Here are some solutions to track Redirection’s macro usage:

Using Confluence macro

  • Use Confluence’s Macro Usage feature to track Redirection macro usage:

    • In Confluence, go to SettingsGeneral Configuration > Macro Usage.

Using SQL query

  • Use the SQL query below to track all pages using Redirection macro:

SELECT c.contentid, c.contenttype, c.title, s.spacekey
FROM CONTENT c
JOIN BODYCONTENT bc
	ON c.contentid = bc.contentid
JOIN SPACES s
	ON c.spaceid = s.spaceid
WHERE c.prevver IS NULL
	AND c.contenttype IN ('PAGE', 'BLOGPOST')
	AND bc.body LIKE '%ac:name="redirect"%'; 

For more information on the SQL query, read How to find all pages and spaces that use a specific macro via SQL.

Using Reporting app

  • No labels