Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
script-via-gtm [2024/03/15 10:38] – evaldas-luksys | add-script-via-gtm [2024/03/15 10:39] – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Steps: | ||
- | - Create DOM Ready trigger (if you already have this trigger, let's move to the next step) | ||
- | - Add Tag | ||
- | - Publish changes | ||
- | ==== Create a DOM Ready trigger ==== | ||
- | |||
- | Firstly let's create a DOM Ready trigger, as shown below: | ||
- | |||
- | Step 1: Click to create new trigger | ||
- | |||
- | {{: | ||
- | |||
- | Step 2: Enter trigger name and click on trigger configuration section | ||
- | |||
- | {{: | ||
- | |||
- | Step 3: Choose DOM Ready trigger | ||
- | |||
- | {{: | ||
- | |||
- | Step 4: Save the new trigger | ||
- | |||
- | {{: | ||
- | |||
- | ==== Add Tag ==== | ||
- | |||
- | Step 1: Click to create new tag | ||
- | |||
- | {{: | ||
- | |||
- | Step 2: Enter tag name and click on tag configuration section | ||
- | |||
- | {{: | ||
- | |||
- | Step 3: Choose tag type - Custom HTML | ||
- | |||
- | {{: | ||
- | |||
- | Step 3: Add the script to the HTML section and choose our created DOM ready trigger | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | ==== Publish changes ==== | ||
- | |||
- | Step 1: click to submit changes | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | Step 2: In this step we can see our changes and we can click to publish them | ||
- | |||
- | {{: | ||
- | |||
- | Step 3: Here we can enter Container version name and description and click Continue. Otherwise, if we don't want to enter anything here, we can just click to Skip | ||
- | |||
- | {{: | ||
- | |||
- | Now the script should be added to your website. |