Guide elements metrics via the API

Comments

1 comment

  • Avatar
    Angela Holly

    Below is another example response for a guide step with two buttons. You can tell which button the visitor clicked on by either looking at "uiElementText" or "uiElementId" 







    {
                        "accountIds": [
                            "EXAMPLEACCOUNT"
                        ],
                        "browserTime": 1644420324536,
                        "country": "US",
                        "elementPath": "BODY",
                        "eventId": "",
                        "type": "guideActivity",
                        "guideId": "vjBC7D3XwP0dZ6hyYkVQ6am58NY",
                        "guideStepId": "L-Wr-xE5oIsb_fvaKx9bxQOGUoc",
                        "language": "en-US",
                        "latitude": 35.77959,
                        "loadTime": 0,
                        "longitude": -78.638179,
                        "oldVisitorId": "lang:en-US elementid:pendo-button-047f7a88 elementtype:BUTTON elementtext:WWVzLCBsZXQncyBnbyE= elementactions:W3siYWN0aW9uIjoib3BlbkxpbmsiLCJ0YXJnZXQiOiJfc2VsZiIsInVybCI6Imh0dHBzOi8vdG90aGVhbmdlLmdpdGh1Yi5pby9idXR0b25zLmh0bWwifSx7ImFjdGlvbiI6ImFkdmFuY2VHdWlkZSJ9XQ==",
                        "region": "nc",
                        "remoteIp": "2600:1700:4f30:9730:6915:921d:75e9:9019",
                        "serverName": "exampleserver.github.io",
                        "title": "CgoiCGFsaF9kZW1vEikKCkd1aWRlR3JvdXAaG3ZqQkM3RDNYd1AwZFo2aHlZa1ZRNmFtNThOWRIoCglHdWlkZVN0ZXAaG0wtV3IteEU1b0lzYl9mdmFLeDlieFFPR1VvYw",
                        "uiElementId": "pendo-button-047f7a88",
                        "uiElementType": "BUTTON",
                        "uiElementText": "Yes, let's go!",
                        "uiElementActions": "[{\"action\":\"openLink\",\"target\":\"_self\",\"url\":\"https://exampleserver.github.io/buttons.html\"},{\"action\":\"advanceGuide\"}]",
                        "url": "http://exampleserver.github.io/index.html",
                        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36",
                        "visitorId": "examplevisitor",
                        "appId": 5731131925331968,
                        "accountId": "exampleaccount"
                    }

    0
    Comment actions Permalink

Please sign in to leave a comment.