There is a basic Google Analytics integration built into Backstage. You can enable it by adding the following to your app configuration:
app: googleAnalyticsTrackingId: UA-000000-0
Replace the tracking ID with the one generated for you after signing up for the Google Analytics service.
The default behavior is only to send a pageview hit. To record more, review the Google Analytics developer documentation.