Guides

Add scripts without code

If your site runs on Webflow, WordPress or another builder where changing code is hard, you can add vendor scripts from the Dashboard instead. Inth's script loads them on your site, under your consent settings, the same way it loads scripts declared in your code.

This feature is rolling out and may not appear in your organization yet.

Before you start

  • Your site must load inth.js or use the Inth SDK. The hosted c15t.js doesn't load scripts added from the Dashboard.
  • You need to be an owner or admin of the organization. Other members can see the scripts and their changes, but can't change them.
  • Have the script's ID ready, such as a Google Tag Manager container ID (GTM-ABC1234) or a Meta Pixel ID.

You can add these scripts:

  • Google Tag Manager
  • Google Tag
  • Meta Pixel
  • PostHog
  • Microsoft Clarity
  • TikTok Pixel
  • LinkedIn Insight Tag

You can't add a script by its address or paste in code.

Add a script

  1. In the Dashboard, open the project and select Script Registry under Consent.
  2. Select Add script, then search for the script and select it. Each script shows its risk level and whether Inth can load it.
  3. Enter its ID. Some scripts have more settings, such as Load mode or Region. Each starts on its usual value.
  4. Turn on Let Inth load this script. For a script Inth can't check, it's already on.
  5. Select Add and load (or Load for a script Inth can't check), then confirm. If you use an authenticator app, enter its current code.

The script starts loading on your site within a few minutes. It's listed under Loaded by Inth.

Let Inth load a script your code loads

Scripts your site loads itself are listed under Loaded by your code. To have Inth load one instead:

  1. Select the script.
  2. Turn on Let Inth load this script. If Inth doesn't know the script's ID yet, enter it and select Continue.
  3. Confirm. If you use an authenticator app, enter its current code.

Until you remove the script from your code or tag manager, your code's copy is the one that loads.

Change, turn off or remove a script

Select the script. Let Inth load this script turns it off, which stops it loading within a few minutes and keeps its settings. Turning it on again asks you to confirm.

Open the More loading actions menu (⋯) for the rest:

  • Change settings changes its ID or other settings. You confirm the change, with your authenticator code if you have one.
  • Remove script stops it loading and removes it. You can add it again later. For a script Inth also checks, this is Stop loading it: Inth stops loading the script and keeps checking the copy your code loads.

Select the changes link next to the script's settings to see who changed it, what changed, when, and whether an authenticator code confirmed it.

Authenticator code

If you have an authenticator app on your Inth account, adding a script, changing its settings and turning it on ask for its current 6-digit code. If you don't have one, you confirm in a dialog instead. Turning a script off and removing it never ask for a code, so anyone who can manage the project can stop a script without delay.

If your organization requires two-factor authentication, or you turned it on for your account, set up an authenticator app in your account settings before you add a script.

Who gets alerts

Every change to a script Inth loads is announced right away:

  • When a script is added, its ID changes or it's turned on, every owner and admin gets an email, whatever their notification settings.
  • Other changes, such as turning a script off, removing it or changing its load mode, email the people your notification settings choose for Dashboard scripts.
  • If you use webhooks, your endpoints get the remote_script.added, remote_script.changed, remote_script.enabled, remote_script.disabled and remote_script.removed events.

If you get an alert for a change nobody on your team made, turn the script off and check who has access to your organization.

Scripts in your code take priority

If your site's own code already loads a script, for example through the SDK's script list, the version in your code is used and the one Inth loads is skipped. Your code can also turn off loading scripts from the Dashboard.

Google Tag Manager

Anyone with access to your Google Tag Manager container can run code on your site through it, so the Dashboard lists Your Google Tag Manager account can add code among its risks. Check who has access to the container before you add it.

If your site's <head> already has a Google Tag Manager snippet, adding the container here loads a second copy. Remove the snippet, or keep the container in one place only.

When Inth pauses loading

Inth can pause loading scripts from the Dashboard for every site, for example during a security incident. While paused, none of them load, and you can't add, change or turn on scripts. You can still turn them off or remove them. The Script Registry page says when a pause is on.

Inth also blocks a vendor file when a check fails on it. Inth checks the vendor files that sites load through the Script Registry, not every file a script Inth loads can load. When a blocked file is one a script Inth loads, that script stops loading until the block is lifted. The people your notification settings choose for Script Registry get an email when the block starts and when the script loads again. A block applies to one file only: blocking PostHog's EU file doesn't stop a script that loads PostHog's US file.