-
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
amp-analytics: Added support for extraUrlParamsReplaceMap defined in a trigger block. #14233
Comments
/to @zhouyx |
@dougscher You are suggesting adding |
Right now, we use extraUrlParamsReplaceMap to allow url params to be specified by the user So the user does not have to deal with the cryptic names that are actually used in the event url. Right now extraUrlParamsReplaceMap is limited to 16 entries for some reason. bumping that to maybe 40 would take us a long way. Also allowing extraUrlParamsReplaceMap to be specified to a specific trigger would allow controlling these sets of parameters to only apply to specific events. |
@rudygalfi Do you maybe have some context on why we put the 16 entries limit to |
This issue hasn't been updated in awhile. @zhouyx Do you have any updates? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue hasn't been updated in awhile. @zhouyx Do you have any updates? This change would fix some challenges we have with our implementation. |
I think expanding the limit from 16 to 40 is reasonable. cc @jeffjose |
From a performance standpoint, increasing the limit from 16 to 40 doesn't seem like it will be immensely impactful. However, removing inline support seems a little risky though since some pubs might have custom inline replace maps. I would prefer to only add support for
@dougscher Would this be sufficient for your use case? |
This will add efficiency and better organization of param replacements that are only associated with specific triggers.
Similar use case as with:
Added support for extraUrlParams in trigger blocks and URL vars. #3168
The text was updated successfully, but these errors were encountered: