Is there a way to append a query string in a link click (Click on the element) or to set a completely different URL to the target? | Community
Skip to main content
Answered

Is there a way to append a query string in a link click (Click on the element) or to set a completely different URL to the target?

  • October 15, 2020
  • 3 replies
  • 139 views

We have some automated behaviors in our application that should preferably not run during the product tour. I'd like to be able to append "?producttour=1" in the URL so we can deactivate some functionalities in the code. Is that something that's possible or that will eventually be?

 

Thank you

Best answer by Roy

@stéphan​ , What about instead of showing tour automatically, run it via URL?

 

You can customize Product tour URL and redirect new customers there:

productour-urlMore information about sharing product tour via URL -> Here

 

Hope this helps.

 

 

3 replies

Roy
Top Expert ✨
Forum|alt.badge.img+5
  • Top Expert ✨
  • October 16, 2020

Hey @stéphan​ 

 

Yes, that should work = )


  • Author
  • New Participant
  • October 16, 2020

@roy s11​ What should work? You probably mean if I add the parameter myself in my code. But I can't do that, my code doesn't know the product tour is running.

 

What I need it the product tour to append a query string so I can get it in PHP when the page changes. Doesn't seem to be possible right now.


Roy
Top Expert ✨
Forum|alt.badge.img+5
  • Top Expert ✨
  • Answer
  • October 17, 2020

@stéphan​ , What about instead of showing tour automatically, run it via URL?

 

You can customize Product tour URL and redirect new customers there:

productour-urlMore information about sharing product tour via URL -> Here

 

Hope this helps.