Reputation: 43
I am trying to use firebase dynamic links as replacement for Google's URL shortner (as they are terminating the service).
Shortlinks are being created but query params are being parsed for app specific behaviours and whenever I provide custom query params they are being ignored while creating shortLinks. Hence I could not provide custom query params.
Is there any way I can work with FDLs or should I look into another URL shortening service?
Upvotes: 1
Views: 1163
Reputation: 101
I had the same lost params issue on returned shortlinks. Escaping the url worked for me:
params lost:
"https://www.test.co.uk/testing/?utm_source=jam&utm_medium=spoon&utm_campaign=jar&utm_term=lid"
params returned correctly:
"https%3A%2F%2Fwww.test.co.uk%2Ftesting%2F%3Futm_source%3Djam%26utm_medium%3Dspoon%26utm_campaign%3Djar%26utm_term%3Dlid"
Upvotes: 3