I recently created a new Google analytics account for testing purpose and for this account(tracking id) sending event hit, pageview hit and exception hit using measurement protocol(server-side protocol) is working and I am able to view statistics in google analytics.
But when I try to use tracking id from an old google analytics account (which is used in my production environment and it has been used to send event hit and pageview hit using analytics.js), google analytics doesn't show event hits or pageview hits sent using measurement protocol(server-side protocol).
Any help will be appreciated. Do we have to enable accepting requests from measurement protocol somewhere in google analytics or developer console settings?