0

Tracking custom clickstream possible code error

Hello I'm trying to create a clickstream as usual, however by righting same code lines as always in the call report, the fields Track element description and answer stay empty.

Here is the code I'm using:

        $(".trig1").bind("click", function(){
            rec1();
        });

  function rec1(){
            var customREC1 = {};

            customREC1.Text_Entered_vod__c = "Facilité utilisation et choix du dispositif pour injection pour le patient";
            customREC1.Track_Element_Descripton_vod__c = "Facilité utilisation et choix du dispositif pour injection pour le patient";
            customREC1.Answer_vod_c= "Facilité utilisation et choix du dispositif pour injection pour le patient";
            customREC1.Track_Element_Type_vod__c = "pop up";

            com.veeva.clm.createRecord("Call_Clickstream_vod__c", customREC1, printSavedResults);

        }

Kind regards

1 comment

  • Avatar
    Kent Z

    Hi Something Health Veeva Support,

    There are some typos in your code.

    Track_Element_Descripton_vod__c should be Track_Element_Description_vod__cAnswer_vod_c should be Answer_vod__c.

    Sincerely,

    Kent

Please sign in to leave a comment.