Fetch all pages as HTML from SDK

Hello,

I’m using the SDK to fetch all pages with { noTargeting: true } for local caching purposes. However, it doesn’t send over the <builder-component> wrapper and script tag in the HTML payload by default. Is there a way to pass in an option to do this? Thanks.

Hi, thanks for reaching out! You’ll want to use our HTML API in order to get the data you’re looking for. Feel free to reach out with any additional questions!