简体   繁体   中英

How to get Callback for Google Tag Manager in ios?

After implementing all the details provided in https://developers.google.com/tag-manager/ios/v5/

I am loging Firebase events as

Analytics.logEvent("VCviewDidLoad", parameters: nil)

I am getting this in console

GoogleTagManager info: Processing logged event: _vs with parameters: {
    "_o" = auto;
    "_sc" = ViewController;
    "_si" = "-7993663584647244480";
}

I want to store this data and forward it to server.And I have no idea how to do it. Please help. Thanks

This is fixed. For others going through the same kind of issues make sure following points, 1) Your container name is your class name. 2) You are using the latest published container in your app. 3) If you are testing it on Simulator, delete the existing app and try again.

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