{"id":13653,"date":"2023-12-06T03:48:22","date_gmt":"2023-12-06T00:48:22","guid":{"rendered":"https:\/\/bogat.digital\/?p=13653"},"modified":"2023-12-06T03:50:39","modified_gmt":"2023-12-06T00:50:39","slug":"tz-dlya-e-commerce-ga4","status":"publish","type":"post","link":"https:\/\/bogat.digital\/ru\/tz-dlya-e-commerce-ga4\/","title":{"rendered":"\u0422\u0417 \u0434\u043b\u044f e commerce GA4"},"content":{"rendered":"\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-left kksr-valign-top\"\n    data-payload='{&quot;align&quot;:&quot;left&quot;,&quot;id&quot;:&quot;13653&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;top&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;1&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;&quot;,&quot;legend&quot;:&quot;5\\\/5 - (1 \u0433\u043e\u043b\u043e\u0441)&quot;,&quot;size&quot;:&quot;16&quot;,&quot;title&quot;:&quot;\u0422\u0417 \u0434\u043b\u044f e commerce GA4&quot;,&quot;width&quot;:&quot;98&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 98px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 16px; height: 16px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 12.8px;\">\n            5\/5 - (1 \u0433\u043e\u043b\u043e\u0441)    <\/div>\n    <\/div>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-13654\" src=\"https:\/\/bogat.digital\/wp-content\/uploads\/2023\/12\/ga4-per-ecommerce1.png\" alt=\"\u0422\u0417 \u0434\u043b\u044f e commerce GA4\" width=\"1938\" height=\"928\" srcset=\"https:\/\/bogat.digital\/wp-content\/uploads\/2023\/12\/ga4-per-ecommerce1.png 1938w, https:\/\/bogat.digital\/wp-content\/uploads\/2023\/12\/ga4-per-ecommerce1-300x144.png 300w, https:\/\/bogat.digital\/wp-content\/uploads\/2023\/12\/ga4-per-ecommerce1-1024x490.png 1024w, https:\/\/bogat.digital\/wp-content\/uploads\/2023\/12\/ga4-per-ecommerce1-768x368.png 768w, https:\/\/bogat.digital\/wp-content\/uploads\/2023\/12\/ga4-per-ecommerce1-1536x736.png 1536w\" sizes=\"(max-width: 1938px) 100vw, 1938px\" \/><\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0438 \u043d\u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u042d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043d\u0435 \u0432\u043b\u0438\u044f\u043b\u0438 \u0434\u0440\u0443\u0433 \u043d\u0430 \u0434\u0440\u0443\u0433\u0430.<\/p>\n<p><em>dataLayer.push({ ecommerce: null }); \/\/ Clear the previous ecommerce object.<\/em><\/p>\n<h2>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u044b \u0438 \u043f\u043e\u043a\u0430\u0437\u044b \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0442\u043e\u0432\u0430\u0440\u0435 \u0438\u043b\u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u0438<\/h2>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0445 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u043e \u0442\u043e\u0432\u0430\u0440\u0435, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u0438 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 view_item \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043d\u0438\u0436\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0431 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0445 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0442\u043e\u0432\u0430\u0440\u0430\u0445 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0435\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.<br \/>\n<strong>\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u0434\u043e\u043c Google Tag Manager, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/strong><\/p>\n<p><em>\/\/ Measure a view of product details. This example assumes the detail view occurs on pageload,<\/em><br \/>\n<em>dataLayer.push({ ecommerce: null }); \/\/ Clear the previous ecommerce object.<\/em><br \/>\n<em>dataLayer.push({<\/em><br \/>\n<em>event: &#171;view_item&#187;,<\/em><br \/>\n<em>ecommerce: {<\/em><br \/>\n<em>items: [{<\/em><br \/>\n<em>item_name: &#171;Donut Friday Scented T-Shirt&#187;, \/\/ Name or ID is required.<\/em><br \/>\n<em>item_id: &#171;67890&#187;,<\/em><br \/>\n<em>price: 33.75,<\/em><br \/>\n<em>item_brand: &#171;Google&#187;,<\/em><br \/>\n<em>item_category: &#171;Apparel&#187;,<\/em><br \/>\n<em>item_category2: &#171;Mens&#187;,<\/em><br \/>\n<em>item_category3: &#171;Shirts&#187;,<\/em><br \/>\n<em>item_category4: &#171;Tshirts&#187;,<\/em><br \/>\n<em>item_variant: &#171;Black&#187;,<\/em><br \/>\n<em>item_list_name: &#171;Search Results&#187;, \/\/ If associated with a list selection.<\/em><br \/>\n<em>item_list_id: &#171;SR123&#187;, \/\/ If associated with a list selection.<\/em><br \/>\n<em>index: 1, \/\/ If associated with a list selection.<\/em><br \/>\n<em>quantity: 1<\/em><br \/>\n<em>}]<\/em><br \/>\n<em>}<\/em><br \/>\n<em>});<\/em><\/p>\n<h3>\u0420\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430 \u043a\u043e\u0434\u0430 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<\/h3>\n<ol>\n<li><em><strong>item_name<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u0430.<\/li>\n<li><em><strong>item_id<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 (SKU) \u0442\u043e\u0432\u0430\u0440\u0430.<\/li>\n<li><em><strong>price<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u0446\u0435\u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0435\u0434\u0438\u043d\u0438\u0446\u044b \u0442\u043e\u0432\u0430\u0440\u0430. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u0447\u043a\u0430.<\/li>\n<li><em><strong>item_brand<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u0431\u0440\u0435\u043d\u0434 \u0442\u043e\u0432\u0430\u0440\u0430.<\/li>\n<li><em><strong>item_category<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0442\u043e\u0432\u0430\u0440. \u041c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0439 (\u0434\u043e 5 \u0443\u0440\u043e\u0432\u043d\u0435\u0439)<\/li>\n<li><em><strong>item_variant<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2014 \u0440\u0430\u0437\u043d\u043e\u0432\u0438\u0434\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u0432\u0430\u0440\u0430: \u043b\u044e\u0431\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0442\u043e\u0432\u0430\u0440\u0430, \u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0449\u0438\u0439\u0441\u044f \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0442\u043e\u0432\u0430\u0440\u0430 (\u0446\u0432\u0435\u0442, \u0440\u0430\u0437\u043c\u0435\u0440 \u0438 \u0442.\u043f.).<\/li>\n<li><em><strong>item_list_name<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u0441\u043f\u0438\u0441\u043e\u043a, \u0433\u0434\u0435 \u0431\u044b\u043b \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u0442\u043e\u0432\u0430\u0440 (\u00ab\u0410\u043a\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0442\u043e\u0432\u0430\u0440\u044b\u00bb, \u00ab\u0422\u043e\u043f \u043f\u0440\u043e\u0434\u0430\u0436\u00bb).<\/li>\n<li><em><strong>event<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2014 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d \u0442\u0435\u0433 \u0432 GTM.<\/li>\n<\/ol>\n<h2>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0438\u0445 \u0438\u0437 \u043a\u043e\u0440\u0437\u0438\u043d\u044b<\/h2>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u0438\u0437 \u043d\u0435\u0435, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 add_to_cart \u0438\u043b\u0438 remove_from_cart \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0438\u043b\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0435\u0439. \u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><strong>\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u0434\u043e\u043c Google Tag Manager, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/strong><\/p>\n<p><em>\/\/ Measure when a product is added to a shopping cart<\/em><br \/>\n<em>dataLayer.push({ ecommerce: null });\u00a0 \/\/ Clear the previous ecommerce object.<\/em><br \/>\n<em>dataLayer.push({<\/em><br \/>\n<em>\u00a0 event: &#171;add_to_cart&#187;,<\/em><br \/>\n<em>\u00a0 ecommerce: {<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 items: [{<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_name: &#171;Donut Friday Scented T-Shirt&#187;, \/\/ Name or ID is required.<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_id: &#171;67890&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 price: &#171;33.75&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_brand: &#171;Google&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_category: &#171;Apparel&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_category2: &#171;Mens&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_category3: &#171;Shirts&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_category4: &#171;Tshirts&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_variant: &#171;Black&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_list_name: &#171;Search Results&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 item_list_id: &#171;SR123&#187;,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 index: 1,<\/em><br \/>\n<em>\u00a0\u00a0\u00a0\u00a0\u00a0 quantity: 2<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 }]<\/em><br \/>\n<em>\u00a0 }<\/em><br \/>\n<em>});<\/em><\/p>\n<h3>\u041e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u0435\/\u043d\u0430\u0447\u0430\u043b\u043e \u043f\u043e\u043a\u0443\u043f\u043e\u043a<\/h3>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044e \u043f\u043e\u043a\u0443\u043f\u043e\u043a, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u0432\u0430\u0440\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 begin_checkout \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u044d\u0442\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><strong>\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u0434\u043e\u043c Google Tag Manager, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/strong><\/p>\n<p><em>\/**<\/em><br \/>\n<em>\u00a0* A function to handle a click on a checkout button.<\/em><br \/>\n<em>*\/<\/em><br \/>\n<em>function onCheckout() {<\/em><br \/>\n<em>dataLayer.push({ ecommerce: null }); \/\/ Clear the previous ecommerce object.<\/em><br \/>\n<em>dataLayer.push({<\/em><br \/>\n<em>event: &#171;begin_checkout&#187;,<\/em><br \/>\n<em>ecommerce: {<\/em><br \/>\n<em>items: [{<\/em><br \/>\n<em>item_name: &#171;Donut Friday Scented T-Shirt&#187;, \/\/ \u0418\u043c\u044f \u0438\u043b\u0438 ID \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f.<\/em><br \/>\n<em>item_id: &#171;67890&#187;,<\/em><br \/>\n<em>price: 33.75,<\/em><br \/>\n<em>item_brand: &#171;Google&#187;,<\/em><br \/>\n<em>item_category: &#171;Apparel&#187;,<\/em><br \/>\n<em>item_category2: &#171;Mens&#187;,<\/em><br \/>\n<em>item_category3: &#171;Shirts&#187;,<\/em><br \/>\n<em>item_category4: &#171;Tshirts&#187;,<\/em><br \/>\n<em>item_variant: &#171;Black&#187;,<\/em><br \/>\n<em>item_list_name: &#171;Search Results&#187;,<\/em><br \/>\n<em>item_list_id: &#171;SR123&#187;,<\/em><br \/>\n<em>index: 1,<\/em><br \/>\n<em>quantity: 1<\/em><br \/>\n<em>}]<\/em><br \/>\n<em>}<\/em><br \/>\n<em>});<\/em><br \/>\n<em>}<\/em><\/p>\n<h3>\u041f\u043e\u043a\u0443\u043f\u043a\u0438<\/h3>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0439, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u0438 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0435 purchase \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043d\u0438\u0436\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e\u0431 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0445 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0442\u043e\u0432\u0430\u0440\u0430\u0445 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0435\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438.<\/p>\n<p><strong>\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0434 \u043a\u043e\u0434\u043e\u043c Google Tag Manager, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/strong><\/p>\n<p><em>dataLayer.push({ ecommerce: null }); \/\/ Clear the previous ecommerce object.<\/em><br \/>\n<em>dataLayer.push({<\/em><br \/>\n<em>event: &#171;purchase&#187;,<\/em><br \/>\n<em>ecommerce: {<\/em><br \/>\n<em>transaction_id: &#171;T12345&#187;,<\/em><br \/>\n<em>affiliation: &#171;Online Store&#187;,<\/em><br \/>\n<em>value: &#171;59.89&#187;,<\/em><br \/>\n<em>tax: &#171;4.90&#187;,<\/em><br \/>\n<em>shipping: &#171;5.99&#187;,<\/em><br \/>\n<em>currency: &#171;EUR&#187;,<\/em><br \/>\n<em>coupon: &#171;SUMMER_SALE&#187;,<\/em><br \/>\n<em>items: [{<\/em><br \/>\n<em>item_name: &#171;Triblend Android T-Shirt&#187;,<\/em><br \/>\n<em>item_id: &#171;12345&#187;,<\/em><br \/>\n<em>price: &#171;15.25&#187;,<\/em><br \/>\n<em>item_brand: &#171;Google&#187;,<\/em><br \/>\n<em>item_category: &#171;Apparel&#187;,<\/em><br \/>\n<em>item_variant: &#171;Gray&#187;,<\/em><br \/>\n<em>quantity: 1<\/em><br \/>\n<em>}, {<\/em><br \/>\n<em>item_name: &#171;Donut Friday Scented T-Shirt&#187;,<\/em><br \/>\n<em>item_id: &#171;67890&#187;,<\/em><br \/>\n<em>price: 33.75,<\/em><br \/>\n<em>item_brand: &#171;Google&#187;,<\/em><br \/>\n<em>item_category: &#171;Apparel&#187;,<\/em><br \/>\n<em>item_variant: &#171;Black&#187;,<\/em><br \/>\n<em>quantity: 1<\/em><br \/>\n<em>}]<\/em><br \/>\n<em>}<\/em><br \/>\n<em>});<\/em><\/p>\n<h2>\u0420\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430 \u043a\u043e\u0434\u0430 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<\/h2>\n<ol>\n<li><strong><em>transaction_id <\/em><\/strong>(\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438.<\/li>\n<li><em><strong>affiliation<\/strong> <\/em>(\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u0438\u043b\u0438 \u0444\u0438\u043b\u0438\u0430\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u044b\u043b\u0430 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f.<\/li>\n<li><em><strong>value<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u043f\u043e\u043b\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0438 \u043d\u0430\u043b\u043e\u0433. \u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e, \u0441\u0443\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0432 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438.<\/li>\n<li><em><strong>tax<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u0441\u0443\u043c\u043c\u0430 \u0432\u0441\u0435\u0445 \u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438.<\/li>\n<li><em><strong>shipping<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0437\u0430\u043a\u0430\u0437\u0430.<\/li>\n<li><em><strong>coupon<\/strong><\/em> (\u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f) \u2013 \u043a\u0443\u043f\u043e\u043d \u0438\u043b\u0438 \u043f\u0440\u043e\u043c\u043e\u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u043b\u044f \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u043d \u043a\u0430\u043a \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u0437\u0430\u043a\u0430\u0437\u0430, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u043e\u0432\u0430\u0440\u043e\u0432.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0438 \u043d\u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0439 \u043d\u0438\u0436\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u042d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u0442\u043e\u0440\u0433\u043e\u0432\u043b\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043d\u0435 \u0432\u043b\u0438\u044f\u043b\u0438 \u0434\u0440\u0443\u0433 \u043d\u0430 \u0434\u0440\u0443\u0433\u0430. dataLayer.push({ ecommerce: null }); \/\/ Clear the previous ecommerce object. \u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u044b \u0438 \u043f\u043e\u043a\u0430\u0437\u044b \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0442\u043e\u0432\u0430\u0440\u0435 \u0438\u043b\u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0445 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":13654,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,15],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/posts\/13653"}],"collection":[{"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/comments?post=13653"}],"version-history":[{"count":3,"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/posts\/13653\/revisions"}],"predecessor-version":[{"id":13657,"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/posts\/13653\/revisions\/13657"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/media\/13654"}],"wp:attachment":[{"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/media?parent=13653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/categories?post=13653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bogat.digital\/ru\/wp-json\/wp\/v2\/tags?post=13653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}