Skip to main content

Journal managers and publishers

How do I add Google Analytics to the journal's website?

Create a Google Analytics 4 property with a web stream for the website, then enter its measurement ID under Search and sharing in the journal's settings. It loads only for visitors who accept it in the cookie banner.

Who can do this

People whose role at the publisher or journal allows it
The roles listed below can do this by default. A publisher can change what each role may do on its Roles page.
On the journal's side: Manage search and sharing

Set how the journal's public site appears in search engines and when shared: verification codes and files, robots.txt, analytics, titles, descriptions and the sharing picture.

By default these roles hold it:

  • Publisher Admin
  • Journal Manager
  • Indexing Manager
Where

In the journal's console, signed in

  1. Settings
  2. Publishing
  3. Search and sharing

Each publisher can change what its roles may do, so your journal may differ.

Before you start

  • You have a Google Analytics account, or can create one with a Google account.
  • The journal is responsible for its own privacy and cookie policies. Say in them that the website measures visits with Google Analytics before you switch it on.

Steps

  1. Step 1: Create the property and its web stream

    In Google Analytics, create a property for the journal and add a web data stream with the website's address. Google then shows the stream's measurement ID, which starts with G-.

  2. Step 2: Enter the measurement ID

    On Search and sharing, under Analytics, enter the ID in Google Analytics 4 measurement ID and choose Save changes.

    The Analytics section of a journal's Search and sharing settings, where the Google Analytics 4 measurement ID is entered.
    Entering the measurement ID
    Entering the measurement ID
    The Analytics section of a journal's Search and sharing settings, where the Google Analytics 4 measurement ID is entered.

    Tip

    If you manage your tags in Google Tag Manager, enter the container in Google Tag Manager container instead and set Google Analytics up there.

  3. Step 3: Check what visitors are told

    The cookie banner of the website now offers Tools the journal added itself. Nothing is loaded from Google until a visitor accepts it, and withdrawing the consent later switches the measurement off.

    The list of cookies on the journal's cookie policy page names Google's cookies once the ID is saved. The rest of that page, and the privacy policy, are the journal's own words: DiscoverJ does not write or change them.

What happens next

  • Visits by readers who accepted the journal's own tools reach the journal's Google Analytics property. To check, open the website, accept them in the banner and look at the property's realtime report.

Questions

Why does Google Analytics count fewer visits than we expected?

It counts only the visitors who accept the journal's own tools in the cookie banner. Those who reject them, or never answer, are not measured.

Who answers for the privacy policy when we use Google Analytics?

The journal. It decides to measure its visitors with Google Analytics, so its privacy and cookie policies must say so. Google's cookies are added to the cookie list for you; the policy texts stay yours.

Do we need Google Analytics to see how articles are read?

No. DiscoverJ counts the views and downloads of the journal's articles itself. Google Analytics is an extra for teams that already work with it.

Last updated

Was this helpful?

Please do not write personal details. We read every note but cannot answer it; to ask a question, write to the journal or to us.

Security check An automatic check confirms that a person, not a program, is sending this form. It usually finishes by itself; if it shows a box, select it.

We use cookies the website needs to work. With your consent we also count visits with our own analytics cookies and measure them with Google Analytics. We never sell your data or use it for advertising. Cookie policy

Choose which cookies to allow