title: Tag Manager Trigger Event When Text Appears in Div
body: <p>How would I set-up Tag Manager so that it triggers an event only when a div has text in it?</p>
  
  <p>I have an email sign-up landing page, where once a user submits an email address on the page, the server sends back a success or failure response either in the div id=mce-error-response or div id=mce-success-response (see below). How should I implement Tag Manager so that it can track the response?</p>
  
  <pre><code>&lt;form action="[]" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate&gt;
            &lt;div id="mc_embed_signup_scroll"&gt;
              &lt;input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required style="float: left;"&gt;
  
              &lt;div style="position: absolute; left: -5000px; float: left;" aria-hidden="true"&gt;
                &lt;input type="text" name="[]" tabindex="-1" value=""&gt;
              &lt;/div&gt;
              &lt;div class="clear"&gt;
                &lt;input type="submit" value="NOTIFY ME" name="subscribe" id="mc-embedded-subscribe" class="button" style="float: left;"&gt;
              &lt;/div&gt;
            &lt;/div&gt;
            &lt;br&gt;
            &lt;div id="mce-responses" class="clear" style="color: #fff"&gt;
              &lt;div class="response" id="mce-error-response"&gt;&lt;/div&gt;
              &lt;div class="response" id="mce-success-response"&gt;&lt;/div&gt;
              &lt;/div&gt;
          &lt;/form&gt;
  </code></pre>