Before starting to implement a Dynamic Flow, make sure you're familiar with embedding a regular, static Flow, as described in this guide.

Tag Flows are a great way to dynamically extend your regular Flows by pulling in posts sharing one or many tags. 🌞

In order to create a Dynamic Flow based on tags, you need to first have collected posts with tags added in Moderate. 🏷

You then add the embed script to your HTML source, the same as for static Flows, but you also tell the embed script which posts to show by passing in an array of tags when calling init :

<script>
  window.flowbox('init', {
    container: '#js-flowbox-flow',
    key: 'Your-Flow-Key',
locale: 'language-COUNTRY',
    tags: ['summer', 'sun'] // Display posts that have either "summer" or "sun" as tags
  })
</script>
  • The key property is the Flow key. The easiest way to find this is by copying it from the 'Copy Flow Key' option in the meatball (three-dot) menu in Moderate in Flowbox:
  • The locale needs to have both a language and a country code to work correctly: e.g. sv-SE or da-DK. In order to get a correct translation, you will have to pick a locale from the list of supported locales. If you pass in an unsupported locale, buttons and text will be displayed in English.
  • NOTE: Please also make sure to use language-COUNTRY instead of language_COUNTRY. For more info on which languages we support, please visit this page.

Additional parameters

You can also change the behavior of the Dynamic Flow to include posts that have one or all of the tags added by passing in the tagsOperator property to init . This supports the following options:

  • all  meaning "the Dynamic Flow will pull in posts that are tagged with all the tags in the list." This is used by default.
  • any  meaning "the Dynamic Flow will pull in posts that are tagged with one or more of the tags in the list."
<script>
  window.flowbox('init', {
    container: '#js-flowbox-flow',
    key: 'Your-Flow-Key',
    tags: ['summer', 'sun'],
    tagsOperator: 'all' // Display posts that have *both* "summer" and "sun" added as tags
  })
</script>

Interactive example – switching between Tags 

Check out this article to view an interactive example of switching tags in a Tag Flow!

Tagged posts in Flowbox are always displayed in order of 'most recently tagged' unless you have enabled our AI algorithm Flowscore to automatically sort content based on engagement.


As an example - you have 2 posts that you wish to apply the same tag for.

  • Post A was originally posted online in the last hour. You tag this post first.
  • Post B was shared online yesterday. You tag this post second.

These posts will now be sorted based on which you tagged most recently, even if Post A was originally shared first, Post B will always show up first in your Dynamic Tag Flow.

Additional resources

Did this answer your question?