Hi Rahul,
If you look on the Google Tag mendix documentation page it explains the configuration process in detail. At the top of that documentation page there is a link to the google documentation page on how to set up the Google Tag with gtag.js If you follow that walkthrough, you should be able to get the google tag that you need.
Hope this helps!