 }

        document
          .querySelectorAll('[data-attribute="dynamic-device-type"]')
          .forEach((el) => {
            el.textContent = deviceType;
          });

        // update image src based on OS
        const osImagePrefix = platform === "ios" ? "ios" : "iPadOS";
        document.querySelector(
          ".profile-downloaded-img"
        ).src = `{{.URLPrefix}}/assets/images/${osImagePrefix}-profile-downloaded.png`;
        document.querySelector(
          ".install-profile-img"
      