andreaselia / laravel-analytics

Analytics for the Laravel framework.
MIT License
165 stars 25 forks source link

Add support for UTM paramter tracking #42

Closed grantholle closed 11 months ago

grantholle commented 11 months ago

This adds support for tracking UTM parameters. I've added the details to the built-in dashboard, but not Nova. I think it would make sense for a Partition metric, but haven't decided 100%.

andreaselia commented 11 months ago

Thanks for your PR @grantholle, much appreciated 👍

@tomirons what do you think of this? Could it be worth having a utm_data json column instead or do you feel like the current column setup is fine?

grantholle commented 11 months ago

I had the same thought. I thought this was the simpler/easier approach, as the utm standard seems to be pretty stable and unlikely to change. Happy to go either way

tomirons commented 11 months ago

I like the way it is now with the separate columns. 👍