An easy way to compare two URLs

brian_kranson
Employee Emeritus
brian_kranson

I was working on a case today and realized we do not have an easy way to compare two URLs, so I put a solution up on Deployer.

http://deploytealium.com/tools/diff.php

 

The client was having an issue where two Google Universal Analytics pixels were firing on page load.  You can see this in the image:

tmp-gua1-20151223T120942.png

 

My first reaction was to figure out what was the difference between the two URLs.  To do this right click on each URL and Copy Link Address and then paste one on the Left side of the diff and one on the right side of the diff, then click Compare URLs.


tmp-gua2-20151223T120942.png

 

 

tmp-gua3-20151223T120942.png

 

gray: same in both left and right

pink: removed from left side of diff

green: added from right side of diff 

 

tmp-gua4-20151223T120942.png

2 REPLIES 2

An easy way to compare two URLs

Tealium Employee

Why can't I give you more than one Kudos point for this?  It is awesome!

An easy way to compare two URLs

brian_kranson
Employee Emeritus
brian_kranson

Thanks @mark_reddin!

 

Brian