Panel: Google Analytics Input

Created on 17 Sep 2018  路  5Comments  路  Source: pterodactyl/panel

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

feature request

Most helpful comment

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

All 5 comments

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

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

any updates on this?

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DaneEveritt picture DaneEveritt  路  4Comments

ghost picture ghost  路  4Comments

TylerBurr picture TylerBurr  路  4Comments

stijnb1234 picture stijnb1234  路  3Comments

Doc94 picture Doc94  路  4Comments