Open danerich opened 6 years ago
I have removed the data.length to stop the HTML file being clipped.
I altered the cheerio.load to not decodeEntities. So the URL with tracking added is: ?utm_source=in-house&utm_medium=email&utm_campaign=name
?utm_source=in-house&utm_medium=email&utm_campaign=name
and not: ?utm_source=in-house&utm_medium=email&utm_campaign=name
?utm_source=in-house&utm_medium=email&utm_campaign=name
I have also added an ignore for the "tel:" URL's. I don't know if it would be better to only work on a URL id it is http:// or https://
I have removed the data.length to stop the HTML file being clipped.
I altered the cheerio.load to not decodeEntities. So the URL with tracking added is:
?utm_source=in-house&utm_medium=email&utm_campaign=name
and not:
?utm_source=in-house&utm_medium=email&utm_campaign=name
I have also added an ignore for the "tel:" URL's. I don't know if it would be better to only work on a URL id it is http:// or https://