Website analytics

Website analytics helps website owners monitor how people use their site. It provides data on visitor demographics, behavior, and interactions, helping improve websites and marketing strategies.

You can track your Odoo website’s traffic using Plausible.io or Google Analytics. We recommend using Plausible.io as it is privacy-friendly, lightweight, and easy to use.

The Plausible Analytics dashboard is also integrated into Odoo and can be accessed via Website ‣ Reporting ‣ Analytics.

Plausible.io

To use Plausible.io, create your own Plausible.io account (or use an existing one), then connect it to the database as follows:

  1. Create or sign in to a Plausible.io account using the following link: https://plausible.io/register.

  2. If you are creating a new account, go through the registration and activation steps. On the Add website info page, add the Domain of your website without including www (e.g., example.com) and change the Reporting Timezone, if necessary. Click Install Plausible to proceed to the next step. Ignore the Manual installation instructions and click Start collecting data.

  3. Once done, click the Plausible.io logo in the upper-left part of the page to access your list of websites, then click the (ellipsis) icon next to the website and select Settings from the drop-down menu.

    screenshot: website-analytics-plausible-gear-icon-settings
    menu
    (Plausible.io) ‣ Sites
    shows
    The Plausible.io site list with the three-dot menu of a site open on the Settings entry.
    highlight
    The Settings entry (red frame).
    data
    Site `example.com`.
    module
    website
    notes
    English UI, light theme, 1440px width.
  4. In the sidebar, select Visibility, then click Add Shared link.

  5. Enter a Name, leave the Password (optional) field empty, as the Plausible analytics dashboard integration in Odoo does not support it, then click Create shared link.

  6. Copy the shared link.

    screenshot: website-analytics-plausible-copy-shared-link
    menu
    (Plausible.io) ‣ Site settings ‣ Visibility
    shows
    The Plausible.io Visibility settings with the created shared link and its copy button.
    highlight
    The shared link (red frame).
    data
    Use a throw-away shared link.
    module
    website
    notes
    English UI, light theme, 1440px width.
  7. In Odoo, go to Website ‣ Configuration ‣ Settings.

  8. In the SEO section, enable Plausible Analytics, then paste the Shared Link Auth and click Save.

Tip

If you have multiple websites, add your websites to your Plausible.io account by going to https://plausible.io/sites and clicking + Add Website. In Odoo, in the Website settings, make sure to select the website in the Settings of Website field at the top of the page before pasting the Shared link.

Note

Odoo automatically pushes two custom goals: Lead Generation and Shop.

Google Analytics

To follow your Odoo website’s traffic with Google Analytics:

  1. Create or sign in to a Google account using the following link: https://analytics.google.com.

    • If you are setting up Google Analytics for the first time, click Start measuring and go through the account creation step.

    • If you already have a Google Analytics account, sign in and click the icon in the bottom-left corner of the page to access the Admin page. Then, click + Create and select Property from the drop-down menu.

  2. Complete the next steps: property creation, business details and business objectives.

  3. When you reach the Data collection step, choose the Web platform.

    screenshot: website-analytics-ga-platform
    menu
    (Google Analytics) ‣ Admin ‣ Data streams
    shows
    The Google Analytics platform selection when creating a data stream, with the Web option.
    highlight
    The Web option (red frame).
    data
    Domain `example.com`.
    module
    website_google_analytics
    notes
    English UI, light theme, 1440px width.
  4. Set up your data stream: Specify your Website URL and a Stream name, then click Create & continue.

  5. Copy the Measurement ID.

    screenshot: website-analytics-ga-measurement-id
    menu
    (Google Analytics) ‣ Admin ‣ Data streams ‣ (stream)
    shows
    The Google Analytics web stream details showing the Measurement ID to copy.
    highlight
    The Measurement ID (red frame).
    data
    Use a throw-away measurement ID.
    module
    website_google_analytics
    notes
    English UI, light theme, 1440px width.
  6. In Odoo, go to Website ‣ Configuration ‣ Settings.

  7. In the SEO section, enable Google Analytics, then paste the Measurement ID and click Save.

Tip

If you have multiple websites with separate domains, it is recommended to create one property per domain. In Odoo, in the Website settings, make sure to select the website in the Settings of Website field at the top of the page before pasting the Measurement ID.

Google Tag Manager

Google Tag Manager is a tag management system that allows you to update measurement codes and other marketing tags on your website without changing its code.

The Google app inserts your Tag Manager container on every page of the website, with the consent of the visitors, and fills the data layer with the eCommerce and lead events. Install the Google app, then enter the Container ID in Google ‣ Configuration ‣ Settings. See Tags and Analytics for the details.

Note

The data is collected in the marketing tools used to monitor the website (e.g., Google Analytics, Plausible, Facebook Pixel), not in Odoo.