Where to find trackTypeId for a Track Event?

Comments

2 comments

  • Avatar
    Todd Stoffer

    Hi Varun T! There are a couple of ways to get the trackType ID. The first is by grabbing it from the URL bar when you are viewing the track event details.


    Another option would be to grab this from the trackType source in an aggregation. That aggregation body looks like this:

    {
        "channelId": "",
        "response": {
            "location": "request",
            "mimeType": "application/json"
        },
        "request": {
            "name": "report",
            "pipeline": [
                {
                    "source": {
                        "trackTypes": null
                    }
                }
            ],
            "requestId": ""
        }
    }

    The second option will return a list of all trackTypes and in the response there is an ID field that contains the track type ID. 

    Hope this helps! 

    0
    Comment actions Permalink
  • Avatar
    Varun T

    This Helps !!

    Thanks

    0
    Comment actions Permalink

Please sign in to leave a comment.