Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
namansleeps committed Sep 19, 2023
1 parent 7d50f77 commit c14722c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion gui/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ export default function App() {
const signupSource = sessionStorage.getItem('utm_source');
const signupMedium = sessionStorage.getItem('utm_medium');
const singupCampaign = sessionStorage.getItem('campaign');
console.log(signupSource + '/////' + signupMedium + '////' + singupCampaign)

if (typeof window !== 'undefined' && access_token) {
localStorage.setItem('accessToken', access_token);
Expand Down
4 changes: 2 additions & 2 deletions gui/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ export const getUserClick = (event, props) => {
}

export const sendGAEvent = async (client, eventName, params) => {
const measurement_id = analyticsMeasurementId;
const api_secret = analyticsApiSecret;
const measurement_id = analyticsMeasurementId();
const api_secret = analyticsApiSecret();
await fetch(`https://www.google-analytics.com/mp/collect?measurement_id=${measurement_id}&api_secret=${api_secret}`, {
method: "POST",
body: JSON.stringify({
Expand Down

0 comments on commit c14722c

Please sign in to comment.