Uploaded image for project: 'Matomo (Piwik) Application'
  1. Matomo (Piwik) Application
  2. XMATOMO-11

Do not insert empty script tags if tracking is not configured

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • 1.5.1
    • 1.3
    • None
    • Unknown

    Description

      Currently the <script> tag is added first and then checked if the config is set up.
      It might be better to first check if one has a server url + site id before inserting the script tag to avoid empty script tags in the generated HTML. (Admittedly this is cosmetics.)

      Attachments

        Activity

          People

            camil7 Clemens Robbenhaar
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: