Share your best marketing analytics trick and get a chance to win! š š (Ended)
Ā
Welcome aboard, marketing analytics gurus!
Ā
We're thrilled to launch our very firstĀ Supermetrics Community Challenge.Ā Our Community Challenges are a chance for us all to dive into the exciting world of marketing analytics in a fun way.Ā
Ā
The rules of the first Challenge are simple:Ā
In the replies to this post, shareĀ your favorite marketing analytics trickĀ you wish you knew sooner.
āLikeā the replies of other Community members that resonate with you the most.
Ā
We'll award 2 participants with aĀ special gift box worth $200:Ā one for the most upvoted response and one for the response chosen by the SupermetricsĀ Team
P.S. Commenting is possible only after you log in to the Community.Ā
Page 1 / 1
This one is easy! I wish I knew about the Sparkline function in Google Sheets sooner! It is the most amazing thing if you just want to see a small visualization of data without having to do an entire chart.Ā
Here are two examples of how I use it in my Google Sheets reports: one is a bar chart (green and red) and the other is a simple line graph.
Itās very useful to be able to switch to campaign / ad group / keyword data easily.Ā Ā
Here is a video showing it as an example I made in a google ads account (ignore the values and text, it has been mixed up using his Looker Studio Extension).Ā
My favourite marketing analytics trick is the sumifs function in Google Sheets to aggregate and connect data from different sources and for different timeframes in order to keep the number of API requests at a minimum.
My favouriteĀ looker studio trick that I discovered some 5 years ago, is using a (somewhat) hidden google API to fetch favicons for basically any domain. It really makes a nice, and more visual, presentation of traffic sources in my dashboards:
I just add the source-dimension to this google url (https://www.google.com/s2/favicons?domain_url=supermetrics.com) and get a png back (sometimes you have to manually adjust some sources so itās a domain, likeĀ if youāre using another naming conversion on utm_source tags for example)
Ā
Our favorite marketing analytics tip is to watch the playlist from the fabulous Siavash Kanani for data blending and understanding how different join types work (chapter 10), including an excellent hint on how to use the COALESCE() formula.
It helped us a lot in combining different data sources into one joint data source, resulting in more insightful charts and tables!
Ā
Happy campaigning everyone <3
Ā
Best regards.
Robin
While it was scary and took a bit to nail down properly, I think the biggest upgrade by far was implementing a data warehouse. After scaling our Looker Studio use case to the absolute max, and dealing with broken APIs from how many times our data was getting accessed, it was a breath of fresh air to see reports just populate in seconds without issue. Learning SQL was a journey, but if I knew how simple it all was by the end, I would have jumped on it from the beginning.
Use Single filter for Multiple Data Sources in Looker Studio
We know that in Looker Studio when we add data control like a dropdown selector we need to add a data source and the control only applies to charts with that data source. Yes thereās the option of āCross-filteringā but that does not work with all chart types like scorecards.
The solution was to create custom fields with the same ID.
Lets say we have two data sources - GA4 and Google Ads and we want to filter for Campaign Name.
Create a calculated field in GA4, which is nothing but the the dimension name like Session Campaign.Ā
Make sure you copy the field ID on the top right, which is something like calc_12432435.
Now in the other data source, Google Ads; create a calc field and paste the same ID you copied from before. (VERY IMPORTANT TO CHANGE THE ID ON THE FIRST TIME ITSELF AS AFTER SAVING IT IS NOT ALLOWED TO EDIT THE FIELD)
You are good to go now, use any of the above calc fields as filters and it will work with both the data sources!
I couldnāt find the article where I learnt this from, but the author wasĀ Mehdi Oudjida
So hard to pick one!Ā
I would go for āuser defined functionsā in Google Sheets.
itās really magicalĀ šŖ
You know when your formula gets clippedĀ in the formula bar? Iām done with those.Ā if the formula is too long and tedious - I convert it toĀ a custom formula.
Endless use cases - starting from formattingĀ the endless ways users writeĀ phone numbersĀ into a specific format, splitting campaign names based on different naming conventions, to integrate 3rd party APIs for various tasks.
It also makes debugging formulas much easier and saves a lot of time!
Iāll share one simple example we use:Ā getting all statistical measurements in one simple formula Instead writing 8 different formulas, I have only this formula, and it can be used anywhere and anytime
=analyzeRange("B2:B31")
to create this:
You all welcome to share more use cases you think a custom formula can solve!
Love a bunch of the ones listed already!
I really appreciate all theĀ IMPORT functions. Sometimes I justĀ need a quicker way to gather all my inputs and be able to organize information in the manner that I want to see it. Some ways Iāve used these in my past is tracking for SEO like metadata changes from websites. Iāve also used it to gather customer feedback/reviews.
IMPORTHTML -Ā Imports data from a table or list within an HTML page.
IMPORTDATA -Ā Imports data at a given url that is in cvs or tsv format
IMPORTFEED - Imports RSS feeds
IMPORTRANGE -Imports ranges from anotherĀ spreadsheet
Ā
(Also similarly, sharing a nod toĀ GOOGLEFINANCE functions that essentially are import functions for historical and real-time stock market data!)
Blending Data and collating multiple metrics/dimensions under a singular field has been a huge saviour! Using a simple code, I can blend all my tablesā matching metrics under a single field or combine similar metrics - for example:
If Iām trying to blend impressions across multiple socials for a singular video, I can blend these sources then use the below statement to combine FB, IG and TT video views under the same metric ācombined viewsā
If I want to pull video thumbnail and image thumbnail under a singular āthumbnailā field, rather than having both columns taking up room in a table and showing a lot of blanks
The formula is:
CASE
WHEN
WHEN
WHEN
ELSE āN/Aā
END
Ā
This solves my problem of having too many columns in a singular table - or I can pull a scorecard with combined values across multiple sources.Ā
My favorite marketing analytics trick is to use the SupermetricsQueries tab to update ALL the public social media data I need to track at all times. After changing the start date and end date, just click on "refresh all queries" and, like magic, everything is updated! I don't need to go from tab to tab to do this and waste a lot of time.Ā
Ā
For those who use Google sheets integration, you can now directly create a new looker studio report from within Google Sheets.
Ā
Ā
I recently learned that in Looker Studio you could overcome some of the filtering limitations within a data source by blending it with itself.
In my case, I wanted to have Google Ads data that showed only metrics for a particular subset of campaigns (based on a substring within theĀ Campaign name) and only a specific type of conversion (based on Segment Conversion Category). I set up one instance of the data to pull & filter the āfront-endā (engine-side) data and one instance to pull & filter the āback-endā (conversion) data and joined on campaign ID:
Ā
This allowed the data to be aggregated and filtered the way I wanted without the errors I was getting when I tried to apply both filters to the overall data set.
Note: I almost certainly didnāt need to include Cost in both tables, but wanted to include it just in case because Iād be calculating CPA.
Instagram ImageURL to your Dashboard
Ā
If you already noticed, when you use SM dimension āimage urlā you receive a temporary image link, as Facebook keeps changing the image diretory.
Try this as a solution:
Export the media permalink;
Create a new field using this formula CONCAT(Media Permalink, āmediaā);
Youāre good to go.
As reels use a slightly different permalink, you need to repalce āreelā for āpā in the URL. So you have this formula that works for feed posts and Reels.
Ā
Ā
The most common question we always seemingly get asked, and I was definitely a culprit of this question a lot early in my career. āWhen was this last updated?āĀ
A simple way to do this is to have a status bar at the top of the page, then using conditional formatting to highlight dates that are unexpected, if before today minus 1 day then highlight in yellow, is one I have used previously.Ā
A mock up of one of our dashboards is above, where we use logos of the data source and then have mapped the dimension to the logo name.Ā
The most common question we always seemingly get asked, and I was definitely a culprit of this question a lot early in my career. āWhen was this last updated?āĀ
A simple way to do this is to have a status bar at the top of the page, then using conditional formatting to highlight dates that are unexpected, if before today minus 1 day then highlight in yellow, is one I have used previously.Ā
A mock up of one of our dashboards is above, where we use logos of the data source and then have mapped the dimension to the logo name.Ā
I love that you managed to blend in this rather dry (but important) bit of info with the overall design of the dashboard. It shows what data sources are included and what their freshness is in one sleek header. chefās kiss
Google Array Formula
Googleās Array FormulaĀ has been an awesome way to automate spreadsheet processes. If you are doing custom calculations or joining Supermetrics data with other data, you donāt haveĀ to worry about copying down formulas in your calculation columns.
For example, if you want to turn Supermetricsā āYear & monthā field, which appears as YYYY|MM,Ā into a usable date format for each row of data. You can create a new column withĀ a formula likeĀ =ARRAYFORMULA(IF(dateFieldĀ = "" , "" , DATE(LEFT(dateField,4),RIGHT(dateField,2),1))) Note: The IF() formula is important to useĀ as itĀ ensures that if there isnāt any data present, that it leaves it blank. Your spreadsheet and computer processorĀ will thank you for that.
This formulaĀ is super handy paired with automatic refreshes from Supermetrics as you can alway count on whatever calculations you have setup in your ARRAYFORMULAs, they are going to automatically resize to the row length of your updated dataset.Ā Ā
My favouriteĀ looker studio trick that I discovered some 5 years ago, is using a (somewhat) hidden google API to fetch favicons for basically any domain. It really makes a nice, and more visual, presentation of traffic sources in my dashboards:
I just add the source-dimension to this google url (https://www.google.com/s2/favicons?domain_url=supermetrics.com) and get a png back (sometimes you have to manually adjust some sources so itās a domain, likeĀ if youāre using another naming conversion on utm_source tags for example)
Ā
Ā
We were blown away by the incredible tips and the enthusiastic participation in this first Community Challenge!Ā
The post with the most likes goes to @ErikĀ - Congratulations! Erik showed us how we can use the hidden Looker Studio feature ofĀ faviconsĀ - This concreteĀ tip is sure to be valuable for many in the future!
Additionally, Bartosz from the Supermetrics team selected Gil's entry, highlighting it as āa hidden gem that would he wished he would have know about years ago.āĀ Congratulations, @Gil!
Again, thank you everyone who participated! Look out for more exciting challenges coming soon.Ā I'll be contacting you, @Erik & @Gil, about your prizes soon!
Instagram ImageURL to your Dashboard
Ā
If you already noticed, when you use SM dimension āimage urlā you receive a temporary image link, as Facebook keeps changing the image diretory.
Try this as a solution:
Export the media permalink;
Create a new field using this formula CONCAT(Media Permalink, āmediaā);
Youāre good to go.
As reels use a slightly different permalink, you need to repalce āreelā for āpā in the URL. So you have this formula that works for feed posts and Reels.
Ā
Ā
@Filipe, so if I use this formula, the image link will no longer be temporary and I won't have to download these links again?
@SandrinhaĀ thatās right!
I know that this works for assets that are posted in the feed. If you have a darkpost, Iām not sure if it has a permalink.
@SandrinhaĀ thatās right!
I know that this works for assets that are posted in the feed. If you have a darkpost, Iām not sure if it has a permalink.
Ā
I don't know what I'm doing wrong.Ā
@SandrinhaĀ I think my previous answear is still under review as i answered in portuguese hehe
The problem here is because you are still using the temporarily image link, Here you want toĀ use the āLink to postā instead.Ā
Ā
Your formula should look like this CONCAT(REGEX_REPLACE(Link to post, āreelā,āpā),āmediaā)
The regex_replace is making the needed change in the URL so it works with reels as well.
Ā
Hope that helps!
Ā
Ā
@SandrinhaĀ I think my previous answear is still under review as i answered in portuguese hehe
The problem here is because you are still using the temporarily image link, Here you want toĀ use the āLink to postā instead.Ā
Ā
Your formula should look like this CONCAT(REGEX_REPLACE(Link to post, āreelā,āpā),āmediaā)
The regex_replace is making the needed change in the URL so it works with reels as well.
Ā
Hope that helps!
Ā
Ā
@Filipe,
I use Sheets to extract data with Supermetrics connectors and build my dashboard in Looker. By extracting the image addresses, I can view them for a few days until Facebook or Instagram change the image address again. I've tried converting the image address to base 64, so I can have a permanent image on my dashboard. However, since there are SO MANY of them, it's impossible to convert base 64 all the addresses.
@SandrinhaĀ if you are usingĀ Instagram Insights connector, use the dimension Media Peremalink:
If you are using the Facebok Ads connector, use the dimension Link to Insgram post:
The trick to do this is REGEX_REPLACE(Media Permalink, ā/reelā, ā/pā) to change the middle part of the URL, and CONCAT with āmediaā at the end.