Linkedin UTM param being removed from link

Hey I have created a button that shares a blog post on linkedin. I have this setup for Facebook, Twitter, email and sms but linkedin is giving me a problem.
The UTM is being removed from the URL. Here is how the code looks:

https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.thoughtful.ai%2Fblog%2Fthe-top-5-use-cases-for-rpa-in-2023-that-save-time-and-money%3Futm_source%3Dwebsite%26utm_medium%3Dlinkedin%26utm_campaign%3Dshare_blog_page

Here is the URL after clicking the button:
image

On Webflow I am using a onclick:

<button class="share-cover" onclick="window.open('https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.thoughtful.ai%2Fblog%2F{{wf {&quot;path&quot;:&quot;slug&quot;,&quot;type&quot;:&quot;PlainText&quot;\} }}%3Futm_source%3Dwebsite%26utm_medium%3Dlinkedin%26utm_campaign%3Dshare_blog_page')"></button>

When testing, use an old blog because some are not uploaded yet and you will get an error.

Thank you,
Cam


Here is my site Read-Only: Webflow - Thoughtful Automation