Megalytic provides two specific types of widgets for viewing data “by Source/Medium” or “by Campaign/Keyword”.
To display traffic by Source, use the “Traffic by Source/Medium” widget. First, click the “Add Widget” button to open the widget library.
![camp-source-1](https://cdn2.hubspot.net/hubfs/4664432/camp-source-1.jpg)
Then, from the widget library, find the “Traffic by Source/Medium” widget in the upper left corner and selected it.
![campaign-source-2](https://cdn2.hubspot.net/hubfs/4664432/campaign-source-2.jpg)
The table below appears at the top of your report. By default, it shows traffic metrics by source/medium. You can change the defaults by opening the widget editor by clicking edit icon that is circled in the image below.
![camp-source-3](https://cdn2.hubspot.net/hubfs/4664432/camp-source-3.jpg)
When the widget editor opens, you will see a selector labeled “Dimension”. This allows you to whether the data is segmented by Source, Source/Medium, or Medium.
![camp-source-4](https://cdn2.hubspot.net/hubfs/4664432/camp-source-4.jpg)
Displaying traffic by Campaign is similar. In the widget library, select the “Traffic by Campaign/Keyword” widget.
![camp-source-5](https://cdn2.hubspot.net/hubfs/4664432/camp-source-5.jpg)
By default, the table provided by this widget segments your data by Campaign. You can change that to Keyword, by opening the widget editor and choosing “Keyword” from the dimension selector.
![camp-source-6](https://cdn2.hubspot.net/hubfs/4664432/camp-source-6.jpg)