This error means your account’s tag-live.js configuration file failed to load alongside the Invoca library — check your deployment for a missing or broken snippet.For the Invoca Tag to run successfully, two JS files need to load on your website:
invoca-latest.min.js(orpnapi_integration-latest.min.js): the library file, required for every account.tag-live.js: your account’s configured tag, set up within your network.
invoca-latest.min.js file loads via the tag snippet you added to your source code or tag manager. If tag-live.js has an error, or is missed during deployment, it fails to load — and you may see the error “Could not run because settings not initialized.” This means your tag configuration hasn’t loaded correctly.
Checking for this error
When you see this error in the console, check the Sources tab in DevTools to confirm both files are present.- If
tag-live.jsis missing: review how the tag is deployed and check for errors in your tag configuration, then make sure both files load as part of your tag’s deployment. - Check the tag snippet: confirm it was copied correctly and completely from your network settings and added to your website. A missing piece of the snippet can prevent the necessary files from loading.
- Check for a race condition: if you call
Invoca.PNAPI.run()yourself, it’s possible to trigger this error if the function runs before both files have finished loading — since the tag’s settings aren’t initialized yet at that point. Make sureInvoca.PNAPI.run()only runs after both files are fully loaded on the page.