Rule out a tag suspected of causing or contributing to site problems
If you suspect a tag on your site is causing problems, there's a simple way to get to the bottom of it - load the page without that tag and see if the issue is still happening. By doing this you can learn a couple of important things:
- If the problem still exists, we can be sure that tag is not causing the issue.
- If the problem is now gone, there's good reason to believe that tag is either causing or contributing to the problem.
You can test this yourself very easily using Chrome Dev Tools' "request blocking" feature. Let me show you:
- Open Chrome Dev Tools (how to do this - click here)
- Click on the Network tab.
- Right-click the request/tag you would like to block and choose "Block request URL."
- Re-load the page.
Chrome will now load the page without that tag. If the problem is still happening you can rule out that tag as a suspect. If it is happening, there's a good change that tag is either causing or contributing to the problem. Repeat these steps on other tags or domains as necessary to narrow down the issue.
Please sign in to leave a comment.
Comments
0 comments