-
Notifications
You must be signed in to change notification settings - Fork 146
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
GA: address QA issues #30
Conversation
// filter to path with and without trailing slash if the slug doesn't end | ||
// with a trailing slash | ||
if (pagePath && !pagePath.endsWith('/')) { | ||
filters = `${filters},ga:pagePath==${pagePath}/` |
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.
Why not just use a regex? https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters
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.
In case there's some special characters in the path that might mess up the regex
return <Paragraph className={styles.lightText}>The {contentTypeName}{' '} | ||
content type hasn't been configured for use with this app. It must | ||
have a field of type short text and must be added to the list of | ||
content types in this app's configuration.</Paragraph>; |
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.
How about we add a deeplink to the app config screen?
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.
currently not possible
No description provided.