How i can insert google tag manager to popup in chrome extension?
问题 I have created chrome extension. I add google tag manager script and no script iframe in popup html like this: <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Signals</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Google Tag Manager --> <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