Set Up Early Detection. Restore Deleted Google Tag Manager Containers & Accounts from the “Trash Can” WIthin 30 Days

Recover deleted Google Tag Manager container or accountThe Google Analytics Trash Can has been a self-serve saviour to many who accidentally deleted a property.  Now, Google has also created a Trash Can for Google Tag Manager.

Full instructions on how to restore your Google Tag Manager account or container are in this support article.

What’s important to know is that if more than 30 days has passed from the trashed date, the deleted item is permanently deleted with no possibility of recovery.

Therefore, it’s very important that any deletion be detected promptly.

A steep drop in traffic is a sure sign of a problem.  Therefore, we suggest you set up two Custom Alerts in Google Analytics to signal to you:

  1. If your traffic drops by more than 95% in a day, compared to same day last week
  2. If your traffic drops by more than 50% week over week.

This gives you multiple chances to catch the accidental deletion of your Google Tag Manager work (or some other drastic problem with your website).

The image below and these steps show you how you can create the daily alert:

  1. Go to the “Admin” area in Google Analytics
  2. Under the “View” column, select Custom Alerts.  On the next screen, click on the button that allows you to create a new alert.
  3. Name the alert.
  4. Decide which Views you want apply this alert to, and select “Day” for a daily comparison alert.
  5. Select the check box to send an email alert to your signin ID.
  6. Decide if you also want to send an email alert to any other email ID.  Note: These email IDs should be company IDs, not personal IDs (e.g. gmail, hotmail, etc.) to maintain confidentiality.
  7. Select the option of “% decreases more than” and enter 95% in entry field,
  8. Compare to same day last week rather than previous day.  This alert will be active for 7 days in a row.

Create Google Analytics Custom AlertFor more about setting up Custom Alerts, read this Google support article.

Because only the signin ID that created the alert can edit recipients or conditions, or delete the alert, the alert should be set up under a site owner’s signin, not by an agency or consultant.

If there have been alerts generated, you can find them in Google Analytics report under Intelligence Events.

Let’s hope you never receive one of these alerts.  If you do, check if your code is still on the page.  If not, check both the Google Analytics and the Google Tag Manager Trash Cans.

—-

Image: Adapted from git.mate-desktop.org

Leave a Reply

Your email address will not be published. Required fields are marked *