Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show property other than real time users? #2

Closed
mhdfaran opened this issue May 15, 2021 · 8 comments · Fixed by #3
Closed

Show property other than real time users? #2

mhdfaran opened this issue May 15, 2021 · 8 comments · Fixed by #3

Comments

@mhdfaran
Copy link

I really like your work this code is work like a charm. I was wondering if we can show other properties also like conversion? I am no good coder if you could help me which file or code i need to edit to show conversion property i would very appreciate that. Thank you :)

@captain-melanie
Copy link
Owner

captain-melanie commented May 19, 2021

Hi, unfortunately this plugin uses Google Analytics API V3 which only provides one metric -- activeUsers

This plugin needs to be updated to use V4 in order to make use of all the metrics listed here: API Dimensions & Metrics

Actually, v3 provides a few more numeric properties: total events, specific goal conversions, and total goal conversions. I've added them to the new version.

@captain-melanie captain-melanie linked a pull request May 24, 2021 that will close this issue
@captain-melanie
Copy link
Owner

Hi, I've upgraded the plugin to include more properties, you could find the new version here https://github.com/captain-melanie/stream-deck-google-analytics/tree/master/Release

The goal conversion property is looking good to me. Let me know if you have any questions.
(In case if you want to find the old version, you could do git checkout 15f4b02e1c3dda55bf34a89596595e6790e8a471)

image

@mhdfaran
Copy link
Author

mhdfaran commented May 24, 2021 via email

@mhdfaran
Copy link
Author

mhdfaran commented May 24, 2021 via email

@captain-melanie
Copy link
Owner

Oh, no worries, this sounds an improvement to the plugin. I found entering data every time annoying too.

there any chance that we save data to it so we don't have to
put data everytime we open it.

There is a SetSettings function provided by Stream Deck to save settings. I'll look into it to see how to integrate.

multiple buttons like 1 button shows active users other button shows conversion at the same time.

This feature sounds useful too. I would need to dig further how to work with multiple buttons. Will keep you updated

@mhdfaran
Copy link
Author

mhdfaran commented May 25, 2021 via email

@captain-melanie
Copy link
Owner

captain-melanie commented May 25, 2021

Hi, Google Real-time API doesn't include these metrics, I think it is because these metrics are not considered as real-time, they are rather report data, so I'm a bit reluctant to add them into the plugin (since the plugin is named GA Real-time)

@mhdfaran
Copy link
Author

mhdfaran commented May 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants