-
Notifications
You must be signed in to change notification settings - Fork 284
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
Learn More Link on Link Analytics and AdSense CTA opens in same window #4286
Labels
Good First Issue
Good first issue for new engineers
Module: Analytics
Google Analytics module related issues
P2
Low priority
Rollover
Issues which role over to the next sprint
Type: Bug
Something isn't working
Comments
aaemnnosttv
added
Module: Analytics
Google Analytics module related issues
P2
Low priority
labels
Nov 2, 2021
IB ✔️ |
mitogh
added a commit
that referenced
this issue
Nov 29, 2021
The following work sets the property `ctaLinkExternal` to `true`, according to the details from #4286 in order to allow the link to be opened in a new window instead of the current one.
mitogh
added a commit
that referenced
this issue
Nov 29, 2021
Register the missing property `ctaLinkExternal` in order to allow callers to identify available properties, it sets a default value of `false` as well in order to be backwards compatible as if the value is not set `false` would be used instead for existing components where `CTA` component is used. This work was based out of the ticket #4286.
7 tasks
7 tasks
7 tasks
7 tasks
QA Update: ✅Verified:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Good First Issue
Good first issue for new engineers
Module: Analytics
Google Analytics module related issues
P2
Low priority
Rollover
Issues which role over to the next sprint
Type: Bug
Something isn't working
Bug Description
On the
Link Analytics and AdSense
CTA, there's aLearn more
link and it currently opens the page in the same window rather than opening a new one like our other CTAs.Steps to reproduce
AdSense
but do not link Analytics.Site Kit Dashboard
and scroll down toEarnings
widget.Link Analytics and AdSense
Learn more
link and see behaviour.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
ctaLinkExternal
prop to theCTA
component rendered inAdSenseLinkCTA
.site-kit-wp/assets/js/modules/analytics/components/common/AdSenseLinkCTA.js
Lines 40 to 48 in 1be7723
Test Coverage
QA Brief
AdSense
but do not link Analytics.Site Kit Dashboard
and scroll down toEarnings
widget.Learn more
link and observe the link now it opens in a separate window.Changelog entry
The text was updated successfully, but these errors were encountered: