NEAR-Edu / near-certification-tools

2 stars 2 forks source link

Feature/google analytics #43

Closed ozanisgor closed 2 years ago

ozanisgor commented 2 years ago

According to issue https://github.com/NEAR-Edu/near-certification-tools/issues/15 added GA. In .env file tracking ID can change/add with NEXT_PUBLIC_GOOGLE_ANALYTICS= variable.

This is how GA looks with my testing account and tracking ID

GA_after-2 GA_after-1

ryancwalsh commented 2 years ago

@ozanisgor Thanks for the screenshots. It looks like this is nearly ready to go. And yes you'll need to get the ID from Sherif, I assume.

ryancwalsh commented 2 years ago

@ozanisgor But the tracking ID wouldn't be committed to code anyway because it belongs in an uncommitted .env.local file. (Remember the instructions at https://github.com/NEAR-Edu/near-certification-tools/blob/main/web-app/README.md#getting-started)

So please go ahead and commit.

ozanisgor commented 2 years ago

@ryancwalsh thank you for the explation during the meeting. Pushed my commits and I will share the Tracking ID when I get it.