简体   繁体   中英

Google Tag Manager for Xamarin iOS

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.

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.

旧版iOS容器

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM