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

File diff suppressed because it is too large Load diff

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,
})

View file

@ -10,7 +10,7 @@ permalink: /feed.xml
{% block entries %}
{% assign posts = collections.posts | reverse %}
{% for post in posts limit: 15 %}
{% capture entry_link %}
{% capture entry_link %}?utm_source=all_posts_feed&utm_medium=rss&utm_campaign=syndication
{{ site.url }}{{ post.url }}
{% endcapture %}
<entry>