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
Getting started with App Insights and Squido? #1594
Comments
To me it sounds like you would need to drop the snippet onto the page as per the documentation https://github.com/Microsoft/ApplicationInsights-JS#snippet-setup-ignore-if-using-npm-setup |
Hm.
Do you have any insights on this one? |
|
Thanks for the details. RE: 2: When you say
On DevOps side, the pipeline script is very simple:
Where is the app JS init step you're referring to? Thanks for the continued engagement! I'm very stoked on this tool and would like to integrate App Insights to get some analytics. |
Ok, I've now looked at this in a little more detail (as I had never heard of Squido before -- also fixed the link in your initial post) and it looks like your only option (without creating your own plugins) would be to add the code to one or more templates (didn't dig in to see if there is a common one -- but I would expect there would be). From these the easiest option would be to use the snippet and just add it to a common template ( |
Ok. That makes sense to me. I'll go with the snippet method you originally recommended. Looks like Azure Static Web Apps doesn't allow App Insights for static web sites (odd). They want an Azure Function in there somewhere in order to enable it: No biggie, just odd. I spun up a stand-alone App Insights resource and placed the instrumentation key in the snippet. Then placed the snippet in all Lets see if it builds!... |
Sweeeeeet! Thank you for being patient and guiding me through that @MSNev. I appreciate it very much :) Builds and I now have some telemetry coming in! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello,
I use App Insights all the time with Azure Functions and PowerApps and would like to integrate with Squido as well. Squido is a static site generator that takes very little customization to get started. As such, you don't have to peek under the hood much, it just works.
Could someone point me to a version of the App Insights Javascript SDK that would best fit with a static sit generator like this?
The text was updated successfully, but these errors were encountered: