Make Paths Relative module can make(convert) the paths(URLs) to relative instead of absolute. It is useful to use relative URLs. You can find 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.