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:
Here is the URL after clicking the button: link doesnt have the UTM anymore
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 {"path":"slug","type":"PlainText"\} }}%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