Make Paths Relative module can make(convert) the paths(URLs) to relative instead of absolute. It is useful to using the relative URLs. You can find the more details, here: https://support.google.com/analytics/answer/2664470
You can download Make Paths Relative module from here: https://www.drupal.org/project/make_paths_relative
To have any kind of query, you can contact us via our Contact form.