antoniocosentino
11/1/2018 - 9:17 AM

Embed Styla Areas

Snippets to embed Styla Areas

<!-- embed a single area -->
<div id="stylaMagazine" data-area="fashion"></div>
<script src="https://client-scripts.styla.com/scripts/clients/your-brand.js" async="" type="text/javascript" xml="space"></script>
<!-- end -->


<!-- embed multiple areas in the same page -->

<!-- this goes in <head> -->
<script src="http://client-scripts.styla.com/scripts/clients/your-brand.js" async type="text/javascript"></script>
<!-- -->

<!-- place these wherever you want in <body> -->
<div data-styla-content="areaA"></div>
<div data-styla-content="areaB"></div>
<!-- -->

<!-- end -->