Profile
Login

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/grids
  • search – Search results top/inline
  • listing – Category/listing pages
  • sidebar – Right/left rail
  • post_top, post_inline, post_bottom – Blog/article
  • checkout_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://labs.com.br/t/conv', {
  method: 'POST',
  headers: {'X-CSRF-TOKEN':'NTRPz8sP7MdkeYNRQMXBia4AQVkrw8wjhDoBgPn8','Content-Type':'application/json'},
  body: JSON.stringify({ value_cents: 10000, order_id: 'ORDER123', currency: 'BRL' })
});
</script>