Integrating Google Tag Manager Using Code Injection

Created by Testpress Support, Modified on Thu, 5 Mar at 5:27 PM by Testpress Support

In addition to the Apps-based integration, Google Tag Manager can also be integrated using Code Injection

Steps to Add GTM Using Code Injection

  1. Log in to your Testpress Admin Dashboard.

  2. Navigate to Settings → Code Injection.

  3. From Google Tag Manager:

    • Copy the GTM <script> code.
      Copy the 
      <noscript> iframe code.

  4. Paste the codes into code injection space

    • <script> code into Code to be injected in Header.

    • <noscript> code into Code to be injected in Body

.

  1. Click Submit to save changes.

Where to Get Google Tag Manager Tracking Script

  1. Go to Google Tag Manager.

  2. Log in using your Google account.

  3. Select your Account.

  4. Choose the required Container.

  1. Navigate to Overview and click the tracking code, a pop up will appear displaying the script

  1. Copy the tracking code and paste these keys into the respective fields in Testpress.


Related articles
How to integrate Google Analytics GA4 

How to integrate Meta Pixel

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Can’t find what you’re looking for?

Let us help you right now!

Submit a ticket