Search code examples
google-analyticsgoogle-analytics-apigoogle-analytics-firebase

Import 3rd Party Page Views Data on Google Analytics


Is there a way to import 3rd party page view data to Google Analytics?

For example, if I have file download information from my server logs, could I put the information on Google Analytics and have it show up in the standard reports or a custom report alongside the existing pageview data already provided by Analytics?


Solution

  • Yes, but you need to do it within 4 hours of the hit being logged. Take a look at the GA measurement protocol. The hour limit is due to the qt param (milliseconds from hit to api upload).