NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleapplication.js
<head>
…other stuff…

<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-150112876-1#########", {"cookieDomain":"auto"});ga("send", "pageview");</script>

…other stuff…
</head>

On Google Analytics go to Admin and click the GA4 property for the application that you want to configure. Then click “Data Streams”.  Click the ">" to open the next page.

On the next page, at the top, click “View tag instructions”. 

...