How to fix googleads.g.doubleclick.net sources and tpc.googlesyndication.com in Google Analytics

On most Google Analytics accounts, our customers see traffic sources that for many professionals may not be clear in understanding and conducting efficient analytics using source/medium sharing. Of course, we are talking about googleads.g.doubleclick.net and tpc.googlesyndication.com.

Our solution

If you want to verify revenue and have more accurate data from advertising campaigns, it’s a good idea to assign these traffic sources to Google paid campaigns (google/cpc). According to the article “References come from the address googleads.g.doubleclick.net or tpc.googlesyndication.com” – this is traffic from the Google Ads campaign and Google Ad Manager.

It is worth noting, however, that the solution to the problem, contained in the article from Google, did not work for our customers. Although auto-tagging was enabled, the above sources in the reports still happened.

Solution? Filters!

Below I would like to present in a few steps how to add the above mentioned sources to “google/cpc”. This is not ideal because Google Analytics will not recognize the exact movement campaign, but only the source and medium. However, this will help minimize negative situations and avoid assigning these transactions to inappropriate sources.

What filters to use?

(graphic version under the text guide)

We change the medium to “cpc”

 

  1. We go to Filters in Google Analytics administration.
  2. We add a new filter with a name, e.g. “googleads.g.doubleclick.net / referral – medium“.
  3. We set the filter type to“Custom”.
  4. Click on “Advanced“:
    1. “BoxA – Extract A”we select“Campaign Source”and paste “googleads.g.doubleclick.net“.
    2. “FieldB – Extract B”we select“Campaign Medium”and paste “referral“.
    3. Output – Constructor” we select “Medium campaign” and paste “cpc“.
    4. Checkboxes ” Requiredbox A“, “Required field B” and ” Replace outputfield” should be selected.
  5. We save the filter.

We repeat the action with the inclusion of “tpc.googlesyndication.com”

 

  1. We go to Filters in Google Analytics administration.
  2. We add a new filter with a name, e.g. “tpc.googlesyndication.com / referral – medium“.
  3. We set the filter type to“Custom”.
  4. Click on “Advanced“:
    1. “BoxA – Extract A”we select“Campaign Source”and paste “tpc.googlesyndication.com“.
    2. “FieldB – Extract B”we select“Campaign Medium”and paste “referral“.
    3. Output – Constructor” we select “Medium campaign” and paste “cpc“.
    4. Checkboxes ” Requiredbox A“, “Required field B” and ” Replace outputfield” should be selected.
  5. We save the filter.

After following the above steps instead of “googleads.g.doubleclick.net/referral” and “tpc.googlesyndication.com/referral” Google Analytics will present in the reports “googleads.g.doubleclick.net / cpc” and “tpc.googlesyndication.com / cpc”, which is not yet a total solution.

 

We change the source to “google”

 

  1. We go to Filters in Google Analytics administration.
  2. We add a new filter with a name, e.g. “googleads.g.doubleclick.net – source“.
  3. We set the filter type to“Custom”.
  4. Click on “Search and replace“:
    1. “Filterbox”is set to“Campaign Source”.
    2. In the“Find the string”box, paste “googleads.g.doubleclick.net“.
    3. In the“Replace “paste “google”box.
    4. We can verify the data after you save the filter.
  5. We save the filter.

 

We repeat the action with the inclusion of “tpc.googlesyndication.com”

 

  1. We go to Filters in Google Analytics administration.
  2. We add a new filter with a name, e.g. “tpc.googlesyndication.com – source“.
  3. We set the filter type to“Custom”.
  4. Click on “Search and replace“:
    1. “Filterbox”is set to“Campaign Source”.
    2. In the“Find the string”box, paste “tpc.googlesyndication.com“.
    3. In the“Replace “paste “google”box.
    4. We can verify the data after you save the filter.
  5. We save the filter.

 

Graphic guide