Track install source with Google Analytics

Hi guys, I am using this plugin: Google Analytics - Ionic Documentation and it’s working great for view tracking. However, I would like to get some campaign details when a user clicks a download link from Facebook, Instagram, or Email. My download link would look something like this: https://play.google.com/store/apps/details?id=com.some.id&referrer=utm_source%3Dfacebook%26utm_medium%3Dtest%26utm_term%3Dtest%26utm_campaign%3Dtest%26anid%3Dadmob
Is there anyone who managed to retrieve these campaign details within the app?

There is a method from the plugin which should get campaign name, but it doesn’t seem to work:

this.googleAnalytics.getVar('cn').then(res => console.log('SUCCESS', res)).catch(err => console.log('ERROR', err));