-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Was this page helpful" does not work with Google Analytics 4 properties #3170
Comments
I've added the sending of the |
I had to reissue the latest release (my fault), so this has been released as part of 7.3.6+insiders-3.2.2. I'll let this open until we find out how to build a sensible custom report from this. |
@garrettheel did you manage to create a custom report in GA4? |
Not yet, still contending with the confusing UI and lag in data becoming available. I'll keep trying and report back |
@squidfunk I made some progress here. It's definitely a bit of effort to get this set up, and I think the large initial delay is likely to confuse a lot of folks. Nevertheless, here are the steps I took:
Note that data appears to be delayed by ~24 hours, so I had to wait a day to come back and see data show up. If you don't see data, also ensure that the date range at the top left side is "last 7 days" or similar. One other thing: it's difficult to sort unhelpful pages because the feedback is sent with |
Would you care for writing a guide for the documentation as part of a PR? |
I'm closing this issue for now, as the problem reported in the OP is fixed and we have all the information here on how to set it up. If somebody wants to write a guide for this, a PR is very much appreciated. I'm not a user of GA4. |
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
When using GA4 analytics properties, the "Was this page helpful?" feature does not work. Reading the code, it looks like this is currently only implemented for Universal Analytics.
Also mentioned in #3011
Expected behaviour
I expect to see the widget at the footer of the page.
Actual behaviour
The div is
hidden
, since there is no implementation for this analytics provider.Steps to reproduce
Use a GA4 analytics provider and switch on the feedback feature
Observe that there is no "was this page helpful" widget displayed
Package versions
7.3.6+insiders.3.1.5
Configuration
System information
N/A
The text was updated successfully, but these errors were encountered: