Join our Community in its new Home - The Datorama Trailblazer Community Group!

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

lhstewartlhstewart SYS_ADMIN IMG42
edited April 2018 in Tips & Tricks

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!

Channel

Copy this:

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'))))))

Lucas

Sign In or Register to comment.