If your website is built using a JAM Stack, ie React, NextJs, Gatsby, Vue etc, then due to the single page nature of these sites you will have to add the Hyperise initiate code inside the componentDidUpdate() function in the main app.js file.

componentDidUpdate() {
    if(hyperise) {
       imageId: 'hyperiseImage1',
       imageTemplate: 'P68KNHapR',
        autoStart: true,
        ipLookup: true
    }  }

The main JS script can be placed in the body as usual.