{"id":3201,"date":"2025-06-18T05:40:09","date_gmt":"2025-06-18T05:40:09","guid":{"rendered":"https:\/\/wthh51e88w.onrocket.site\/outil-de-suivi-des-evenements-de-google-analytics\/"},"modified":"2025-06-25T08:04:44","modified_gmt":"2025-06-25T08:04:44","slug":"outil-de-suivi-des-evenements-de-google-analytics","status":"publish","type":"page","link":"https:\/\/inwurx.com\/fr\/outils\/outil-de-suivi-des-evenements-de-google-analytics\/","title":{"rendered":"Outil de suivi des \u00e9v\u00e9nements de Google Analytics"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3201\" class=\"elementor elementor-3201 elementor-2347\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7a6e381 e-flex e-con-boxed e-con e-parent\" data-id=\"7a6e381\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5d5ed34 elementor-widget elementor-widget-heading\" data-id=\"5d5ed34\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Outil de suivi des \u00e9v\u00e9nements de Google Analytics<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4ca7f93 e-flex e-con-boxed e-con e-parent\" data-id=\"4ca7f93\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-4051ed0 e-con-full elementor-hidden-mobile e-flex e-con e-child\" data-id=\"4051ed0\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-97480d3 e-con-full e-flex e-con e-child\" data-id=\"97480d3\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1e3cf99 elementor-widget elementor-widget-shortcode\" data-id=\"1e3cf99\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <form action=\"\">\n            <fieldset>\n                <div id=\"inx-event\" class=\"inx-event\">\n                    <p><label for=\"inx-category\">Category<input placeholder=\"Example: \u201cContact Form\u201d\" type=\"text\" name=\"inx-category\" id=\"inx-category\" class=\"inx-category\" value=\"\"><\/label><\/p>\n                    <p><label for=\"inx-action\">Action<input placeholder=\"Example: \u201cSubmit\u201d\" type=\"text\" name=\"inx-action\" id=\"inx-action\" class=\"inx-action\" value=\"\"><\/label><\/p>\n                    <p><label for=\"inx-label\">Label<input placeholder=\"Example: \u201cLead\u201d\" type=\"text\" name=\"inx-label\" id=\"inx-label\" value=\"\"><\/label><\/p>\n                    <p><label for=\"inx-value\">Value<input placeholder=\"Example: \u201c100\u201d\" type=\"text\" name=\"inx-value\" id=\"inx-value\" class=\"inx-value\" value=\"\"><\/label><\/p>\n                    <p><label for=\"inx-non-interaction\">Non-Interaction (Optional)<select name=\"inx-non-interaction\" id=\"inx-non-interaction\" class=\"inx-non-interaction\">\n                                <option selected=\"\" value=\"\">Default: Count event as a user interaction<\/option>\n                                <option value=\"ga('set', 'nonInteraction', true);\">True: Make event a non-interaction<\/option>\n                            <\/select><\/label><small>(Select \u201ctrue\u201d if you want to consider it a bounce when a visitor views one page, submits a contact form and leaves without viewing any other pages.)<\/small><\/p>                        <hr>\n                    <p>Place the following code within the code of your link<textarea id=\"inx_event_script\" readonly=\"readonly\"  wrap=\"off\"><\/textarea><\/p>\n                    <p>It should look something like this for your link<textarea id=\"inx_event_view\" readonly=\"readonly\" wrap=\"off\"><\/textarea><\/p>\n                <\/div>\n            <\/fieldset>\n        <\/form>\n\n        <script>\n            (function ($) {\n                'use strict';\n                function initiliseToolScript() {\n                    $('input').keyup(function () {\n                        loadCode();\n                    });\n                    $('input').click(function () {\n                        loadCode();\n                    });\n                    $('select').change(function () {\n                        loadCode();\n                    });\n                }\n                initiliseToolScript();\n\n                function loadCode() {\n                    var category = '';\n                    var action = '';\n                    var label = '';\n                    var value = '';\n                    var non = '';\n                    var events = $('#inx-events').val();\n\n\n                    category = $('#inx-category').val();\n                    action = $('#inx-action').val();\n                    label = $('#inx-label').val();\n                    value = $('#inx-value').val();\n                    non = $('#inx-non-interaction').val();\n\n\n                    $('#category-field').html(category).change();\n                    $('#action-field').html(action).change();\n                    $('#label-field').html(label).change();\n                    $('#value-field').html(value).change();\n                    category = category.replace(\/'\/g, \"\\\\'\");\n                    action = action.replace(\/'\/g, \"\\\\'\");\n                    label = label.replace(\/'\/g, \"\\\\'\");\n                    value = value.replace(\/'\/g, \"\\\\'\");\n\n\n                    var html = 'onClick=\"' + non + 'ga(\\'send\\', \\'event\\', { eventCategory: \\'' + category + '\\', eventAction: \\'' + action + '\\'';\n                    if (label) {\n                        html = html + ', eventLabel: \\'' + label + '\\'';\n                    } else {\n                        html = html + '';\n                    }\n                    if (value) {\n                        html = html + ', eventValue: ' + value;\n                    } else {\n                        html = html + '';\n                    }\n                    html = html + '});\"';\n                    if (category && action) {\n                        $('#inx_event_script').html(html.replace(\/&\/g, \"&amp;\").replace(\/<\/g, \"&lt;\").replace(\/>\/g, \"&gt;\")).change();\n\n                        var event1_look = '<a href=\"https:\/\/google.com\" ' + html + '>Google<\/a>';\n                        $('#inx_event_view').html(event1_look.replace(\/&\/g, \"&amp;\").replace(\/<\/g, \"&lt;\").replace(\/>\/g, \"&gt;\")).change();\n\n\n                    } else {\n                        $('#inx_event_script, #inx_event_view').html('').change();\n                    }\n                }\n\n\n            })(jQuery);\n\n        <\/script>\n        <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b1ef047 e-con-full elementor-hidden-mobile e-flex e-con e-child\" data-id=\"b1ef047\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Outil de suivi des \u00e9v\u00e9nements de Google Analytics<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3237,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3201","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Outil de suivi des \u00e9v\u00e9nements de Google Analytics - Inwurx<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Outil de suivi des \u00e9v\u00e9nements de Google Analytics - Inwurx\" \/>\n<meta property=\"og:description\" content=\"Outil de suivi des \u00e9v\u00e9nements de Google Analytics\" \/>\n<meta property=\"og:url\" content=\"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/\" \/>\n<meta property=\"og:site_name\" content=\"Inwurx\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-25T08:04:44+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/inwurx.com\\\/tools\\\/google-analytics-event-tracking-tool\\\/\",\"url\":\"https:\\\/\\\/inwurx.com\\\/tools\\\/google-analytics-event-tracking-tool\\\/\",\"name\":\"Outil de suivi des \u00e9v\u00e9nements de Google Analytics - Inwurx\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/inwurx.com\\\/#website\"},\"datePublished\":\"2025-06-18T05:40:09+00:00\",\"dateModified\":\"2025-06-25T08:04:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/inwurx.com\\\/tools\\\/google-analytics-event-tracking-tool\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/inwurx.com\\\/tools\\\/google-analytics-event-tracking-tool\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/inwurx.com\\\/tools\\\/google-analytics-event-tracking-tool\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/inwurx.com\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Outils\",\"item\":\"https:\\\/\\\/inwurx.com\\\/tools\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Outil de suivi des \u00e9v\u00e9nements de Google Analytics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/inwurx.com\\\/#website\",\"url\":\"https:\\\/\\\/inwurx.com\\\/\",\"name\":\"Inwurx\",\"description\":\"E-Commerce Growth &amp; PPC Experts Since 2013\",\"publisher\":{\"@id\":\"https:\\\/\\\/inwurx.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/inwurx.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/inwurx.com\\\/#organization\",\"name\":\"Inwurx\",\"url\":\"https:\\\/\\\/inwurx.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/inwurx.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/inwurx.com\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/cropped-inwurx-logo-trademark-light.png\",\"contentUrl\":\"https:\\\/\\\/inwurx.com\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/cropped-inwurx-logo-trademark-light.png\",\"width\":378,\"height\":108,\"caption\":\"Inwurx\"},\"image\":{\"@id\":\"https:\\\/\\\/inwurx.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Outil de suivi des \u00e9v\u00e9nements de Google Analytics - Inwurx","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":"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/","og_locale":"fr_FR","og_type":"article","og_title":"Outil de suivi des \u00e9v\u00e9nements de Google Analytics - Inwurx","og_description":"Outil de suivi des \u00e9v\u00e9nements de Google Analytics","og_url":"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/","og_site_name":"Inwurx","article_modified_time":"2025-06-25T08:04:44+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/","url":"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/","name":"Outil de suivi des \u00e9v\u00e9nements de Google Analytics - Inwurx","isPartOf":{"@id":"https:\/\/inwurx.com\/#website"},"datePublished":"2025-06-18T05:40:09+00:00","dateModified":"2025-06-25T08:04:44+00:00","breadcrumb":{"@id":"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/inwurx.com\/tools\/google-analytics-event-tracking-tool\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/inwurx.com\/fr\/"},{"@type":"ListItem","position":2,"name":"Outils","item":"https:\/\/inwurx.com\/tools\/"},{"@type":"ListItem","position":3,"name":"Outil de suivi des \u00e9v\u00e9nements de Google Analytics"}]},{"@type":"WebSite","@id":"https:\/\/inwurx.com\/#website","url":"https:\/\/inwurx.com\/","name":"Inwurx","description":"E-Commerce Growth &amp; PPC Experts Since 2013","publisher":{"@id":"https:\/\/inwurx.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/inwurx.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/inwurx.com\/#organization","name":"Inwurx","url":"https:\/\/inwurx.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/inwurx.com\/#\/schema\/logo\/image\/","url":"https:\/\/inwurx.com\/wp-content\/uploads\/2025\/08\/cropped-inwurx-logo-trademark-light.png","contentUrl":"https:\/\/inwurx.com\/wp-content\/uploads\/2025\/08\/cropped-inwurx-logo-trademark-light.png","width":378,"height":108,"caption":"Inwurx"},"image":{"@id":"https:\/\/inwurx.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/pages\/3201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/comments?post=3201"}],"version-history":[{"count":1,"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/pages\/3201\/revisions"}],"predecessor-version":[{"id":3202,"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/pages\/3201\/revisions\/3202"}],"up":[{"embeddable":true,"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/pages\/3237"}],"wp:attachment":[{"href":"https:\/\/inwurx.com\/fr\/wp-json\/wp\/v2\/media?parent=3201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}