You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
However the "Enabling HTML macros" page mentions that it does not work with Confluence OnDemand:
I cannot see any "HTML" Macros in my "Manage Plugins" page.
Am I doing it wrong? How can I get HTML into a page!?
Frustasted OnDemand User
It's many years later now, but I thought it might still help you or others who stumble upon this question.
We've created a HTML macro as part of our toolbox of useful Confluence Cloud macros. It lets you securely embed any custom HTML and JS into any Confluence page or blog.
Try it here: https://marketplace.atlassian.com/1215202
It does seem like it works – Using the
HTML macro I just threw in the Google Tag Manager code and used that to load GA (and anything else we want in the future)
Any ideas on:
Retroactively adding a tag to all pages?
Setting it up so its added by default to all new pages?
I’ve done some digging through the docs and web and with Cloud I haven't yet found any easy ways to retroactively add a macro to multiple pages or make it a default for new pages. Potentially could use a page template but you’d have to remember to select it when you create a page which isn’t ideal.
Adding a specific macro...
A macro specifically for GTM could be a possibility. Out of interest, are you using Tag Manager + GA to help measure your team's engagement in Confluence?
FYI company behind Macro Toolbox was acquired by Atlassian and they decided to discontinue this app (including HTML Macro).
As an alternative option, you can use our app HTML Macro for Confluence
available in Marketplace.
Fraid' it isn't possible to use the HTML macro in Confluence OnDemand, or anywhere in OnDemand for that matter.
Sorry for the bad news :( it's very likely to remain restricted.
How about allowing the HTML Macro but with scripting disabled for on demand? I would like to include a lot of swf with some custom parameters but the way it looks right now I will have to make (and maintain) a custom html for each individual include, which would result in alot of work.
Is there any other way how I could pass a parameter to an swf from within confluence? Thanks a lot in advance!
<embed src="some.swf?file=../somefile.xml&mode=view&width=600&height=300" width="600x" height="300px">