Planet Company widget

Copy to the following code and paste it into your website’s source code to display the Planet Company embeddable widget on your website.

If you are using WordPress, you can paste this code directly into the content editor.

You can select from three different sizes as well as choose the language of the widget by modifying the respectful data attributes.

JavaScript widget

The JavaScript widget is a simple method of embedding the Planet Company widget on you website. Simply paste in the the following code to you website's template or in you CMS's content editor.

In tehcnical terms, it creates an <iframe> element to display your Planet Company badge.

There are three different layout sizes to choose from by modifying the data-layout attribute. You can also choose the language of the widget by modifying the data-lang attribute.

<!-- The Planet Company embed widget -->
<script async defer crossorigin="anonymous" src="https://assets.planetcompany.com/widget.js"></script>
<div class="planet-company-embed-widget-container"
data-id="0"
data-layout="large"
data-lang="en"
></div>
<!-- The Planet Company embed widget -->
data-id = This is your profile ID, do not change this
data-layout = small, medium or large
data-lang = en or fi

<iframe> widget

Alternatively you can use the iframe widget directly.

Small:

<iframe style="overflow-y: hidden;" border="0" cellspacing="0" scrolling="no" src="https://planetcompany.com/widget/?id=0&layout=small&lang=en" width="170" height="246" frameborder="0"></iframe>

Medium:

<iframe style="overflow-y: hidden;" border="0" cellspacing="0" scrolling="no" src="https://planetcompany.com/widget/?id=0&layout=medium&lang=en" width="262" height="351" frameborder="0"></iframe>

Large:

<iframe style="overflow-y: hidden;" border="0" cellspacing="0" scrolling="no" src="https://planetcompany.com/widget/?id=0&layout=large&lang=en" width="296" height="444" frameborder="0"></iframe>