{"id": 107, "date": "2024-08-11T22:29:51", "date_gmt": "2024-08-11T22:29:51", "guid": {"rendered": "/?post_type=docs&#038;p=107"}, "modified": "2024-08-13T09:22:21", "modified_gmt": "2024-08-13T09:22:21", "password": "", "slug": "how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo", "status": "publish", "type": "docs", "link": "/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/", "title": {"rendered": "How to Identify Customers and Track Actions via Embed Code on EchoRivo"}, "content": {"rendered": "\n<p class=\"wp-block-paragraph\">It is possible to use the EchoRivo embed code to identify your customers and track their actions in order to apply it to the customers&#8217; score calculation process.</p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>More about the customers&#8217; scores can be found <a href=\"/docs/how-to-manage-ideas-scores-on-EchoRivo/\">here</a>.</strong><br><strong>Please note, that it is possible to have one embed code for all your products as well as separate embed codes for every single product. More information can be found <a href=\"/docs/how-to-apply-one-embed-code-to-multiple-products-on-EchoRivo/\">here</a>.</strong></p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-ways-to-use-your-EchoRivo-embed-code\">Ways to use your EchoRivo embed code</h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are 2 options the EchoRivo embed code can be used for.</p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To track the customers&#8217; data and activities via the following steps</strong>.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Insert the embed code on your website. To get the embed code, check <a href=\"/docs/how-to-find-your-EchoRivo-embed-code/\">this article</a>.<br>Insert the following code to identify the customers which will impact the customer score:</p>\n\n\n\n<pre class=\"wp-block-code\"><code>EchoRivo.push('identify', {\n\n     'email': 'mike@mailinator.com',\n\n     'first_name': 'Mike',\n\n     'last_name': 'Clarke',\n\n     'signature': '4d867e5c38dcb8573e95b26d3c963155b605e5c8d58f4f1063fa5e66715631d3',\n\n     'traits': {\n\n     'company': 'Sygnoos',\n\n     'company_id': 'a-120',\n\n     'app_language': 'de',\n\n     'plan_type': 'paid',\n\n     'plan_price': '$120',\n\n     'plan_frequency': 'monthly',\n\n     'plan_tier': 'Platinum',\n\n     'trial_ends': '1599955200',\n\n     'company_country': 'us',\n\n     'login_count': 29,\n\n     'subscription_end_date': '1619205055',\n\n     'subscription_start_date': '1519205055',\n\n     'registration_date': '1519205055',\n\n     'deletion_date': '',\n\n     'phone': '',\n\n     'customer_country': 'Armenia',\n\n     'birth_year': '1992',\n\n     'job_title': 'Product Manager',\n\n     'seniority': 'VP Product',\n\n     'salary': '4000'\n\n     }\n\n     });</code></pre>\n\n\n\n<p class=\"wp-block-paragraph\">For the security purposes you will need to generate a signature and insert it along the code.</p>\n\n\n\n<p class=\"wp-block-paragraph\">In order to generate a signature, it is required to hash the payload data with the Secret Client as follows:</p>\n\n\n\n<p class=\"wp-block-paragraph\">signature = hash_hmac(sha256(secret + payload data)))</p>\n\n\n\n<p class=\"wp-block-paragraph\">Example for Node.js:</p>\n\n\n\n<pre class=\"wp-block-code\"><code>const signature = crypto.createHmac('sha256', secret).update(JSON.stringify(payload)).digest('hex');</code></pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Insert the code to track the actions the customers perform on your website.</strong></p>\n\n\n\n<p class=\"wp-block-paragraph\">To track the event when a user starts to use a feature:</p>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-2c90304e wp-block-group-is-layout-flex\">\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-2c90304e wp-block-group-is-layout-flex\">\n<pre class=\"wp-block-code\"><code>EchoRivo.push('track', {\n\n 'event': 'start_using_feature',\n\n 'traits': {\n\n 'name': 'Announcement'\n\n  },\n\n 'signature': 'e6f22159db4c882e4a15e1d41b2061f4d04e148e756ab5c4229167c52c1dd321'\n\n  });</code></pre>\n\n\n\n<p class=\"wp-block-paragraph\">To track when a user ends to use a feature:</p>\n\n\n\n<pre class=\"wp-block-code\"><code>EchoRivo.push('track', {\n \n'event': 'end_using_feature',\n\n'traits': {\n\n'name': 'Announcement'\n\n },\n\n'signature': '07e49c95dafb0b13721169fe8ef6046865329e896fffd46f2a262440b0a33192'\n\n});</code></pre>\n</div>\n</div>\n</div>\n\n\n\n<p class=\"wp-block-paragraph\">To sum up, by pushing the above information, EchoRivo will use it to calculate the customer score.</p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, you will be able to check the information about the feature usage upon checking customers details.</p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it! Now you know how to identify the customers and track actions via the embed code on EchoRivo.</p>\n\n\n\n<p class=\"wp-block-paragraph\"></p>\n", "protected": false}, "excerpt": {"rendered": "<p>It is possible to use the EchoRivo embed code to identify your customers and track their actions in order to apply it to the customers&#8217; score calculation process. More about the customers&#8217; scores can be found here.Please note, that it is possible to have one embed code for all your products as well as separate embed [&hellip;]</p>\n", "protected": false}, "author": 1, "featured_media": 0, "comment_status": "open", "ping_status": "closed", "template": "", "meta": {"footnotes": ""}, "doc_category": [11], "doc_tag": [], "class_list": ["post-107", "docs", "type-docs", "status-publish", "hentry", "doc_category-connecting-your-site"], "year_month": "2026-10", "word_count": 431, "total_views": "324", "reactions": {"happy": "0", "normal": "0", "sad": "0"}, "author_info": {"name": "mehedi@99robots.com", "author_nicename": "mehedi99robots-com", "author_url": "/author/mehedi99robots-com/"}, "doc_category_info": [{"term_name": "Connecting Your Website/App", "term_url": "/docs-category/connecting-your-site/"}], "doc_tag_info": [], "yoast_head": "<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\\/\\/yoast.com\\/product\\/yoast-seo-wordpress\\/ -->\n<title>How to Identify Customers and Track Actions via Embed Code on EchoRivo - EchoRivo</title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" />\n<link rel=\"canonical\" href=\"/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/\" />\n<meta property=\"og:locale\" content=\"en_US\" />\n<meta property=\"og:type\" content=\"article\" />\n<meta property=\"og:title\" content=\"How to Identify Customers and Track Actions via Embed Code on EchoRivo - EchoRivo\" />\n<meta property=\"og:description\" content=\"It is possible to use the EchoRivo embed code to identify your customers and track their actions in order to apply it to the customers&#8217; score calculation process. More about the customers&#8217; scores can be found here.Please note, that it is possible to have one embed code for all your products as well as separate embed [&hellip;]\" />\n<meta property=\"og:url\" content=\"/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/\" />\n<meta property=\"og:site_name\" content=\"EchoRivo\" />\n<meta property=\"article:publisher\" content=\"https:\\/\\/web.facebook.com\\/EchoRivoai\" />\n<meta property=\"article:modified_time\" content=\"2024-08-13T09:22:21+00:00\" />\n<meta name=\"twitter:card\" content=\"summary_large_image\" />\n<meta name=\"twitter:label1\" content=\"Est. reading time\" />\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" />\n<script type=\"application/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\/\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\/\\/help.echorivo.com\\/docs\\/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo\\/\",\"url\":\"https:\\/\\/help.echorivo.com\\/docs\\/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo\\/\",\"name\":\"How to Identify Customers and Track Actions via Embed Code on EchoRivo - EchoRivo\",\"isPartOf\":{\"@id\":\"https:\\/\\/help.echorivo.com\\/#website\"},\"datePublished\":\"2024-08-11T22:29:51+00:00\",\"dateModified\":\"2024-08-13T09:22:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\/\\/help.echorivo.com\\/docs\\/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\/\\/help.echorivo.com\\/docs\\/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\/\\/help.echorivo.com\\/docs\\/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\/\\/help.echorivo.com\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\/\\/help.echorivo.com\\/docs\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Identify Customers and Track Actions via Embed Code on EchoRivo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\/\\/help.echorivo.com\\/#website\",\"url\":\"https:\\/\\/help.echorivo.com\\/\",\"name\":\"EchoRivo\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\/\\/help.echorivo.com\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\/\\/help.echorivo.com\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\/\\/help.echorivo.com\\/#organization\",\"name\":\"EchoRivo\",\"url\":\"https:\\/\\/help.echorivo.com\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\/\\/help.echorivo.com\\/#\\/schema\\/logo\\/image\\/\",\"url\":\"https:\\/\\/help.echorivo.com\\/wp-content\\/uploads\\/2024\\/08\\/download.webp\",\"contentUrl\":\"https:\\/\\/help.echorivo.com\\/wp-content\\/uploads\\/2024\\/08\\/download.webp\",\"width\":512,\"height\":512,\"caption\":\"EchoRivo\"},\"image\":{\"@id\":\"https:\\/\\/help.echorivo.com\\/#\\/schema\\/logo\\/image\\/\"},\"sameAs\":[\"https:\\/\\/web.facebook.com\\/EchoRivoai\",\"https:\\/\\/www.linkedin.com\\/company\\/EchoRivo\\/about\\/\"]}]}</script>\n<!-- / Yoast SEO plugin. -->", "yoast_head_json": {"title": "How to Identify Customers and Track Actions via Embed Code on EchoRivo - EchoRivo", "robots": {"index": "index", "follow": "follow", "max-snippet": "max-snippet:-1", "max-image-preview": "max-image-preview:large", "max-video-preview": "max-video-preview:-1"}, "canonical": "/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/", "og_locale": "en_US", "og_type": "article", "og_title": "How to Identify Customers and Track Actions via Embed Code on EchoRivo - EchoRivo", "og_description": "It is possible to use the EchoRivo embed code to identify your customers and track their actions in order to apply it to the customers&#8217; score calculation process. More about the customers&#8217; scores can be found here.Please note, that it is possible to have one embed code for all your products as well as separate embed [&hellip;]", "og_url": "/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/", "og_site_name": "EchoRivo", "article_publisher": "https:\\/\\/web.facebook.com\\/EchoRivoai", "article_modified_time": "2024-08-13T09:22:21+00:00", "twitter_card": "summary_large_image", "twitter_misc": {"Est. reading time": "2 minutes"}, "schema": {"@context": "https:\\/\\/schema.org", "@graph": [{"@type": "WebPage", "@id": "/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/", "url": "/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/", "name": "How to Identify Customers and Track Actions via Embed Code on EchoRivo - EchoRivo", "isPartOf": {"@id": "/#website"}, "datePublished": "2024-08-11T22:29:51+00:00", "dateModified": "2024-08-13T09:22:21+00:00", "breadcrumb": {"@id": "/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/#breadcrumb"}, "inLanguage": "en-US", "potentialAction": [{"@type": "ReadAction", "target": ["/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/"]}]}, {"@type": "BreadcrumbList", "@id": "/docs/how-to-identify-customers-and-track-actions-via-embed-code-on-EchoRivo/#breadcrumb", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Home", "item": "/"}, {"@type": "ListItem", "position": 2, "name": "Docs", "item": "/docs/"}, {"@type": "ListItem", "position": 3, "name": "How to Identify Customers and Track Actions via Embed Code on EchoRivo"}]}, {"@type": "WebSite", "@id": "/#website", "url": "/", "name": "EchoRivo", "description": "", "publisher": {"@id": "/#organization"}, "potentialAction": [{"@type": "SearchAction", "target": {"@type": "EntryPoint", "urlTemplate": "/?s={search_term_string}"}, "query-input": {"@type": "PropertyValueSpecification", "valueRequired": true, "valueName": "search_term_string"}}], "inLanguage": "en-US"}, {"@type": "Organization", "@id": "/#organization", "name": "EchoRivo", "url": "/", "logo": {"@type": "ImageObject", "inLanguage": "en-US", "@id": "/#/schema/logo/image/", "url": "/__assets/help.echorivo.com/wp-content/uploads/2024/08/download.webp", "contentUrl": "/__assets/help.echorivo.com/wp-content/uploads/2024/08/download.webp", "width": 512, "height": 512, "caption": "EchoRivo"}, "image": {"@id": "/#/schema/logo/image/"}, "sameAs": ["https:\\/\\/web.facebook.com\\/EchoRivoai", "https:\\/\\/www.linkedin.com\\/company\\/EchoRivo\\/about\\/"]}]}}, "knowledge_base_info": [], "knowledge_base_slug": [], "_links": {"self": [{"href": "/__assets/help.echorivo.com/wp-json/wp/v2/docs/107", "targetHints": {"allow": ["GET"]}}], "collection": [{"href": "/wp-json/wp/v2/docs"}], "about": [{"href": "/wp-json/wp/v2/types/docs"}], "author": [{"embeddable": true, "href": "/wp-json/wp/v2/users/1"}], "replies": [{"embeddable": true, "href": "/wp-json/wp/v2/comments?post=107"}], "version-history": [{"count": 3, "href": "/wp-json/wp/v2/docs/107/revisions"}], "predecessor-version": [{"id": 148, "href": "/wp-json/wp/v2/docs/107/revisions/148"}], "wp:attachment": [{"href": "/wp-json/wp/v2/media?parent=107"}], "wp:term": [{"taxonomy": "doc_category", "embeddable": true, "href": "/wp-json/wp/v2/doc_category?post=107"}, {"taxonomy": "doc_tag", "embeddable": true, "href": "/wp-json/wp/v2/doc_tag?post=107"}], "curies": [{"name": "wp", "href": "https:\\/\\/api.w.org\\/{rel}", "templated": true}]}}