Stacker logo
Stacker
Create
Roadmap
Feedback
Stacker V4 (Classic)
564
Changelog
Category
Uncategorized
Voters
N
Nicolas Gonzalez
Jen Gordon
Gerbrand Bas
c
chaya soggot
A
Alex Oldfield
Wes Wagner
C
Chris McCarney
Paul Cheek
Jason Little
J
Jake Foster
and 14 more...
Powered by Canny
Allow me to embed my Analytics scripts
generally available
M
Michael Skelly
March 10, 2020
member badge
Team Stacker
Merged in a post:
Integration with Google Analytics and Hotjar
N
Nicolas Gonzalez
We need to integrate the two apps mentioned in order to perform data analysis, for this it is necessary to add scripts in the header so that the applications are integrated.
I leave scripts for the applications:
Google Analytics:
<!-- Google tag (gtag.js) --><script async src="https://www.googletagmanager.com/gtag/js?id=G-RLHX3JPZV4"></script> <script>window.dataLayer = window.dataLayer || []; function gtag () {dataLayer.push (arguments);} gtag ('js', new Date ()); gtag ('config', 'G-RLHX3JPZV4');</script>
Hotjar:
<!-- Hotjar Tracking Code for my site --> <script>(function (h, o, t, j, a, r) {h.hj=h.hj||function () {(h.hj.q=h.hj.q|| []) .push (arguments)}; H._hjSettings= {hjid:3410284, hjsv:6}; a=o.getElementsByTagName ('head') [0]; r=o.createElement ('script'); r.async=t+h.hjsettings.hjid+j+h.settings.hjid+j+h.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jh.settings.hjid+jings.hjsv; a.appendChild (r);}) (window, document, 'https://static.hotjar.com/c/hotjar-','.js?sv =');</script>
March 20, 2023·
March 20, 2023
member badge
Team Stacker
Hi Nicolas Gonzalez, I believe you're speaking to support about this - they'll help you get these put into your app!
·
March 20, 2023
·
Reply
member badge
Sam Davyson
marked this post as
generally available
This feature is now available! Contact support to add a script to your app.
·
July 19, 2020
·
Reply
Paul Cheek
🙌
·
July 14, 2020
·
Reply
Jason Little
yay! just preparing my portal for launch and this will be super helpful!
·
July 14, 2020
·
Reply
Benjamin
marked this post as
in progress
·
July 14, 2020
·
Reply
A
Ambroise Dhenain
Sam Davyson How do you intend to implement this?
One simple way could be to allow app-wide settings, such as custom JS where we could put this kind of scripts.
It'd also allow better flexibility for app-wide custom scripting (e.g: change colors based on the current authenticated user, by also applying some specific CSS classes in
<body>
that depends on the current user role)
This feature could address a wider need than just basic analytics, depending on the implementation.
·
May 14, 2020
·
Reply
member badge
Sam Davyson
marked this post as
under review
We're thinking about how we can enable this, stay tuned.
·
April 14, 2020
·
Reply
Powered by Canny