A problem with Google Analytics Integration

A problem with Google Analytics Integration

Hi there,

I am trying to integrate Google Analytics to my Zoho Creator application but unfortunately faced a problem I just can't find the solution. Hopefully I am wrong and you know the answer! :)

My challenge is the access_token -code that I can't catch automatically from the URL to variable. I know that this would be possible by having a field access_token code on the form and then with input.access_token saving it to the variable when loading the form. According to my tests this needs however guestion mark to the URL like this:

zoho.creator.com/application/#?access_token=xxx 

My current problem is the hash mark # created automatically to the end of the url. Google API needs a registeration of the used address but unfortunately Google API Console does not allow addresses including # mark. This ends up to the situation that I can't register URL including the needed question mark to the end of the url and therefore can't automatically catch the access_token -parameter from the address.

So at the moment my integration works the way that I manually pick up the token access code from the URL and put it to the field to use it in API calls later. I would like to have this automatized.

Hopefully you understand my problem and find the solution or another way to solve and connect Google API.

I have also tried getUrl-function trying to get the response to the variable but couldn't manage with that one either. I think the problem is the login authorization form that needs actions by user and can't therefore automatically drive through the geturl.

Best wishes,
Jaakko