How to render ads
Drop this Blade include wherever you want ads to appear. Change placement to match the location and adjust limit as needed.
Common placements
home– Homepage modules/gridssearch– Search results top/inlinelisting– Category/listing pagessidebar– Right/left railpost_top,post_inline,post_bottom– Blog/articlecheckout_thanks– Thank-you page (conversion pixel also fires here)
Recommended image sizes (for banner-type ads)
- Square thumb: 200×200
- Medium rectangle: 300×250
- Leaderboard (desktop): 728×90
- Mobile banner: 320×100 or 320×50
Tip: our current card layout shows a small thumbnail + title. Larger banners are supported as we enable the “banner” creative type.
Conversion pixel (example)
Place this on your order “thank you” page (or use the dev page):
<script>
fetch('https://www.labs.com.br/t/conv', {
method: 'POST',
headers: {'X-CSRF-TOKEN':'BsCNGOiyaTKa4MV77lnCXhV0pWqxia56XI5qrthx','Content-Type':'application/json'},
body: JSON.stringify({ value_cents: 10000, order_id: 'ORDER123', currency: 'BRL' })
});
</script>