oscafrica/oscafrica.org-v2

Add Google Analytics Tracking Info

Closed this issue · 13 comments

Add gtag.js tracking info to the website

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

  gtag('config', 'UA-77563678-4');
</script>

Hey, there! 👋

We welcome all kinds of contributions, please feel free to contribute and/or ask questions.
Someone will attend to your issue soon ☺️

Is there any possibility of getting this up today, please? We're losing traffic counts already, @alabobriggs, my chief.

Is there any possibility of getting this up today, please? We're losing traffic counts already, @alabobriggs, my chief.

@BolajiAyodeji I should be able to but that will be late tonight. I will be AFK today

Is there any possibility of getting this up today, please? We're losing traffic counts already, @alabobriggs, my chief.

@BolajiAyodeji I should be able to but that will be late tonight. I will be AFK today

Okay boss!

@BolajiAyodeji added script for this, please provide new google Analytics dashboard. Left a request to add me to the dashboard.

@BolajiAyodeji reminder for the google analytics stream id

@alabobriggs I just shared some feedback on this. I think we should proceed with the tracking code I shared earlier.

@alabobriggs I just shared some feedback on this. I think we should proceed with the tracking code I shared earlier.

Got it, I just made the necessary updates. Please confirm on the GA dashboard.

It doesn't work yet, chief. Can you check again and possibly point me to the commit that implements this?

@alabobriggs any update on this boss?

Yes. I updated the code to the existing GA ID

I don't have access to the dashboard so I can't test properly

Alright! But you do have access. I thought you requested for access and @samswag granted you?