Analyze the traffic to the apps marketplace using Google Analytics

Hi there,

We are the vendor of the app for Jira Cloud.
We analyze the traffic to the apps marketplace using Google Analytics. Also, we have the server version. But we had difficulty understanding how to connect the page of server version to Google Analytics (if the cloud version is already added). This should be done as a separate independent page connection? But in the cloud and in the server versions have the same URL to which the analytics connect. Could you please help me with this?

Regards,
Zoryana