---
title: How to add a Script to Google Tag Manager via Custom HTML Tag?
description: The objective of this article is to provide a step-by-step guide for adding a script to Google Tag Manager using a Custom HTML tag.
---

[Skip to content](https://grow.dentalmarketing.com/university/adding-a-script-to-google-tag-manager-via-custom-html-tag#main-content)

English

Show submenu for translations

[Customer portal](https://grow.dentalmarketing.com/tickets-view?hsLang=en)

![DentalMarketing-Logo2-White copy-1.png\]](https://grow.dentalmarketing.com/hs-fs/hubfs/DentalMarketing-Logo2-White%20copy-1.png?height=40&name=DentalMarketing-Logo2-White%20copy-1.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Customer portal](https://grow.dentalmarketing.com/tickets-view)
- [Don't see the SOP you're looking for? Submit your suggestion here.](https://share.hsforms.com/1Fk5_GHeGTTqeJyg4BwR0CAdihez)

[Don't see the SOP you're looking for? Submit your suggestion here.](https://share.hsforms.com/1Fk5_GHeGTTqeJyg4BwR0CAdihez)

 Welcome! What article can we help you find?

- There are no suggestions because the search field is empty.

1. [Internal](https://grow.dentalmarketing.com/university?hsLang=en)
2. [Paid Media SOPs](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en)
3. [Google Ads](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#google-ads)

# How to add a Script to Google Tag Manager via Custom HTML Tag?

## The objective of this article is to provide a step-by-step guide for adding a script to Google Tag Manager using a Custom HTML tag.

### Requirements:

- Access to a Google Tag Manager account (flex@donato.ai)
- The script that needs to be added to the website

### Procedure:

**Step 1:** Log in to Google Tag Manager

1. Open a web browser and go to the Google Tag Manager website (tagmanager.google.com).
2. Enter your login credentials and click "Sign in" to access your Google Tag Manager account.

**Step 2:** Create a new tag

1. In the Google Tag Manager dashboard, click on the desired container where you want to add the script.
2. Select "Tags" from the left-hand side menu.
3. Click on the "New" button to create a new tag.

**Step 3:** Configure the Custom HTML tag

1. Give your tag a descriptive name in the "Tag name" field.
2. Click on the "Tag configuration" section.
3. Select the "Custom HTML" tag type.
4. In the "HTML" field, paste the script code that you want to add.
5. Optionally, add any necessary triggers or variables based on your requirements.
6. Click "Save" to save the tag configuration.

**Step 4:** Publish the changes

1. Click on the "Submit" button located at the top-right corner of the Google Tag Manager dashboard.
2. Add a descriptive version name and description for the changes you made.
3. Click "Publish" to publish the changes and make them live on your website.

**Step 5:** Verify the implementation

1. Open your website in a web browser.
2. Right-click on the page and select "Inspect" or "Inspect Element" to open the browser's developer tools.
3. Navigate to the "Console" tab in the developer tools.
4. Look for any error messages related to the script you added. If there are no errors, the script has been successfully implemented.

**Step 6:** Test the script

1. Perform any necessary actions or triggers on your website that should activate the script.
2. Monitor the desired analytics or tracking platform to ensure that the script is working as expected.

**Note:** Ensure that the script code you add via the Custom HTML tag is valid and doesn't conflict with the existing website's code. Also, remember to follow best practices and test thoroughly before deploying the changes to a live environment.

**Conclusion:** By following this SOP, you can successfully add a script to Google Tag Manager via a Custom HTML tag. This allows you to easily manage and deploy scripts on your website without directly modifying the website's source code.

- [Paid Media SOPs](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#main-content)

    - [Account Management & Updates](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#account-management-updates)
    - [Facebook Ads](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#facebook-ads)
    - [Google Ads](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#google-ads)
    - [Microsoft Ads](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#microsoft-ads)
    - [GMB](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#gmb)
    - [SEO](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#seo)
    - [Optmyzr](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#optmyzr)
    - [Google Analytics](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#google-analytics)
    - [Google Tag Manager](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#google-tag-manager)
    - [Google Ads Editor](https://grow.dentalmarketing.com/university/paid-media-sops?hsLang=en#google-ads-editor)
- [Creative Team SOPs](https://grow.dentalmarketing.com/university/creative-team-sops?hsLang=en#main-content)

    - [Mail LP](https://grow.dentalmarketing.com/university/creative-team-sops?hsLang=en#mail-lp)
    - [Lost Client](https://grow.dentalmarketing.com/university/creative-team-sops?hsLang=en#lost-client)
- [Client Success SOPs](https://grow.dentalmarketing.com/university/client-success-sops?hsLang=en#main-content)

    - [Photoshoot](https://grow.dentalmarketing.com/university/client-success-sops?hsLang=en#photoshoot)
    - [Claude Design Landing Pages](https://grow.dentalmarketing.com/university/client-success-sops?hsLang=en#claude-design-landing-pages)
- [Technology SOPs](https://grow.dentalmarketing.com/university/technology-sops?hsLang=en#main-content)

    - [Dashboard](https://grow.dentalmarketing.com/university/technology-sops?hsLang=en#dashboard)
    - [ChatGPT](https://grow.dentalmarketing.com/university/technology-sops?hsLang=en#chatgpt)
    - [HubSpot](https://grow.dentalmarketing.com/university/technology-sops?hsLang=en#hubspot)
    - [Other](https://grow.dentalmarketing.com/university/technology-sops?hsLang=en#other)
- [Company Information SOPs](https://grow.dentalmarketing.com/university/company-information-sops?hsLang=en)
- [Direct Mail SOPs](https://grow.dentalmarketing.com/university/direct-mail-sops?hsLang=en)
- [Organic Social Media SOPs](https://grow.dentalmarketing.com/university/organic-social-media-sops?hsLang=en#main-content)

    - [Content Creation](https://grow.dentalmarketing.com/university/organic-social-media-sops?hsLang=en#content-creation)
    - [OB Process](https://grow.dentalmarketing.com/university/organic-social-media-sops?hsLang=en#ob-process)
- [Compliance Team SOPs](https://grow.dentalmarketing.com/university/compliance-team-sops?hsLang=en#main-content)

    - [WhatConverts](https://grow.dentalmarketing.com/university/compliance-team-sops?hsLang=en#whatconverts)
    - [Tickets](https://grow.dentalmarketing.com/university/compliance-team-sops?hsLang=en#tickets)
    - [Edits](https://grow.dentalmarketing.com/university/compliance-team-sops?hsLang=en#edits)
    - [Websites](https://grow.dentalmarketing.com/university/compliance-team-sops?hsLang=en#websites)
- [Onboarding SOPs](https://grow.dentalmarketing.com/university/onboarding-sops?hsLang=en)
- [Content Creation SOPs](https://grow.dentalmarketing.com/university/content-creation-sops?hsLang=en)
- [Creative Support](https://grow.dentalmarketing.com/university/creative-support?hsLang=en#main-content)

    - [Ticket Creation](https://grow.dentalmarketing.com/university/creative-support?hsLang=en#ticket-creation)

# Dentalmarketing.com

dentalmarketing.com Help Center

Copyright © 2026, Dentalmarketing.com