WordPress.org

Ready to get started?Download WordPress

Forums

NK Google Analytics
[resolved] NK Google Analytics (2 posts)

  1. wrightmetoo
    Member
    Posted 4 months ago #

    Hello
    Just activated this plug in to track activity on website. My tracking code is.... How do I add this to my website. (www.wright-contractor.com)

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-46403134-1', 'wright-contractor.com');
      ga('send', 'pageview');
    
    </script>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    http://wordpress.org/plugins/nk-google-analytics/

  2. marodok
    Member
    Plugin Author

    Posted 3 months ago #

    Hi Wrightmetoo, you can add your code to "custom code" in Settings and turn on the option "Use custom Google Analytics tracking code"

Reply

You must log in to post.

About this Plugin

About this Topic