<commit_before>{include:{$BACKEND_CORE_PATH}/Layout/Templates/Head.tpl}
{include:{$BACKEND_CORE_PATH}/Layout/Templates/StructureStartModule.tpl}

<div class="pageTitle">
  <h2>{$lblModuleSettings|ucfirst}: {$lblAnalytics|ucfirst}</h2>
</div>

{form:settings}
  {option:fileCertificate}
    <div class="box">
      <div class="heading">
        <h3><label for="jsonKey">{$lblCertificate|ucfirst}</label></h3>
      </div>
      <div class="options horizontal">
        <p>
          <label for="certificate">{$lblCertificate|ucfirst}</label>
          {$fileCertificate} {$fileCertificateError}
        </p>
        <p>
          <label for="email">{$lblEmail|ucfirst}</label>
          {$txtEmail} {$txtEmailError}
        </p>
      </div>
      <div class="options longHelpTxt">
        {$msgCertificateHelp}
      </div>
    </div>
  {/option:fileCertificate}

  {option:ddmAccount}
    <div class="box">
      <div class="heading">
        <h3><label for="account">{$lblChooseThisAccount|ucfirst}</label></h3>
      </div>
      <div class="options">
        {$ddmAccount}
      </div>
    </div>
  {/option:ddmAccount}

  {option:ddmWebPropertyId}
    <div class="box">
      <div class="heading">
        <h3><label for="account">{$lblChooseWebsiteProfile|ucfirst}</label></h3>
      </div>
      <div class="options">
        {$ddmWebPropertyId}
      </div>
    </div>
  {/option:ddmWebPropertyId}


  {option:ddmProfile}
    <div class="box">
      <div class="heading">
        <h3><label for="account">{$lblChooseWebsiteProfile|ucfirst}</label></h3>
      </div>
      <div class="options">
        {$ddmProfile}
      </div>
    </div>
  {/option:ddmProfile}

  {option:noAccounts}
    <div class="generalMessage infoMessage content">
      <p><strong>{$msgNoAccounts|sprintf:{$email}}</strong></p>
    </div>
  {/option:noAccounts}

  {option:web_property_id}
    <div class="box">
      <div class="heading">
        <h3>{$lblLinkedProfile|ucfirst}</h3>
      </div>
      <div class="options">
        <p>
          <strong>{$web_property_id}</strong>{option:profile}: ga:{$profile}{/option:profile}
        </p>
        {option:showAnalyticsReset}<a href="{$var|geturl:'reset'}">{$msgRemoveAccountLink|ucfirst}</a>{/option:showAnalyticsReset}
      </div>
    </div>
  {/option:web_property_id}

  {option:!web_property_id}
    <div class="fullwidthOptions">
      <div class="buttonHolderRight">
        <input id="save" class="inputButton button mainButton" type="submit" name="save" value="{$lblSave|ucfirst}" />
      </div>
    </div>
  {/option:!web_property_id}
{/form:settings}

{include:{$BACKEND_CORE_PATH}/Layout/Templates/StructureEndModule.tpl}
{include:{$BACKEND_CORE_PATH}/Layout/Templates/Footer.tpl}<commit_msg>Only show the coupled data when a profile has been chosen.<commit_after>{include:{$BACKEND_CORE_PATH}/Layout/Templates/Head.tpl}
{include:{$BACKEND_CORE_PATH}/Layout/Templates/StructureStartModule.tpl}

<div class="pageTitle">
  <h2>{$lblModuleSettings|ucfirst}: {$lblAnalytics|ucfirst}</h2>
</div>

{form:settings}
  {option:fileCertificate}
    <div class="box">
      <div class="heading">
        <h3><label for="jsonKey">{$lblCertificate|ucfirst}</label></h3>
      </div>
      <div class="options horizontal">
        <p>
          <label for="certificate">{$lblCertificate|ucfirst}</label>
          {$fileCertificate} {$fileCertificateError}
        </p>
        <p>
          <label for="email">{$lblEmail|ucfirst}</label>
          {$txtEmail} {$txtEmailError}
        </p>
      </div>
      <div class="options longHelpTxt">
        {$msgCertificateHelp}
      </div>
    </div>
  {/option:fileCertificate}

  {option:ddmAccount}
    <div class="box">
      <div class="heading">
        <h3><label for="account">{$lblChooseThisAccount|ucfirst}</label></h3>
      </div>
      <div class="options">
        {$ddmAccount}
      </div>
    </div>
  {/option:ddmAccount}

  {option:ddmWebPropertyId}
    <div class="box">
      <div class="heading">
        <h3><label for="account">{$lblChooseWebsiteProfile|ucfirst}</label></h3>
      </div>
      <div class="options">
        {$ddmWebPropertyId}
      </div>
    </div>
  {/option:ddmWebPropertyId}


  {option:ddmProfile}
    <div class="box">
      <div class="heading">
        <h3><label for="account">{$lblChooseWebsiteProfile|ucfirst}</label></h3>
      </div>
      <div class="options">
        {$ddmProfile}
      </div>
    </div>
  {/option:ddmProfile}

  {option:noAccounts}
    <div class="generalMessage infoMessage content">
      <p><strong>{$msgNoAccounts|sprintf:{$email}}</strong></p>
    </div>
  {/option:noAccounts}

  {option:profile}
    <div class="box">
      <div class="heading">
        <h3>{$lblLinkedProfile|ucfirst}</h3>
      </div>
      <div class="options">
        <p>
          <strong>{$web_property_id}</strong>{option:profile}: ga:{$profile}{/option:profile}
        </p>
        {option:showAnalyticsReset}<a href="{$var|geturl:'reset'}">{$msgRemoveAccountLink|ucfirst}</a>{/option:showAnalyticsReset}
      </div>
    </div>
  {/option:profile}

  {option:!profile}
    <div class="fullwidthOptions">
      <div class="buttonHolderRight">
        <input id="save" class="inputButton button mainButton" type="submit" name="save" value="{$lblSave|ucfirst}" />
      </div>
    </div>
  {/option:!profile}
{/form:settings}

{include:{$BACKEND_CORE_PATH}/Layout/Templates/StructureEndModule.tpl}
{include:{$BACKEND_CORE_PATH}/Layout/Templates/Footer.tpl}
{'fraction_non_alphanumeric': 0.18233048536629703, 'fraction_numerical': 0.004362843119432831, 'mean_word_length': 3.3666666666666667, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3832527', 'n_tokens_mistral': 1845, 'n_tokens_neox': 1845, 'n_words': 261}