Forum Discussion

kavithams's avatar
7 years ago

What is "data-lia-action-token" and how to get one ?

Are  "data-lia-action-token"s a user's session key ? Given a particular page, there seems to be many places where "data-lia-action-token"s are being used but they mostly all have different values in the session key format.

Please clarify the same and explain how can one get a "data-lia-action-token" value for a given user?

      • Parshant's avatar
        Parshant
        Boss

        kavithams

        You can use javascript or jquery to get the value of "data-lia-action-token".

        Some thing like this to get attribute value.

         

        var token = $('.lia-link-navigation.addBoardUserEmailSubscription.lia-component-subscriptions-action-add-board-user-email#addBoardUserEmailSubscription').attr('data-lia-action-token');

        and add this variable value to your html.