jsjoeio / speak-argentinian-spanish

speak argentinian spanish website
https://speakargentinianspanish.com/
1 stars 0 forks source link

Track utm_campaign and source #33

Closed jsjoeio closed 1 year ago

jsjoeio commented 1 year ago

I realized that the Beehiiv API has support for utm_campaign.

I'd like to do two things:

  1. pass the query param from the URL through the signup form
  2. track the location of the signup

i.e. if they sign up from a blog post vs the homepage I want to know. We'll probably have to separate that data somehow because we want to be able to say "this person signed up through my Instagram bio via the blog post page.

I'm guessing we use utm_source and then do something like website-[partOfSite]

https://github.com/jsjoeio/speak-argentinian-spanish/blob/main/src/pages/signup.json.ts#LL6C18-L6C25