Introduction


Google Tag Manager (GTM) is a powerful tool that allows website owners to manage and deploy various tags (such as tracking codes, pixels, and analytics scripts) without modifying the website's code directly. By using GTM, you can streamline the process of integrating third-party services like Google Analytics, Facebook Pixel, or custom HTML scripts, all from a centralized dashboard.

In this guide, we’ll walk you through how to configure Google Tag Manager on your eDirectory site and add custom tags to ensure your tag needs are fully met.


Steps to Configure Google Tag Manager on eDirectory

1. Create a Google Tag Manager Account

  1. Log in to your Google account and visit Google Tag Manager.
  2. Click the "Create Account" button. 
  3. Enter an Account Name (e.g., your company name). 
  4. Under Container Name, input your website domain in this format: www.yoursite.com. Replace "yoursite.com" with your actual domain name. 
  5. Select Web as the target platform and click Create.

Note: To configure Google Tag Manager, your eDirectory website must have a live domain (URL). If your website domain needs to be updated, contact our support team at support@edirectory.com.


2. Accept the Terms of Service

  1. Review the terms and conditions.
  2. Check the box and click Yes to proceed. 

3. Retrieve the GTM Code

  1. Once the account setup is complete, two scripts will appear on your screen. Click OK to continue. 
  2. In the GTM dashboard, click the Admin button. 
  3. Copy the Container ID (e.g., GTM-XXX).

4. Add the GTM Code to Your eDirectory Website

  1. Log in to your eDirectory Site Manager.
  2. Navigate to Settings → Google Integrations → Google Tag Manager.
  3. Paste the GTM Container ID into the provided field. 
  4. Enable the Google Tag Manager option and save your changes.

After completing these steps, Google Tag Manager will be successfully configured on your eDirectory website.


Adding Tags (Scripts) in Google Tag Manager

Once GTM is set up on your site, you can begin adding tags (scripts) to track user activity or integrate additional tools.


1. Create a New Tag

  1. In your Google Tag Manager dashboard, go to Tags → New. 

2. Create a Custom HTML Tag

  1. Click on Tag Configuration. 
  2. To create a custom tag, select Custom HTML. 
  3. Name your tag and paste your script into the HTML field.
  4. Under Triggering, select All Pages to ensure the script applies site-wide.
  5. Click Save to confirm. 

3. Submit and Publish Your Tag

  1. After creating a tag, click the Submit button to apply changes to your site. 
  2. Add a name and short description for the update, then hit Publish. 
  3. Once published, you’ll see a confirmation message indicating the tag is live on your site. 

Conclusion


Google Tag Manager simplifies managing your website's scripts, ensuring consistent and efficient deployment. With the ability to create, update, and manage tags from one platform, GTM is an essential tool for optimizing your site. 


By following this guide, you’ll have GTM fully configured on your eDirectory site, allowing you to take control of your website's needs seamlessly.