-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Provide ability to conditionally append key-value pair in amp-analytics #1701
Comments
Is this blocking for your integration? |
No. We've tested our systems with empty query params and everything is working as expected. At this time, this issue is not a high priority from Chartbeat's perspective. |
@cramforce @avimehta LMK if this works: I intend to implement this as a new boolean config option, |
vars can't be omitted like that. For example, lets say this is my config:
|
This hasn't been discussed in awhile. Closing since it's pretty low in priority but we can reopen if anyone has a specific need for this. |
In some analytics platforms, when a parameter is empty the expected behavior is to not include that parameter in the request. For example, if there was an optional user-defined
authors
variable and the user left the value undefined, the request would not contain anauthors
parameter.The text was updated successfully, but these errors were encountered: