PricingBlog

Script content not SSR?

  • j.ulian4976-1451511423241949336

    J.ulian

    24 days ago

    Hi, why isn't the result of this simple formula visible in the page source (but available in the dev tools element tree)? Many thanks, guess there is a simple explanation for this...
    1451511424038993980-image.png
  • erikbeus-1454061500007452694

    Erik Beuschau

    17 days ago

    I’ll check when I’m back from vacation 👍
  • erikbeus-1457657465142251641

    Erik Beuschau

    7 days ago

    We only render script tags during SSR if they're defined as head elements https://docs.nordcraft.com/pages/page-configuration#head-elements
    This is partly due to a restriction in our current rendering setup that would otherwise cause scripts to run twice.
  • j.ulian4976-1457744700940357723

    J.ulian

    7 days ago

    Thanks for checking, @Erik Beuschau !
    Hopefully you and your team can address this in the future, this way - for example - structured data can be attached to relevant components.
  • erikbeus-1457745719199793308

    Erik Beuschau

    7 days ago

    That would make a lot of sense 👍
    👍1