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

Google Analytics Input #1331

Closed
RihanArfan opened this issue Sep 16, 2018 · 5 comments
Closed

Google Analytics Input #1331

RihanArfan opened this issue Sep 16, 2018 · 5 comments
Labels
feature request A request for a new feature.

Comments

@RihanArfan
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Well, after every Pterodactyl update, I have to go about editing templates to install Google Analytics to get some statistics on panel usage, etc.

Describe the solution you'd like
I think adding a Google Analytics code input box on settings area which adds an analytics script if there's an analytics tracking code put within it, and if the input is blank, the script is not rendered on the page to speed loading time.

Describe alternatives you've considered
Editing a template after updates is doable but I think this small feature could be very useful to quite a few people without affecting any core functionality of the panel.

Additional context
Here's a screenshot of what this could look like to configure. https://file.properties/host/fZZPtdKH.png

@matthewpi
Copy link
Member

Instead of adding an input to the panel it should go in the .env.

@DaneEveritt DaneEveritt added the feature request A request for a new feature. label Oct 14, 2018
@schrej
Copy link
Member

schrej commented Oct 25, 2018

Maybe we should just add the option to add additional stuff to the end of the header, would also allow to add other scripts or CSS

@refeele
Copy link

refeele commented Apr 1, 2020

any updates on this?

@DaneEveritt
Copy link
Member

When there are updates they will show up in this issue. :)

@notAreYouScared
Copy link
Contributor

Was looking into this for Pterodactyl 1.0, Seems mostly easy to add, got it hacked together by using react-ga module
image

As my react knowledge is very limited, ill see what I can do.

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

Successfully merging a pull request may close this issue.

6 participants