Ad

How To Get Callback For Google Tag Manager In Ios?

- 1 answer

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

Ad

Answer

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.

Ad
source: stackoverflow.com
Ad