0

My View id is 12345678. And I see on this website: https://ga-dev-tools.appspot.com/query-explorer/

My View id in URL is other (like a%3A88220140 ) (look below)

I am talking about this URI: (Query Explorer)

https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A88220140&start-date=30daysAgo&end-date=2020-07-05&metrics=ga%3Ausers%2Cga%3AnewUsers%2Cga%3Asessions%2Cga%3AbounceRate%2Cga%3AavgSessionDuration%2Cga%3Apageviews%2Cga%3ApageviewsPerSession&access_token=".$TOKEN_URL

How I can hash this view id to pass to link? Which method I can use? I used PHP.

1 Answer 1

0

There are so many inbuilt functions that you can use to hash your value.

  • hash
  • sha1
  • md5
  • crypt -> ...This is a one way string hashing method mostly used to store passwords....

These are some of the mostly used encryption functions.For further reference you can visit here

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.