Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English
Cesta de la compra

Cómo añadir Google Analytics a un sitio web de WordPress

1 minuto de lectura

Google Analytics shows you how many people visit your site, where they come from, and what they do. Adding it to WordPress lets you make decisions based on real data. This guide explains the options.

Step 1: Create a Google Analytics property #

Sign in to Google Analytics, create an account and a property for your website, and get your measurement ID (it starts with G-). This ID connects your site to your analytics.

Step 2: Add it to WordPress #

There are two common approaches:

  • With a plugin (easiest): install an analytics plugin, paste your measurement ID, and it handles the tracking code for you.
  • Via your theme: some themes have a field for your analytics ID or header scripts in their settings.

Using a plugin #

  1. Ir a Plugins > Add New and install a reputable analytics plugin.
  2. Activate it and open its settings.
  3. Connect your Google account or paste your measurement ID.
  4. Guardar.

Confirm it is working #

Visit your site, then check the Realtime report in Google Analytics; you should see your own visit. Data for reports builds up over the following hours and days.

A note on privacy #

If you have visitors in the EU, remember that analytics involves personal data. Add a privacy policy and a cookie consent banner, and configure analytics in line with GDPR expectations.

Solución de problemas #

  • No data: confirm the measurement ID is correct and caching is cleared.
  • Double counting: make sure the tracking code is only added once, not by both a plugin and the theme.

¿Necesita ayuda? #

If analytics is not tracking, our support team can help you check the setup over live chat.

Cuáles son sus sentimientos