Skip to main content

Troubleshooting Custom Code Issues in Stack

When working with custom JavaScript or HTML code in Stack, you might encounter issues if your code includes a <script> tag nested within a <div> tag. To resolve this, ensure that the <script> tag is placed outside and below the <div> tag. This adjustment aligns with the settings of Stack's funnel and website builder, allowing your scripts to function correctly.

By separating these tags, you can avoid potential validation errors and ensure your custom code runs smoothly.