-
Notifications
You must be signed in to change notification settings - Fork 384
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
Add default configuration for analytic vendors. #7034
Add default configuration for analytic vendors. #7034
Conversation
5e5f3bd
to
1a5500c
Compare
@@ -18,59 +18,10 @@ import { Button, PanelRow, BaseControl, VisuallyHidden } from '@wordpress/compon | |||
*/ | |||
import { Options } from '../components/options-context-provider'; | |||
import { AMPNotice, NOTICE_SIZE_SMALL } from '../components/amp-notice'; | |||
import vendorConfigs from './vendor-configs'; | |||
|
|||
const GOOGLE_ANALYTICS_VENDOR = 'googleanalytics'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we still need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, This variable is used below for message.
@dhaval-parekh should we add a notice with (link) for 10 vendors something like 🔗 "Learn More" pointing to the respective vendor's documentation link |
Yes, We can add it. Let me check if i can find the documentation for those vendors. |
1a5500c
to
1f2a039
Compare
Plugin builds for 16d597c are ready 🛎️!
|
1f2a039
to
21f9ddb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼
There's an E2E test failing, but I'm updating with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The E2E tests need to be fixed.
Summary
Fixes #7019
Pre-fill default config when the user selects analytic vendor on the AMP setting page.
analytic-default-config.mov
Checklist