Remove ?ref from links in posts

We have a ghost blog that act as headless cms for our Gatsby website. Lately we notice that links in the blog post has a ‘?ref’ param like ?ref=myblog.ghost.io we don’t want this ref in our website as it doesn’t make any sense. how can i remove this? is there a built-in settings to disable this? or do i have to use javascript and trim this param from each links in the content?

please advise.

This is called “Outbound link tagging” - you can configure this on the Analytics Settings page (/ghost/#/settings/analytics)

3 Likes

Thanks. Actually, solved it by contacting the Ghost support yesterday itself, forgot to close this topic.