<commit_before><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Google Analytics URL Builder</title>
    <!-- https://sheharyar.me/blog/free-ssl-for-github-pages-with-custom-domains/ -->
    <script>var host="vreeman.com";host==window.location.host&&"https:"!=window.location.protocol&&(window.location.protocol="https");</script>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-WKSDWK');</script>
    <style>
      html {
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
      }
      body {
        margin: 10% auto;
        padding: 0 3%;
        max-width: 30em;
        font: 1.125em/1.6 sans-serif;
      }
      small, footer {
        font-size: 80%;
      }
      b, strong, dt {
        font-weight: 700;
      }
      h1, h2, h3 {
        line-height: 1.2;
      }
      a {
        background-color: transparent;
      }
      a:active, a:hover {
        outline: 0;
      }
      code {
        font-family: monospace, monospace;
        font-size: 1em;
      }
      input, textarea {
        width: 95%;
        display: block;
        padding: .5em 1%;
        font-size: 1em;
      }
      input, textarea, fieldset {
        margin-bottom: 1.5em;
      }
      textarea {
        margin-top: 1.5em;
        resize: vertical;
      }
    </style>
    <link rel="canonical" href="https://vreeman.com/">
    <meta name="referrer" content="unsafe-url">
    <meta name="robots" content="noindex,follow">
  </head>
  <body>
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKSDWK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <header>
      <h1>Google Analytics URL Builder</h1>
    </header>
    <form>
    <fieldset>
      <legend>URL, Source, Medium, and Name are required</legend>
      <label for="domain"><abbr title="Uniform Resource Locator">URL</abbr></label>
      <input type="text" name="domain" id="domain" value="https://vreeman.com" required>
      <label for="source">Campaign Source</label>
      <input type="text" name="source" id="source" required>
      <label for="medium">Campaign Medium</label>
      <input type="text" name="medium" id="medium" required>
      <label for="name">Campaign Name</label>
      <input type="text" name="name" id="name" required>
      <label for="term">Campaign Term</label>
      <input type="text" name="term" id="term">
      <label for="content">Campaign Content</label>
      <input type="text" name="content" id="content">
    </fieldset>
    <button type="button" onclick="getUTM()">Generate URL with UTM tags</button>
    </form>
    <textarea id="url" readonly="readonly" wrap="off"></textarea>
    <hr>
    <footer>
      <p>Vreeman.com is the personal website of <NAME>.</p>
      <dl>
        <dt>Privacy policy</dt>
        <dd>Vreeman.com uses Google Analytics to measure, track, analyse and learn user behavior on vreeman.com. Google Analytics is loaded via Google Tag Manager. Vreeman.com is hosted on Github pages. They might track some data too.</dd>
        <dt>Licenses</dt>
        <dd>Text is licensed under <a href="http://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0 Unported License">Creative Commons Attribution 4.0 Unported License</a>. The code is licensed und <a href="https://opensource.org/licenses/MIT" title="MIT License">MIT</a>.</dd>
      </dl>
    </footer>
    <script>
      function getUTM() {
        var domain = document.getElementById("domain").value;
        var source = document.getElementById("source").value;
        var medium = document.getElementById("medium").value;
        var term = document.getElementById("term").value;
        var content = document.getElementById("content").value;
        var name = document.getElementById("name").value;
        var url = document.getElementById("url");

        if (domain.indexOf("?") != -1) {
          var html = domain+'&utm_source='+encodeURIComponent(source)+'&utm_medium='+encodeURIComponent(medium)+'&utm_campaign='+encodeURIComponent(name);
        } else {
          var html = domain+'?utm_source='+encodeURIComponent(source)+'&utm_medium='+encodeURIComponent(medium)+'&utm_campaign='+encodeURIComponent(name);
        }

        if (term) {
          var html = html + '&utm_term='+encodeURIComponent(term);
        }
        if (content) {
          var html = html + '&utm_content='+encodeURIComponent(content);
        }
        url.textContent = html;
      }
    </script>
  </body>
</html><commit_msg>onkeyup<commit_after><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Google Analytics URL Builder</title>
    <!-- https://sheharyar.me/blog/free-ssl-for-github-pages-with-custom-domains/ -->
    <script>var host="vreeman.com";host==window.location.host&&"https:"!=window.location.protocol&&(window.location.protocol="https");</script>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-WKSDWK');</script>
    <style>
      html {
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
      }
      body {
        margin: 10% auto;
        padding: 0 3%;
        max-width: 30em;
        font: 1.125em/1.6 sans-serif;
      }
      small, footer {
        font-size: 80%;
      }
      b, strong, dt {
        font-weight: 700;
      }
      h1, h2, h3 {
        line-height: 1.2;
      }
      a {
        background-color: transparent;
      }
      a:active, a:hover {
        outline: 0;
      }
      code {
        font-family: monospace, monospace;
        font-size: 1em;
      }
      input, textarea {
        width: 95%;
        display: block;
        padding: .5em 1%;
        font-size: 1em;
      }
      input, textarea, fieldset {
        margin-bottom: 1.5em;
      }
      textarea {
        margin-top: 1.5em;
        resize: vertical;
      }
    </style>
    <link rel="canonical" href="https://vreeman.com/">
    <meta name="referrer" content="unsafe-url">
    <meta name="robots" content="noindex,follow">
  </head>
  <body>
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKSDWK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <header>
      <h1>Google Analytics URL Builder</h1>
    </header>
    <form onkeyup="getUTM()">
      <fieldset>
        <legend>URL, Source, Medium, and Name are required</legend>
        <label for="domain"><abbr title="Uniform Resource Locator">URL</abbr></label>
        <input type="url" name="domain" id="domain" value="https://vreeman.com" required>
        <label for="source">Campaign Source</label>
        <input type="text" name="source" id="source" required>
        <label for="medium">Campaign Medium</label>
        <input type="text" name="medium" id="medium" required>
        <label for="name">Campaign Name</label>
        <input type="text" name="name" id="name" required>
        <label for="term">Campaign Term</label>
        <input type="text" name="term" id="term">
        <label for="content">Campaign Content</label>
        <input type="text" name="content" id="content">
      </fieldset>
    </form>
    <textarea id="url" readonly="readonly" wrap="off"></textarea>
    <ul>
      <li><a id="pagespeed" href="https://developers.google.com/speed/pagespeed/insights/?url=vreeman.com" rel="nofollow noreferrer" target="_blank">Check Pagespeed Insights</a></li>
      <li><a id="structured-data" href="https://developers.google.com/structured-data/testing-tool/?url=vreeman.com" rel="nofollow noreferrer" target="_blank">Check Structured Data</a></li>
    </ul>
    <hr>
    <footer>
      <p>Vreeman.com is the personal website of <NAME>.</p>
      <dl>
        <dt>Privacy policy</dt>
        <dd>Vreeman.com uses Google Analytics to measure, track, analyse and learn user behavior on vreeman.com. Google Analytics is loaded via Google Tag Manager. Vreeman.com is hosted on Github pages. They might track some data too.</dd>
        <dt>Licenses</dt>
        <dd>Text is licensed under <a href="http://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution 4.0 Unported License">Creative Commons Attribution 4.0 Unported License</a>. The code is licensed und <a href="https://opensource.org/licenses/MIT" title="MIT License">MIT</a>.</dd>
      </dl>
    </footer>
    <script>
      function getUTM() {
        var domain = document.getElementById("domain").value;
        var source = document.getElementById("source").value;
        var medium = document.getElementById("medium").value;
        var term = document.getElementById("term").value;
        var content = document.getElementById("content").value;
        var name = document.getElementById("name").value;
        var url = document.getElementById("url");
        var pagespeed = document.getElementById("pagespeed");
        var structureddata = document.getElementById("structured-data");

        if (domain.indexOf("?") != -1) {
          var html = domain+'&utm_source='+encodeURIComponent(source)+'&utm_medium='+encodeURIComponent(medium)+'&utm_campaign='+encodeURIComponent(name);
        } else {
          var html = domain+'?utm_source='+encodeURIComponent(source)+'&utm_medium='+encodeURIComponent(medium)+'&utm_campaign='+encodeURIComponent(name);
        }

        if (term) {
          var html = html + '&utm_term='+encodeURIComponent(term);
        }
        if (content) {
          var html = html + '&utm_content='+encodeURIComponent(content);
        }

        pagespeed.href = "https://developers.google.com/speed/pagespeed/insights/?url=" + domain;
        structureddata.href = "https://developers.google.com/structured-data/testing-tool/?url="  + domain;

        url.textContent = html;
      }
    </script>
  </body>
</html>
{'fraction_non_alphanumeric': 0.16855097041643113, 'fraction_numerical': 0.009986809873751648, 'mean_word_length': 3.0086858006042294, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, 'https://': 16, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1229903', 'n_tokens_mistral': 3505, 'n_tokens_neox': 3388, 'n_words': 645}