Support » Plugin: Coming Soon Page & Maintenance Mode » Google Analytics Code

  • Resolved scorpiorich

    (@scorpiorich)


    Hi,

    When I add the code from my Google Analytics account to the code area under the Headings tab, the raw text of the code is displayed in the heading on the webpage.

Viewing 1 replies (of 1 total)
  • Plugin Author wpshopmart

    (@wpshopmart)

    Go to google analytics copy your tracking code which will available there i this format

    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=Yourid"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'Yourid');
    </script>

    between script tag, paste it in coming soon page analytics code description.

    Follow this and then you problem will resolve.

Viewing 1 replies (of 1 total)
  • The topic ‘Google Analytics Code’ is closed to new replies.