0
votes

I've followed the quick start guide here for setting up Google Tag Manager in my Xamarin.iOS app, but I am receiving an unexpected error when the container initializes:

GoogleTagManager warning: Error when loading resources from url: https://www.googletagmanager.com/r?id=GTM-XXXXX&v=iXXXXXXXXX status code = 403

I've tried two different valid container ids and they both fail with this error. Providing a random container id presents a different error message.

1

1 Answers

1
votes

This error is caused by using a "Firebase (iOS)" container with the Google Tag Manager Xamarin component. At the time of this writing, the GTM component for Xamarin is only compatible with "Legacy iOS" containers. After switching to a Legacy iOS container, this error is no longer presented.

Legacy iOS Container