# The bug reporting installed through Google Tag Manager

Install via a GTM Custom HTML tag, so no deploy is needed. Start collecting Jira-ready reports — screenshots, console errors, network failures — on any site GTM already runs on.

[Start free](https://issuecapture.com/signup) [See the install](https://issuecapture.com/bug-reporting-for/google-tag-manager#install)

## Why Google Tag Manager teams use it

### Marketing owns the site, engineering owns Jira

When adding a script means a sprint ticket, feedback tooling never ships. GTM installation needs no code change and no release.

### Agencies managing many client sites

One GTM container per client, one Custom HTML tag, separate widget keys — bug intake across the whole portfolio without touching client codebases.

### Reports without evidence

However it's installed, every report carries the screenshot, console, and failed-request context developers need to reproduce.

## Install on Google Tag Manager in minutes

No SDK, no backend changes — the widget is a single ES module.

1. **New Custom HTML tag**

   Paste the snippet below into a Custom HTML tag and leave "Support document.write" unchecked. The tag is a plain script that adds the widget's module script to the page and starts it once it has loaded.
2. **Trigger on All Pages**

   Or scope to specific paths per your container setup.
3. **Preview, then publish**

   Verify the widget button appears in GTM preview mode, publish the container, connect Jira once.

```html
<script>
  (function () {
    var s = document.createElement('script');
    s.type = 'module';
    s.src = 'https://issuecapture.com/widget.js';
    s.onload = function () {
      window.IssueCapture.init({ apiKey: 'ic_your_key' });
    };
    document.head.appendChild(s);
  })();
</script>
```

The exact tag contents. Step-by-step guide in the docs. [Read the full Google Tag Manager guide →](https://issuecapture.com/docs/install/google-tag-manager)

## Reports can include

### Annotated screenshot

Reporters circle the problem instead of describing it

### Console errors

JavaScript errors and warnings from page load onward

### Failed requests

4xx/5xx network calls, with privacy filters

### Browser context

URL, browser, OS, viewport — automatically

Your widget settings control which details are included. On [Team and Business](https://issuecapture.com/pricing), enabled AI features add priority, category and duplicate suggestions after the Jira issue is created. Team-managed projects and [JSM](https://issuecapture.com/for-jira-service-management) are supported. See the [Jira bug reporting guide](https://issuecapture.com/jira-bug-reporting) for how to create a bug report in Jira.

## Google Tag Manager bug reporting: FAQ

**Does GTM installation limit what the widget can capture?**

No. The tag adds the same module script a developer would add, so screenshots, console capture, and network monitoring work the same way.

**Will it work alongside our other GTM tags?**

Yes. The widget is self-contained (Shadow DOM UI, no globals beyond its own namespace) and loads as a module, so it doesn't interact with analytics or other tags.

**Can an agency manage widgets for multiple client sites?**

Yes — create a widget configuration per site, use each key in the matching client's container, and route reports to the right Jira project per configuration.

**Does consent mode matter?**

Fire the tag according to your consent setup like any other tag. The widget itself only sends data when a user actively submits a report, and network/console privacy filters are configurable.

[See all frequently asked questions](https://issuecapture.com/faq)

## Add the widget to your Google Tag Manager app

Free plan with 10 issues/month (a soft limit), no credit card. Jira connection takes one OAuth click.

[Start free](https://issuecapture.com/signup) [Read the Docs](https://issuecapture.com/docs/install/google-tag-manager)

- Works with Jira Cloud + JSM
- Team-managed projects supported
- ~31KB core, lazy-loaded extras

---

[View this page on issuecapture.com](https://issuecapture.com/bug-reporting-for/google-tag-manager)
