I've created a small user macro which return the page id: $content.getIdAsString()
Works quite well to add this to a page when in being in edit mode.
How, better where, to place this line to get this line automatically added (and non removalbe by users) to all confluence pages (in header or footer)?
Same question for external macros: I would like to have "Viewtracker" at bottom of every page.
I've tested "Admin > Layouts > Main layout", but did not find the right line where to add my code.
Did only get the macro-code renderdered as text (not executed) and often overlapping to the existing texts.
Thanks,
Markus
PS: Unfortunately Atlassian "lost" all my karma points when merging twom accounts...