{"id":13704,"date":"2024-03-20T17:07:08","date_gmt":"2024-03-20T16:07:08","guid":{"rendered":"https:\/\/helpcenter.blendee.com\/article\/how-to-switch-user-registration-in-real-time-to-blendee\/"},"modified":"2024-03-20T17:07:08","modified_gmt":"2024-03-20T16:07:08","slug":"how-to-switch-user-registration-in-real-time-to-blendee","status":"publish","type":"article","link":"https:\/\/helpcenter.streamwise.it\/en\/article\/how-to-switch-user-registration-in-real-time-to-blendee\/","title":{"rendered":"How to Switch User Registration, in real time, to Blendee"},"content":{"rendered":"\n<p>Blendee allows you to personalize the customer experience both as an anonymous user and as a registered user.<\/p>\n\n<p>But how can you change, in real-time, the user experience if you go from anonymous to registered?<\/p>\n\n<p>It is possible to link the activity of an anonymous user to the user registered at the time of login via the <em>_sbnaq.push<\/em> tracking function with the tracking code:<\/p>\n\n<pre class=\"wp-block-code\"><code>_sbnaq.push(&#91;\u201ctrkUserRegistration\u201d, ID_UTENTE, \u201cEMAIL_UTENTE\u201d]);<\/code><\/pre>\n\n<p>Where:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>trkUserRegistration: name of the action that is passed to Blendee;<\/li>\n\n\n\n<li>ID_UTENTE: this is the user code that is assigned by the customer portal;<\/li>\n\n\n\n<li>EMAIL_UTENTE (optional): this is the email address with which the user registers;<\/li>\n<\/ul>\n\n<p>While the first two parameters are necessary, email is not mandatory.<\/p>\n\n<p>However, if you want to take advantage of the <em>real-time user registration<\/em> feature, the mail parameter must be entered.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>N.B:<\/strong>For customers leveraging the Blendee module for Magento, EMAIL_UTENTE value will always be provided to Blendee.<\/p>\n<\/blockquote>\n<div class=\"wrap-post-useful post_useful_13704\">\n<p><div style=\"color: black; margin-bottom: 15px;\"><strong>Was this content useful?<\/strong><\/div><\/p>\n<p class=\"post_useful_success post_useful_success_13704\">Thanks for contributing!<\/p>\n<div class=\"post-useful-buttons post_useful_buttons_13704\">\n<a href=\"javascript:;\" style=\"border:0px;\" title=\"Yes\" class=\"post-useful-vote post-useful-vote-yes\" data-id=\"13704\" data-rate=\"1\">Yes<\/a>\n<a href=\"javascript:;\" style=\"border:0px;\" title=\"No\" class=\"post-useful-vote post-useful-vote-no\" data-id=\"13704\" data-rate=\"0\">No<\/a>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Blendee allows you to personalize the customer experience both as an anonymous user and as a registered user. But how can you change, in real-time, the user experience if you go from anonymous to registered? It is possible to link the activity of an anonymous user to the user registered at the time of login [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"template":"","format":"standard","article-category":[623],"article-tag":[605],"class_list":["post-13704","article","type-article","status-publish","format-standard","hentry","article-category-users","article-tag-tracking"],"_links":{"self":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/13704"}],"collection":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/13704\/revisions"}],"predecessor-version":[{"id":13705,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/13704\/revisions\/13705"}],"wp:attachment":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/media?parent=13704"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article-category?post=13704"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article-tag?post=13704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}