chore: utm updates

This commit is contained in:
Cory Dransfeldt 2023-08-27 17:30:25 -07:00
parent c8de8d6dc3
commit 81bd13478d
No known key found for this signature in database
3 changed files with 628 additions and 1692 deletions

View file

@ -12,7 +12,9 @@ module.exports = async function () {
activity.posts.push({
id: entry.url,
title: entry.title,
url: entry.url.includes('coryd.dev') ? `${entry.url}` : entry.url,
url: entry.url.includes('coryd.dev')
? `${entry.url}?utm_source=follow_feed&utm_medium=social&utm_campaign=syndication`
: entry.url,
content_html: entry.content || '',
date_published: entry.published,
})