Delay Loading A Script

Job ID: 34931662

Budget: $10 – $30 CAD

Hello,

I'd like to load a script with an adjustable delay of 5 seconds after the page loads.

Here is the script I'd like to add a delay to:
<script type="application/javascript" src="https://a.exoclick.com/tag_gen.js" data-goal="b009a805a5d2104fab5855e5656e3ab5" ></script>

I've had an issue where adding the delay breaks the script, so the script still needs to work after the delay happens.
Related categories: PHP JavaScript AJAX HTML jQuery / Prototype