Skip to content

Commit 8c5a92b

Browse files
authored
Update README.md
1 parent 9e7a302 commit 8c5a92b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ A lot of code \[in this application\] is taken from [article](http://kohera.be/b
88

99
You can download Xls and PBIX file from [here](https://github.com/40-02/GoogleAnalyticsViaPowerQueryForExcel/releases)
1010

11+
## Quick setup guide
12+
13+
0. Open the settings of Power BI, go to "Privacy" tab, choose the setting "Always ignore the Privacy Level settings".
14+
15+
1. Open the link below in your browser, hit "Allow" button and copy the given token.
16+
17+
https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/analytics.readonly&response_type=code&access_type=offline&redirect_uri=urn:ietf:wg:oauth:2.0:oob&approval_prompt=force&client_id=155297956885-088obc06926s8kolll6kdqkd9u842n56
18+
19+
2. Open Power Query by hitting "Edit Queries" button on "Home" tab on the ribbon of Power BI.
20+
21+
3. Paste the token from the step 1 into "authToken" parameter.
22+
23+
4. Go to "getRefreshToken" query and Copy the token from your preview window.
24+
25+
5. Paste the token from the step 5 into "refreshToken" parameter.
26+
27+
6. Your Power BI is ready to get a data from Google Analytics.
28+
1129
## Requirements ##
1230

1331
1. MS Excel 2010, 2013, 2016 or Power BI

0 commit comments

Comments
 (0)