{"id":22637,"date":"2014-09-23T09:22:14","date_gmt":"2014-09-23T07:22:14","guid":{"rendered":"https:\/\/www.agenciareinicia.com\/blog\/how-to-create-an-onclick-event-in-google-analytics\/"},"modified":"2026-03-13T23:31:43","modified_gmt":"2026-03-13T22:31:43","slug":"how-to-create-an-onclick-event-in-google-analytics","status":"publish","type":"post","link":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/","title":{"rendered":"How to create an onClick event in Google Analytics?"},"content":{"rendered":"\n<p><strong>In this article we will explain what an onClick event is and what its main components are.<\/strong><\/p>\n\n<p>Events are a way to track in detail the actions performed by users on our website. Example: measure how many times our users click on a button, download a document or click on a link. <\/p>\n\n<p>To do this, a javascript code must be implemented so that Analytics can detect it and then configure it in the tool.<\/p>\n\n<p>There are different types of events such as <strong>onmouseover, onmouseout, onload<\/strong><strong>, onDblClick<\/strong>, etc. events. Although in this article we will only focus on <strong>onClick events.<\/strong> <\/p>\n\n<p><strong><em>The onClick events are mainly interactions that users make with the elements of a web page.<\/em><\/strong><strong> onClick<\/strong> events are mainly interactions that users make with the elements of a web page, from file downloads, buttons, mobile ad clicks, video plays, gadgets etc. That is, where the user interacts and clicks. <\/p>\n\n<h2 class=\"wp-block-heading\">What are onClick events used for?<\/h2>\n\n<p>The aim of onClick events is to carry out a detailed monitoring of the interactions that users make on our website. Thanks to this, we will be able to know the degree of interest of the visitors in our Web, and with this we will be able to carry out A\/B tests to see which version is the one that best adapts to the objectives we want to achieve. <\/p>\n\n<div class=\"wp-block-columns has-yellow-background-color has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-xl-font-size\">Watch the webinar <strong>Scorecards <\/strong>for business and marketing!<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-buttons is-vertical is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-9a7cdcfd wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-blue-background-color has-text-color has-background\" href=\"https:\/\/www.agenciareinicia.com\/taller-cuadro-mandos-negocio-y-marketing\" target=\"_blank\" rel=\"noreferrer noopener\">webinar access<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n<h2 class=\"wp-block-heading\">Components of an event<\/h2>\n\n<p>Once it is clear what an event is, we must take into account that it consists of four values with which we can describe the interaction of a user. These four values are<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png\" alt=\"Value events\" class=\"wp-image-709\"\/><\/a><\/figure>\n<\/div>\n<ul class=\"wp-block-list\"><li><em>Category<\/em>: are main divisions of the types of events that are on a site. Categories can be as specific or as broad as you want, for example (English page, downloads, form, etc.). <\/li><li><em>Action<\/em>: is a descriptor of a specific event category. For example we could define <em>Download <\/em>as an interaction action to be performed for a document. <\/li><li><em>Label<\/em>: it is not mandatory and is used to classify an event.<\/li><li><em>Value<\/em>: like the tag value it is not mandatory, but it is very useful for passing counts.<\/li><\/ul>\n\n<p><strong>The structure of an event is as follows:<\/strong><\/p>\n\n<p><code>&lt;a href=\"#\" onClick=\"_gaq.push(['_trackEvent', ' categoria', 'acci\u00f3n', 'opt_etiqueta', opt_valor])\"&gt; <strong>Enlace de clic<\/strong>&lt;\/a&gt;<\/code><\/p>\n\n<p>To explain graphically how it works we show you some of the most common examples.<\/p>\n\n<p><strong><span style=\"text-decoration: underline\">Example 1: PDF download button<\/span><\/strong><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/DESCARGA-PDF.png\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/DESCARGA-PDF.png\" alt=\"PDF DOWNLOAD\" class=\"wp-image-705\"\/><\/a><\/figure>\n<\/div>\n<p>Our link url in this case is as follows:<\/p>\n\n<p>www.ejemplo1.com\/wp\/wp-content\/sobrenosotros.pdf<\/p>\n\n<p><code>&lt; a href=\u201dwww.ejemplo1.com\/wp\/wp-content\/sobrenosotros.pdf onClick=\u201d_gaq.push(['_trackEvent', p\u00e1gina espa\u00f1ol', 'Enlace descargar PDF sobre nosotros', 'Descargar PDF']);\u201d&gt;<strong>Descargar Pdf<\/strong>&lt;\/a&gt;<\/code><\/p>\n\n<p>Once the event is implemented, we will be able to see how many people click on this link to download the PDF.<\/p>\n\n<p><strong><span style=\"text-decoration: underline\">Example 2: Request information button<\/span><\/strong><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/solicitar-informacion-boton-evento-reinicia-agencia-marketing-digital.png\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/solicitar-informacion-boton-evento-reinicia-agencia-marketing-digital.png\" alt=\"Request information event button\" class=\"wp-image-706\"\/><\/a><\/figure>\n<\/div>\n<p>We have as a link:<\/p>\n\n<p>www.empresa1.com\/contacto<\/p>\n\n<p><code>&lt; a href=\u201dwww.empresa1.com\/contacto onClick=\u201d_gaq.push(['_trackEvent', 'espa\u00f1ol', solicitar informacion', informaci\u00f3n']);\u201d&gt;Solicitar informacion&lt;\/a&gt;<\/code><\/p>\n\n<p>In this case, we will be able to see how many people click the button to go to the Contact page.<\/p>\n\n<p>Once the event code has been inserted into the website, Google Analytics will begin to collect all the information on our events, which can be viewed in more detail in the section <strong>Behavior &gt; Events &gt; Overview.<\/strong><\/p>\n\n<p><a href=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Comportamiento.png\"> <\/a><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/COMPORTAMIENTO-UNO.png\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/COMPORTAMIENTO-UNO-257x300.png\" alt=\"BEHAVIOR ONE\" class=\"wp-image-735\"\/><\/a><\/figure>\n<\/div><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/VISION-GENERAL.png\"><img decoding=\"async\" src=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/VISION-GENERAL.png\" alt=\"OVERVIEW\" class=\"wp-image-737\"\/><\/a><\/figure>\n<\/div>\n<p>In this image we can see the total number of events, as well as the unique events, value of the event, etc. We can also know what is the action of the event or its label as shown in the image. <\/p>\n\n<p>We hope that our article has helped you lay the foundation for a solid building of web analytics knowledge.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OnClick events are mainly interactions that users make by clicking on the elements of a web page, from download files, buttons, click on ads, video playback, gadgets, etc.. We show you what they are for and how to configure and track them. <\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[1216,971,1044],"tags":[1217,985,1218],"class_list":["post-22637","post","type-post","status-publish","format-standard","hentry","category-google-analytics-tutorials","category-tutorials","category-web-analytics-tutorials","tag-configure-google-analytics-events","tag-google-analytics","tag-google-analytics-events"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create onClick event in Google Analytics -% Reinicia Agency%.<\/title>\n<meta name=\"description\" content=\"\u25b7With this article, How to create an onClick event in Google Analytics?we want to give you ideas to improve and achieve your goals.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create onClick event in Google Analytics -% Reinicia Agency%.\" \/>\n<meta property=\"og:description\" content=\"\u25b7With this article, How to create an onClick event in Google Analytics?we want to give you ideas to improve and achieve your goals.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/\" \/>\n<meta property=\"og:site_name\" content=\"Reinicia Agency\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Agencia-Reinicia-1598121037162392\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-23T07:22:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-13T22:31:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"682\" \/>\n\t<meta property=\"og:image:height\" content=\"198\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Josue Tejera\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AgenciaReinicia\" \/>\n<meta name=\"twitter:site\" content=\"@AgenciaReinicia\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Josue Tejera\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/\"},\"author\":{\"name\":\"Josue Tejera\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/person\/1c51873d264cf6ed91fe1c3ea4c54da4\"},\"headline\":\"How to create an onClick event in Google Analytics?\",\"datePublished\":\"2014-09-23T07:22:14+00:00\",\"dateModified\":\"2026-03-13T22:31:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/\"},\"wordCount\":563,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png\",\"keywords\":[\"configure google analytics events\",\"google analytics\",\"google analytics events\"],\"articleSection\":[\"Google Analytics Tutorials\",\"Tutorials\",\"Web Analytics Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/\",\"url\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/\",\"name\":\"Create onClick event in Google Analytics -% Reinicia Agency%.\",\"isPartOf\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png\",\"datePublished\":\"2014-09-23T07:22:14+00:00\",\"dateModified\":\"2026-03-13T22:31:43+00:00\",\"description\":\"\u25b7With this article, How to create an onClick event in Google Analytics?we want to give you ideas to improve and achieve your goals.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage\",\"url\":\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png\",\"contentUrl\":\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home page\",\"item\":\"https:\/\/www.agenciareinicia.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create an onClick event in Google Analytics?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#website\",\"url\":\"https:\/\/www.agenciareinicia.com\/en\/\",\"name\":\"Reinicia Agency\",\"description\":\"On-line Strategy and Marketing Consulting\",\"publisher\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.agenciareinicia.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#organization\",\"name\":\"Reinicia Agency\",\"url\":\"https:\/\/www.agenciareinicia.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2021\/03\/logo_black-svg.svg\",\"contentUrl\":\"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2021\/03\/logo_black-svg.svg\",\"width\":363,\"height\":76,\"caption\":\"Reinicia Agency\"},\"image\":{\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Agencia-Reinicia-1598121037162392\/\",\"https:\/\/x.com\/AgenciaReinicia\",\"https:\/\/www.linkedin.com\/company\/agencia-reinicia\/mycompany\/\",\"https:\/\/www.youtube.com\/channel\/UCZaKGiEo0DoiSAyvtTtLflg\",\"https:\/\/www.instagram.com\/agenciareinicia\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/person\/1c51873d264cf6ed91fe1c3ea4c54da4\",\"name\":\"Josue Tejera\",\"url\":\"https:\/\/www.agenciareinicia.com\/en\/blog\/author\/josue-tejera\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create onClick event in Google Analytics -% Reinicia Agency%.","description":"\u25b7With this article, How to create an onClick event in Google Analytics?we want to give you ideas to improve and achieve your goals.","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:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/","og_locale":"en_US","og_type":"article","og_title":"Create onClick event in Google Analytics -% Reinicia Agency%.","og_description":"\u25b7With this article, How to create an onClick event in Google Analytics?we want to give you ideas to improve and achieve your goals.","og_url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/","og_site_name":"Reinicia Agency","article_publisher":"https:\/\/www.facebook.com\/Agencia-Reinicia-1598121037162392\/","article_published_time":"2014-09-23T07:22:14+00:00","article_modified_time":"2026-03-13T22:31:43+00:00","og_image":[{"width":682,"height":198,"url":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1-1.png","type":"image\/png"}],"author":"Josue Tejera","twitter_card":"summary_large_image","twitter_creator":"@AgenciaReinicia","twitter_site":"@AgenciaReinicia","twitter_misc":{"Written by":"Josue Tejera","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#article","isPartOf":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/"},"author":{"name":"Josue Tejera","@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/person\/1c51873d264cf6ed91fe1c3ea4c54da4"},"headline":"How to create an onClick event in Google Analytics?","datePublished":"2014-09-23T07:22:14+00:00","dateModified":"2026-03-13T22:31:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/"},"wordCount":563,"commentCount":0,"publisher":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#organization"},"image":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png","keywords":["configure google analytics events","google analytics","google analytics events"],"articleSection":["Google Analytics Tutorials","Tutorials","Web Analytics Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/","url":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/","name":"Create onClick event in Google Analytics -% Reinicia Agency%.","isPartOf":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage"},"image":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png","datePublished":"2014-09-23T07:22:14+00:00","dateModified":"2026-03-13T22:31:43+00:00","description":"\u25b7With this article, How to create an onClick event in Google Analytics?we want to give you ideas to improve and achieve your goals.","breadcrumb":{"@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#primaryimage","url":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png","contentUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2014\/09\/Eventos-valores1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.agenciareinicia.com\/en\/blog\/how-to-create-an-onclick-event-in-google-analytics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home page","item":"https:\/\/www.agenciareinicia.com\/en\/"},{"@type":"ListItem","position":2,"name":"How to create an onClick event in Google Analytics?"}]},{"@type":"WebSite","@id":"https:\/\/www.agenciareinicia.com\/en\/#website","url":"https:\/\/www.agenciareinicia.com\/en\/","name":"Reinicia Agency","description":"On-line Strategy and Marketing Consulting","publisher":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.agenciareinicia.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.agenciareinicia.com\/en\/#organization","name":"Reinicia Agency","url":"https:\/\/www.agenciareinicia.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2021\/03\/logo_black-svg.svg","contentUrl":"https:\/\/www.agenciareinicia.com\/wp-content\/uploads\/2021\/03\/logo_black-svg.svg","width":363,"height":76,"caption":"Reinicia Agency"},"image":{"@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Agencia-Reinicia-1598121037162392\/","https:\/\/x.com\/AgenciaReinicia","https:\/\/www.linkedin.com\/company\/agencia-reinicia\/mycompany\/","https:\/\/www.youtube.com\/channel\/UCZaKGiEo0DoiSAyvtTtLflg","https:\/\/www.instagram.com\/agenciareinicia\/"]},{"@type":"Person","@id":"https:\/\/www.agenciareinicia.com\/en\/#\/schema\/person\/1c51873d264cf6ed91fe1c3ea4c54da4","name":"Josue Tejera","url":"https:\/\/www.agenciareinicia.com\/en\/blog\/author\/josue-tejera\/"}]}},"_links":{"self":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts\/22637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/comments?post=22637"}],"version-history":[{"count":1,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts\/22637\/revisions"}],"predecessor-version":[{"id":22638,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/posts\/22637\/revisions\/22638"}],"wp:attachment":[{"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/media?parent=22637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/categories?post=22637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agenciareinicia.com\/en\/wp-json\/wp\/v2\/tags?post=22637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}