inserting google into search confluence cloud

Hi Guys, 

I'm helping a client setup a basic confluence site and they have asked about embedding some HTML. It seems very easy in a server based installation, but more problematic in a cloud version. 

Specifically, they are after two a google search box (that searched the internet not the confluence site).

I downloaded an add-in that enable embedding html. Is that the best way to do this given these guys are a cloud instance?

I'm also struggling to find the right code that will allow a google search. Can't believe it's not plastered everywhere!

Assistance would be appreciated. 




1 answer

Hi Damian,

I've just had a go and have got a search box working using the HTML macro included in our add-on, Macro Toolbox for Cloud ( I've tested it in Chrome/IE11, attached the code I used and a screenshot of how it looks.

Let me know how you go, happy to help with any issues smile

<form method="get" class="aui" action="" target="_blank">
    <input class="text long-field" type="text" name="q" placeholder="Enter your Google search">
    <button type="submit" class="aui-button aui-button-primary">Search</Button>


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

778 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you