Skip to content
Snippets Groups Projects
Unverified Commit a31dd8bd authored by Romeo Van Snick's avatar Romeo Van Snick Committed by GitHub
Browse files

Add utm params to doc link in expression editor (#48852)

* Add helper to add utm params to url

* Add utm param to getDocsUrl

* Allow passing utm to docs url

* Add utm parameters to expression widget docs url

* Add useUrlWithUtm hook

* Make more utm props optional

* Use the utm hook and docs hook instead of adding utm tags manually to urls

* Simplify getDocsUrl

* Update unit tests for expression editor to contain utm params

* Only add parameters if they have a value

* Fix unit test

* Fix unit test

* Simplify docs url

* Use useDocsUrl on embedding page

* Use named arguments in useDocsUrl
parent 34a15cba
Branches
Tags
No related merge requests found
Showing
with 175 additions and 122 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment