orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
512 stars 53 forks source link

Question: analytics #401

Closed ola-adolfsson-ipex closed 2 years ago

ola-adolfsson-ipex commented 3 years ago

Hi,

Firstly, thanks for a great product and the time and effort you put into it :) .

I've looked through the documentation and closed/open issed in the search for a way to add a google analytics script. We would like to know which parts of our documentation are most used.

Should we create a customer plugin? Or is there an easier way?

Thanks Ola

cjbrooks12 commented 3 years ago

Currently, there's no official plugin for adding the whole GA snippet, but you can add it as an "extra JS" asset pretty easily, documentation here.

However, this would be a very welcome addition, and I'd gladly accept a PR if you wanted to add it. It might be a little while until I could actually get it merged and deployed, but if you're interested, I can give you some additional help and guidance in getting it added.