Skip to content
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

Unbounced framework - Manage href 'clkn/' redirections #203

Open
san-slysz opened this issue Aug 3, 2020 · 1 comment
Open

Unbounced framework - Manage href 'clkn/' redirections #203

san-slysz opened this issue Aug 3, 2020 · 1 comment

Comments

@san-slysz
Copy link

san-slysz commented Aug 3, 2020

Is your feature request related to a problem? Please describe.
On one website I use your lib on, they have a framework that encapsulate links using 'clkn' href.
As a consequence:

  • when on our website a users clicks on a button, it works fine
  • when the lib crawls the link, it doesn't interpret the href (but just read it and check the litteral link it would be), find its 410 -> test is red.
    So ok for the user, but red for the crawler. As it works for the end user, I'd like the crawler to check the actual redirected url, and return whether this end-url is ok or not.

Describe the solution you'd like
When an href is shaped as : href = clkn/http(s)/www.google.com/"
Then the tested url should be : http(s)://www.google.com/

And the test should be red or green based on this url (and not http(s)://clkn/http(s)/www.google.com/*)

Describe alternatives you've considered
Being able to ignore such pattern is a good temporary option. But any way to handle it would be nice.

Additional context
The documentation about clkn redirect
https://documentation.unbounce.com/hc/en-us/articles/360038828772-Why-Are-Links-on-My-Landing-Page-Wrapped-in-clkn-clkg-

@stevenvachon
Copy link
Owner

This is not an HTML standard, so support for it will likely never make it into the core of this project. It will be possible as a plugin in the future when that architecture has been put in place. Another possible idea is to add some kind of a "filter" event to the API for customizing the link filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants