Skip to main content
Best answer

Zapier.com is appending ?from_url incorrectly to outbound URLs that contain a hash


We currently have a Zapier App (screenshot attached). The issue lies in when a user clicks on the blue “Click here to learn more“ link in the New Participant Reward event.

The issue: The webpage is naively appending a ?from_url URL parameter to the click, but hashes aren’t factored in. This ends up with a malformed URL, and the user isn’t directed to the appropriate anchor upon landing on the webpage.
 


This is the original URL that we want users to go to:
https://site.com#hash

But this is what Zapier is turning the URL into:
https://site.com#hash?from_url=ANYTHING

 

This is what we would expect Zapier to turn the URL into:
https://site.com?from_url=ANYTHING#hash


Unfortunately, this is an issue that I haven’t been able to make any sort of workarounds whatsoever (DNS, server-side, and third-party tool).

 

Any thoughts, Zapier Dev team? Does this look like a bug?

 

Thank you

Best answer by nicksimardBest answer by nicksimard

Hi @kevinsy!

That definitely seems like a bug, and an unfortunate one since I can’t think of a way for you to get around it behaving that way. I’m going to file a bug report for this and add you as an affected user. You’ll be notified when that’s been resolved!

In the meantime, the way you’ve done it, specifying which section to check, is about the best workaround I can think of.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

PaulKortman
Forum|alt.badge.img+10
  • Zapier Expert
  • 469 replies
  • August 11, 2020

@kevinsy that is frustrating and indeed is an unintended consequence. I’ve escalated this to Zapier’s support team. Hopefully, they’ll chime in here quickly


nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • 2115 replies
  • Answer
  • August 12, 2020

Hi @kevinsy!

That definitely seems like a bug, and an unfortunate one since I can’t think of a way for you to get around it behaving that way. I’m going to file a bug report for this and add you as an affected user. You’ll be notified when that’s been resolved!

In the meantime, the way you’ve done it, specifying which section to check, is about the best workaround I can think of.


  • Author
  • Beginner
  • 1 reply
  • August 12, 2020

Thank you both! @nicksimard @PaulKortman