Best answer

Remove gclid from url


Userlevel 2

Hi

How can I remove all characters after and including ?gclid from url

Ex:

INPUT: https://xyz.com.br/?gclid=CjwKCAjwkJj6BRA4dsGcK27JDSvsdExoCucgQAvD_BwE

OUTPUT: https://xyz.com.br/

 

Thank you

icon

Best answer by Troy Tessalone 29 August 2020, 05:18

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

24 replies

Userlevel 2

Perfect! Thank you so much!

Userlevel 7
Badge +14

User a Formatter step.

Split Text at the ? and keep the first segment.

Article: https://zapier.com/apps/formatter/integrations