It's been an amazing 3 years coming together in this forum to collaborate, innovate, support, and inspire each other about our shared usage of Datorama. While this is not quite a goodbye, we are excited to announce that we are getting a fresh start in our new home within the Salesforce Trailblazer Community. We have a ton of fun new content planned and you may even see the revival of some of our most popular posts from the past few years.
We’ll be keeping this group around for a bit for you to peruse, but as of November 15, we will no longer be allowing new posts or comments. Be sure to join our new group at https://www.salesforce.com/success-datorama to keep the conversation going.
We can’t wait to see you there!
Google Analytics - Clean up Medium with Custom Dimension
I have lots of experience dealing with Google Analytics, and the notorious Core Reporting API. I'll post the tips I find most helpful.
Here is a quick Custom Dimension to group the dimension of Medium. Enjoy!
IF([Medium] == 'organic','Organic',IF([Medium] == '(none)','Direct',IF([Medium] == 'cpc' || [Medium] == 'SEM' || [Medium] == 'Display','Paid',IF([Medium] == 'referral','Referral',IF([Medium] == 'email','Email',IF([Medium] == 'social' || [Web_Analytics_Site_Source] contains 'facebook' || [Web_Analytics_Site_Source] contains 'lnkd.in' || [Web_Analytics_Site_Source] contains 'linkedin' || [Web_Analytics_Site_Source] == 't.co' || [Web_Analytics_Site_Source] contains 'twitter','Social','Other'))))))