Skip to main content
Question

Is it possible to mask/exclude gainsight attributes sent?

  • March 24, 2022
  • 1 reply
  • 38 views

  • Contributor ⭐️
  • 1 reply

Hi all,

 

Using maskUrlFunction: function (urlPayload) … we can mask the url with some specific logic and it is well documented here https://support.gainsight.com/PX/Security/Enablement/Exclude_and_Mask_Tracked_Data

 

In a similar fashion, is it possible to mask an attribute element that is passed to Gainsight?

 

ex: When a user presses a link, gainsight receieves this in the element tree

{

“elementTree” : [     

...

    {
      "tagName": "A",
      "attributes": {
        "class": "someClass”
        "href": "/user/somePrivateIdThatShouldBeMasked”
        "data-gainsight": "someUniqueGainsightId"
      },

...

}

 

In this case somePrivateIdThatShouldBeMasked” is exposed which is something we don’t want. In this case is it posisble to mask “somePrivateIdThatShouldBeMasked”? Or don’t pass the “href” attribute at all?

 

Is there any good exmaple or documentation? Thanks!

1 reply

  • Author
  • Contributor ⭐️
  • 1 reply
  • March 24, 2022

Ah, I see I misunderstoof what maskUrlFunction does. It looks like I can use maskUrlFunction to mask the attribute urls within as well. I thought it was for the url of the page you are on. Please consider this topic closed unless there are other discussions 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings