Hello,
I'm setting up a 728x90 header banner (using pre-built ad templates) for users to install our site PWA upon clicking it.
Since I am unfamiliar with coding, I want to use the most secure approach rather than relying on custom workarounds.
Please guide me the correct, most secure way to add a custom PWA install trigger to my ad banner.
Just FYI I experimented with the following code but it seems to have security concerns:

Thank you
I'm setting up a 728x90 header banner (using pre-built ad templates) for users to install our site PWA upon clicking it.
Since I am unfamiliar with coding, I want to use the most secure approach rather than relying on custom workarounds.
Please guide me the correct, most secure way to add a custom PWA install trigger to my ad banner.
Just FYI I experimented with the following code but it seems to have security concerns:

Thank you