Defining Nosto placements
Traditional div-element approach
<div class="nosto_element" id="frontpage-nosto-1" translate="no"></div>// Three separate <divs> after another on a page
<div class="nosto_element" id="frontpage-nosto-1" translate="no"></div>
<div class="nosto_element" id="frontpage-nosto-2" translate="no"></div>
<div class="nosto_element" id="frontpage-nosto-3" translate="no"></div>
// You can also add the class and id to an element you are already using for other purposes
<div class="sidebar nosto_element" id="nosto-sidebar" translate="no">
<h1>Hello World!</h1>
<h2>This is the sidebar</h2>
// You can also nest nosto elements within other wrapper elements
<div class="nosto_element" id="nosto-sidebar-nested-1"></div>
</div>Web component approach with <nosto-campaign>
<nosto-campaign>Basic usage
Advanced features
When to choose each approach
Setup and integration
Last updated
Was this helpful?