SalesIQ Identity Update for Logged In Wordpress User

SalesIQ Identity Update for Logged In Wordpress User

Hey folks,

SalesIQ does not automatically detect when a visitor logs in to WordPress and update their identity to match. 

For example, if a client of ours visits the site and logs in, SalesIQ will not track them correctly by default.

The Solution

The solution to this is actually pretty simple:. Pleace the follow code into

File path: /wp-content/themes/astra-child/functions.php
 

  1. add_action('wp_footer', function() {
    if ( is_user_logged_in() ) {
    $current_user = wp_get_current_user();
    $name = esc_js( $current_user->display_name );
    $email = esc_js( $current_user->user_email );
    ?>
    var $zoho = $zoho || {}; $zoho.salesiq = $zoho.salesiq || {}; $zoho.salesiq.ready = function() { $zoho.salesiq.visitor.name("<?php echo $name; ?>"); $zoho.salesiq.visitor.email("<?php echo $email; ?>"); };
    <?php
    }
    });

If the user returns, they should still be correctly identified, even if they have not yet logged in.

Another trick is to use the siq_email and siq_name parameters for any links you email to clients.  

eg. http://www.yoursite.com?siq_email=ssmith@yoursite.com&siq_name=Sam Smith

The benefit of being table to correctly and quickly tag visitors goes beyond SalesIQ.  It also means they are picked up correctly in the CRM and in Zoho Analytics imports.

    Access your files securely from anywhere

        All-in-one knowledge management and training platform for your employees and customers.






                              Zoho Developer Community




                                                    • Desk Community Learning Series


                                                    • Digest


                                                    • Functions


                                                    • Meetups


                                                    • Kbase


                                                    • Resources


                                                    • Glossary


                                                    • Desk Marketplace


                                                    • MVP Corner


                                                    • Word of the Day


                                                    • Ask the Experts



                                                              • Sticky Posts

                                                              • Optimizing Chatbot Versatility by Combining Answer bot and Zobot

                                                                Hi everyone! Great to see you. We are delighted to introduce the Answer bot card/autopilot function for the Codeless and SalesIQ Script bot platforms. This provides your bot with Q&A capabilities similar to the Answer bot. So, you can bring your Answer
                                                              • What will happen if we deploy two Zobots/Chatbots on the website?

                                                                Hi everyone,  The chatbot is a powerful tool to automate customer interaction on your website. But, what will happen if we deploy two different chatbots on the website? If you've deployed both answer bot and Zobot on the website for the same flow, then


                                                              Manage your brands on social media



                                                                    Zoho TeamInbox Resources



                                                                        Zoho CRM Plus Resources

                                                                          Zoho Books Resources


                                                                            Zoho Subscriptions Resources

                                                                              Zoho Projects Resources


                                                                                Zoho Sprints Resources


                                                                                  Qntrl Resources


                                                                                    Zoho Creator Resources



                                                                                        Zoho CRM Resources

                                                                                        • CRM Community Learning Series

                                                                                          CRM Community Learning Series


                                                                                        • Kaizen

                                                                                          Kaizen

                                                                                        • Functions

                                                                                          Functions

                                                                                        • Meetups

                                                                                          Meetups

                                                                                        • Kbase

                                                                                          Kbase

                                                                                        • Resources

                                                                                          Resources

                                                                                        • Digest

                                                                                          Digest

                                                                                        • CRM Marketplace

                                                                                          CRM Marketplace

                                                                                        • MVP Corner

                                                                                          MVP Corner









                                                                                            Design. Discuss. Deliver.

                                                                                            Create visually engaging stories with Zoho Show.

                                                                                            Get Started Now


                                                                                              Zoho Show Resources

                                                                                                Zoho Writer

                                                                                                Get Started. Write Away!

                                                                                                Writer is a powerful online word processor, designed for collaborative work.

                                                                                                  Zoho CRM コンテンツ






                                                                                                    Nederlandse Hulpbronnen


                                                                                                        ご検討中の方




                                                                                                                • Recent Topics

                                                                                                                • Insert Template not inserting

                                                                                                                  I have been using the "Insert Template" feature for years and I use it every single working day. Yesterday it was working fine. Today, on two different browsers (Chrome and Edge), I can select "Insert Template", select the template I want to insert, but
                                                                                                                • How to setup pricing in Zoho

                                                                                                                  Hi everyone, I am relatively new here and have just moved from my old inventory system to the Zoho one. I am trying to get my head around how it all works. I am mostly setup connected to a shopify store, but I do manual sales also For manual invoicing,
                                                                                                                • Work Orders / Bundle Requests

                                                                                                                  Zoho Inventory needs a work order / bundle request system. This record would be analogous to a purchase order in the purchasing workflow or a sales order in the sales cycle. It would be non-journaling, but it would reserve the appropriate inventory of
                                                                                                                • Windows agent 2026_M06 release notes

                                                                                                                  Agent Version: 2026.03.19.0 Release date: 21 April, 2026 Major Enhancement: Connect as Individual Active users allowing you to connect to the same computer as different users in different tabs. Internal tool implementation to check for vulnerability in
                                                                                                                • Windows agent 2026_M05 release notes

                                                                                                                  Agent Version: 111.0.3.335 Release date: 25 March, 2026 Major Enhancement: Quick Support feature compatibility code released. Code refactoring and removal of old code. Minor Enhancement: Updates to trackpad functionalities during remote session. Calendar
                                                                                                                • Windows agent 2026_M04 release notes

                                                                                                                  Agent Version: 111.0.3.334 Release date: 10 March, 2026 Agent stickiness on multiple Windows Desktops to avoid confusion. Various other bug fixes and performance improvements.
                                                                                                                • Notes - Reaction Buttons

                                                                                                                  Using the native notes option within CRM is fine, it works and the RTF features are great, however, would it be possible - if there isnt already something in place, where we can add a reactions button, similar to teams/whatsapp to show that its been read
                                                                                                                • Picklist values out-of-date in Campaigns

                                                                                                                  Hi I use a CRM (Global) picklist set of values for my field "Connection Strength" (see screenshot 1). . I use Campaigns to follow-up and change the Connection Strength value depending on their stage. The picklist values that appear in the dropdown for
                                                                                                                • Can't add my domain to Zoho zeptomail because of error code DE_150

                                                                                                                  Hello there, I'm trying to add my domain to ZeptoMail but it's rejected I checked the network tab and I'm getting { "error": { "code": "TM_3601", "details": [ { "code": "DE_150", "message": "Antispam validation failed for your domain in Accounts." } ],
                                                                                                                • T&C acceptance gate before estimate Accept, with audit trail

                                                                                                                  We had to settle a Florida small-claims case in 2025 because we couldn't prove our customer was bound to the venue clause in our Terms & Conditions. The estimate footer mentioned the T&Cs, and Zoho Books logged the customer's IP and timestamp when they
                                                                                                                • Proforma Invoice

                                                                                                                  Is there an option to create proforma and advance invoices in professional
                                                                                                                • Rename system-defined labels in Zoho CRM

                                                                                                                  Renaming system-defined labels is now available across all DCs. Hello everyone, Zoho CRM includes predefined system fields across modules to support essential CRM operations. Until now, the labels of these fields were fixed and could not be edited from
                                                                                                                • Windows agent 2026_M03 release notes

                                                                                                                  Agent Version: 111.0.3.333 Release date: 19 February, 2026 Event Viewer Windows agent code release. Optimised the unattended agent uninstallation process to properly cleanup residual files and registry entries to prevent registry orphans.
                                                                                                                • Windows agent 2026_M02 release notes

                                                                                                                  Agent Version: 111.0.3.332 Release date: 11 February, 2026 Code refactoring and removing of old unused code to optimise performance in specific versions of Windows Operating System.
                                                                                                                • Windows agent 2026_M01 release notes

                                                                                                                  Agent Version: 111.0.3.331 Release date: 09 February, 2026 Enhancements and updates for improved Video Codec performance and stabler video rendering. Refactored legacy code for optimised performance with legacy devices. Upgrades to monitoring protocols
                                                                                                                • how to fix this error as soon as possible?

                                                                                                                  how to fix this error as soon as possible? i have purchased it for monthly at 59₹ paid for an annum please let me know how to fix this issue as this one is urgent Server error: Message failed: 550 5.4.6 Unusual sending activity detected. Please try after
                                                                                                                • Transaction Rule Matching

                                                                                                                  Q1. Is there a method to have the Transaction Rules applied across multiple Bank Accounts? Q2. To match "contains" text in Transaction Rules, is a wildcard or regular expression required? Is it case sensitive? Would searching for "issue" in the following
                                                                                                                • Native QuickBooks integration for Zoho CRM: Connecting sales and finance

                                                                                                                  Greetings, I hope all of you are doing well. We're excited to announce Zoho CRM's integration with QuickBooks Web, which is designed to synchronize your CRM data with your QuickBooks accounting records and bridge the gap between sales and finance. This
                                                                                                                • Journal Entries Do Not Show Multiple Entries to the Same Account

                                                                                                                  Another basic accounting function that Books ... Accountants sometimes write journal entries, debiting and/or crediting the same account in the same entry. This is due to the need to record specific activity in an account when we pull reports especially
                                                                                                                • Edit a previous reconciliation

                                                                                                                  I realized that during my March bank reconciliation, I chose the wrong check to reconcile (they were for the same amount on the same date, I just chose the wrong check to reconcile). So now, the incorrect check is showing as un-reconciled. Is there any way I can edit a previous reconciliation (this is 7 months ago) so I can adjust the check that was reconciled? The amounts are exactly the same and it won't change my ending balance.
                                                                                                                • BUG: Related List Buttons with Client Script action now erroring

                                                                                                                  There appears to have been a bug introduced over the last few days with Related List buttons that invoke a Client Script action. Button configuration: Configured Client Script: Results: The default loader is presented at the top of the page, and an error
                                                                                                                • Zoho Writer extension is now available in Zoho Books!

                                                                                                                  The Zoho Writer extension is now available in Zoho Books. With this, you can design documents your way. Create custom templates with Zoho Writer in Zoho Books. Instantly generate multiple templates for invoices, estimates, and purchase orders. Easily
                                                                                                                • Paste Options don't work

                                                                                                                  I've always wondered about this, as I've experienced this issue for quite some time now. Why don't the right-click Paste options work properly in Zoho Writer? I can use Ctrl + V without any issue, but if I right-click and use one of the Paste menu options,
                                                                                                                • What's New in Zoho Analytics - April 2026

                                                                                                                  Hello Users! April brings a fresh set of updates and enhanced capabilities designed to make your analytics more intuitive and efficient. Explore What's New! Zia Insights in Dashboards We’re bringing the power of Zia Insights directly into dashboards.
                                                                                                                • Issue with Resume Parsing and Storage Limit in Zoho Recruit

                                                                                                                  Hello Team, We are currently facing an issue with resume parsing in Zoho Recruit. While parsing resumes, we are receiving a message indicating that the storage is full. We would like to delete multiple old resumes from the system to free up storage space.
                                                                                                                • Best sales insights for target accounts?

                                                                                                                  Question for all the sales power-users out there: I would like to gain insights from Zoho CRM for a rotating list of target accounts. Each Outside Salesperson has 5 target accounts, and they can change these targets quarterly with management approval.
                                                                                                                • Introducing Custom Columns in Forecasts in Zoho CRM

                                                                                                                  Release Plan: Enabling in Phased Manner, Enabled for JP DC Hello all, Forecasts in Zoho CRM help sales representatives, managers, and business stakeholders evaluate performance and plan future sales activities. While standard metrics such as Target, Achieved
                                                                                                                • Integrate QuickBooks with Bigin and streamline your sales and accounting!

                                                                                                                  If your business relies on Bigin for customer management and QuickBooks for accounting and invoicing, this new integration is here to make your operations more efficient. By connecting these two platforms, you can now manage your CRM and financial processes
                                                                                                                • What's New in Zoho Billing | April 2026

                                                                                                                  April 2026 brings a wide set of updates to Zoho Billing, from updated Payment Links layout and AI-powered billing workflows to smarter subscription quoting, better compliance tools for German Edition users, and more. Here's everything that's new. Connect
                                                                                                                • No Ability to Rename Record Template PDFs in SendMail Task

                                                                                                                  As highlighted previously in this post, we still have to deal with the limitation of not being able to rename a record template when sent as a PDF using the SendMail Task. This creates unnecessary complexity for what should be a simple operation, and
                                                                                                                • Need Native Support for docx files in Zoho Writer

                                                                                                                  Absolutely love Zoho Writer, but often need to share files by email with people who are in the Office ecosystem. Downloading a file as docx, then sending it by email, getting the comments back, converting it to Zoho format, editing it, then converting
                                                                                                                • Invalid value passed for line_item_category

                                                                                                                  duplicating a previous used invoice and trying to save it (new invoice number / po number used) I keep encountering this error when trying to save the invoice Invalid value passed for line_item_category
                                                                                                                • What is the different between Zoho invoice and Zoho book

                                                                                                                  Hi, both product do invoice and Zoho book having all function / feature Zoho invoice, please explain more, thanks
                                                                                                                • Mastering Zia Match Scores | Let's Talk Recruit

                                                                                                                  Feeling overwhelmed by hundreds of resumes for every job? You’re not alone! Welcome back to Let’s Talk Recruit, where we break down Zoho Recruit’s features and hiring best practices into simple, actionable insights for recruiters. Imagine having an assistant
                                                                                                                • Option for - CSV Export from Pipeline Deals by Stage (Including Products, Companies, and Contacts)

                                                                                                                  I would like to know when we will be able to export a simple CSV file from pipeline deals, with the option to select a specific stage within the pipeline. This export should include data for products, companies, and contacts, all in a single view. For
                                                                                                                • What is the difference between workflows, journeys, and blueprints?

                                                                                                                  I semi-understand what they are individually but they all say they can be used to automate processes in your CRM. What makes these three different? What are the benefits and cons of using each?
                                                                                                                • Free webinar! Simplify hiring and HR workflows with Zoho Sign for Zoho People & Zoho Recruit

                                                                                                                  Hello! Managing recruitment, onboarding, and employee paperwork doesn’t have to be complex or time-consuming. Discover how Zoho Sign, integrated with Zoho People and Zoho Recruit, helps you digitize and streamline your document workflows from hire to
                                                                                                                • Multiple Blueprints on different fields at the same time.

                                                                                                                  It looks only 1 Blueprint can run at the same time, it makes sense for many Blueprints on the same field (Eg. Stage). But what about multiple Blueprints on "different" fields? the multiple options must be available. (Eg. Stage, Documents Status, Contract
                                                                                                                • Edit 'my' Notes only

                                                                                                                  The permissions around Notes should be more granular, and allow to user to be able to edit the notes he created only. The edit Notes permission is useful as it allows the user to correct any mistakes or add information as needed. However, with this same
                                                                                                                • Need to make a specific canvas my default view for contacts

                                                                                                                  Need to make a specific canvas my default view for contacts How do I do it?
                                                                                                                • Next Page