Twitter follower embeds

Embed your live Twitter follower count on any website

Mac and iOS widgets showing Twitter follower count.

1. Sign up to ilo

ilo is a Twitter analytics product, which offers a detailed dashboard for monitoring your tweet performance and follower growth.

View an example dashboard

ilo costs $15/month or $120/year after a free 14-day trial.

Sign in with Twitter to get started.

2. Add the JS file to your HTML

To make the embeds work on your website, copy the following line of code and paste it into your website's HTML. It should go towards the bottom of your page near the closing </body> tag.

<script src="https://cdn.ilo.so/embed.js" async></script>

3. Embed a counter

Now go to the place you want your Twitter follower count to appear and paste in the following code, replacing USERNAME with your own Twitter username.

<span data-ilo-count data-ilo-username="USERNAME"></span>

By default, the full number (eg 14,303) will be shown. If you'd rather show a formatted version similar to Twitter (eg 14.3K), use the following code...

<span data-ilo-count data-ilo-username="USERNAME" data-ilo-format="short"></span>

That's it!