Elements on a Metric trend

New

Hey! 

I created 2 Elements for Expand and Collapse buttons and can see they are working as expected in the session replays. 

I wanted to add them to a metric on my dashboard to show them being clicked. 

I cannot group them by text (as there is none) and when I group by Element / CSS Selector, only CSS selectors appear which I do not want. 

Anyone know any way I can get this working? 

 

Thanks in advance! 

 

0

Comments

5 comments

  • Hey @antainemcnamee! Thanks for reaching out! 😊

    It looks like you created these elements yesterday, and since elements that have been named are not retroactive, you’ll likely need some more time to allow more data to flow in. You can read more on that here

    Upon further investigation, it looks like there may also be an issue with the CSS selector being used, as the activity tab is showing 0. I would recommend updating the watched elements for collapse / expand buttons to just use these attributes:
    [data-testid="collapse-card-btn"]
    [data-testid="expand-card-btn"]

    If things still don't look right, please let me know and I can create a support ticket and have our team take a closer look. 

    Please let me know if you have any other questions!

    0
  • Hey @lindsay thanks for getting back to me! 

    Okay, I’ll have a go at this and hopefully it will work 😊

    thanks!

     

     

    0
  • Sounds good @antainemcnamee! I’m here to help if you need it! 

    0
  • @lindsay Got it working. Thanks so much for your help 😊

    0
  • Hey @antainemcnamee! I’m so glad to hear you got it working!

    Thanks for letting me know, and as always, please don’t hesitate to reach out should you have any other questions! 😊

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post