Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Missing Site Tag box for adding Cloudflare Web Analytics ID for Atomic sites #58417

Open happychait opened 3 years ago

happychait commented 3 years ago

Quick summary

For Atomic sites only, there is no Site Tag box to add Cloudflare Web Analytics ID either in Calypso Tools → Marketing → Traffic or in the Jetpack → Settings → Traffic page.

Not a problem for Simple sites.

Steps to reproduce

  1. Sign up to Cloudflare.
  2. Generate Cloudflare Web Analytics ID from https://dash.cloudflare.com/sign-up/web-analytics
  3. Return to WordPress.com → Tools → Marketing → Traffic page to add the Cloudflare Site Tag.

What you expected to happen

Site Tag box should available in the Cloudflare section either on the Calypso or Jetpack Traffic settings page.

What actually happened

Cloudflare section and the Site Tag box are not available.

Context

No response

Operating System

No response

Browser

No response

Simple, Atomic or both?

No response

Theme-specific issue?

No response

Other notes

No response

Reproducibility

No response

Severity

No response

Available workarounds?

Yes, easy to implement

Workaround details

We can add the Web Analytics Javascript using a Header/Footer plugin.

kuropixel commented 3 years ago

Discovered this on a user's dashboard. 32850143-hc

Nic-Sevic commented 2 years ago

Another case here: p1641361706369300/1641361533.369200-slack-C03TY6J1A

I can also confirm it missing on all my test sites