 For example, say you want to identify visitors coming to your site using their email address and later target them with relevant shopping offers/discount coupons to boost conversions on your business. In this case, you can pass the corresponding user ID or variable used to store the particular visitor information on your site into the Identifier API code (as explained below), to quickly show visitor sessions based on their email address.
For example, say you want to identify visitors coming to your site using their email address and later target them with relevant shopping offers/discount coupons to boost conversions on your business. In this case, you can pass the corresponding user ID or variable used to store the particular visitor information on your site into the Identifier API code (as explained below), to quickly show visitor sessions based on their email address.  In PageSense, the cookie length for a session is set up for two hours. If a visitor interacts with your website multiple times within the two hours of their first interaction, then we combine all the interactions together, and show them as a single recording under a random username. However, if the same visitor comes to your website after two hours, then a new recording will be created under a different name.
In PageSense, the cookie length for a session is set up for two hours. If a visitor interacts with your website multiple times within the two hours of their first interaction, then we combine all the interactions together, and show them as a single recording under a random username. However, if the same visitor comes to your website after two hours, then a new recording will be created under a different name.
   
    | window.pagesense = window.pagesense || []; | 
 
    
      PageSense expects a string as a parameter for the <name> tag, and it can only contain a single value at a time
PageSense expects a string as a parameter for the <name> tag, and it can only contain a single value at a time
    Let's reconsider the example, where you want to identify visitors coming to your site with their email address and later target them with relevant shopping offers/discount coupons to boost revenue. In this case, you can enter the corresponding  <name> tag as 'email address' (just for example) in your Identifier API snippet above to quickly identify and view recordings with their email address instead of random names.
Let's reconsider the example, where you want to identify visitors coming to your site with their email address and later target them with relevant shopping offers/discount coupons to boost revenue. In this case, you can enter the corresponding  <name> tag as 'email address' (just for example) in your Identifier API snippet above to quickly identify and view recordings with their email address instead of random names.
   
      | 
        <script>
        
            function getuserDetail(){
        
                $X.get({
        
                    url: '/portaluser/getCurrentPortalUser',
        
                    handler: function () {
        
                        var response = JSON.parse(this.responseText);
        
                        if(response.status_message === "success"){
        
                            if(response.current_user.user!== 'null'){
        
                                let userEmail = response.current_user.emailid;
        
                                window.pagesense = window.pagesense || [];
        
                                window.pagesense.push(['identifyUser',userEmail ]);
        
                            }
        
                        }
        
                    }
        
                })
        
            }
        
            window.addEventListener('load', getuserDetail);
        
        </script>
        | 
| 
        <script>
        
            function getuserDetail(){
        
                $X.get({
        
                    url: '/portaluser/getCurrentPortalUser',
        
                    handler: function () {
        
                        var response = JSON.parse(this.responseText);
        
                        if(response.status_message === "success"){
        
                            if(response.current_user.user!== 'null'){
        
                                let userEmail = response.current_user.emailid;
        
                                window.pagesense = window.pagesense || [];
        
                                window.pagesense.push(['identifyUser',userEmail ]);
        
                            }
        
                        }
        
                    }
        
                })
        
            }
        
            window.addEventListener('load', getuserDetail);
        
        </script>
        | 
 
   Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
         If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
         
      
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.