HL7 / fhir-ig-publisher

Source code for the IG publisher
Apache License 2.0
69 stars 56 forks source link

support for analytics identifier #383

Open JohnMoehrke opened 2 years ago

JohnMoehrke commented 2 years ago

Some publishing sites would like to have the IG html instrumented for web site analytics. One solution is google analytics. It would be nice if the IG publisher could be given the google analytics ID value, and that the IG publisher would insert the google script and that ID into each page.

JohnMoehrke commented 2 years ago

IHE is going to brute force in google analytics using the include header and footer mechanism in the ihe template.

e.g. https://github.com/IHE/ihe-ig-template/commit/6e975099386e7264c51baf26861ef7573060e00d

surely a more elegant and parameter driven solution can be done at some point.

I will keep this posted on our success or lessons-learned.

lmckenzi commented 2 weeks ago

@JohnMoehrke is this something you still think should be in the publisher rather than in a template? Is this something we need to put in the standard template?