docs: fix GA4 Exploration setup guide#308
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the GA4 Exploration setup documentation to correctly reflect how the plugin emits republication tracking data (as event parameters on page_view), and to guide users through configuring GA4 so shared_post_url is usable in Explorations.
Changes:
- Added a GA4 custom dimension registration section for
shared_post_url(Event scope). - Updated Exploration instructions to use an Event segment (instead of a User segment).
- Updated the “Segment Comparisons” instruction to refer to the event segment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Changes proposed in this Pull Request:
The plugin sends republication tracking data as event parameters on
page_viewevents. It does not useuser_properties. This can be seen here:includes/pixel.php, lines 139-152.The setup guide, on the other hand, referenced Users and was also missing instructions on registering the custom dimension.
Changes:
shared_post_urlCloses
NPPM-2638.How to test the changes in this Pull Request:
docs/tracking-republished-posts.mdend to end — confirm the instructions are clear and complete enough that a publisher could follow them without prior GA4 Exploration experiencedocs/img/google-analytics-segment-settings.png) shows "Include events when:" rather than "Include users when:"