generating tag successfully for self-hosted collectors. Still need to add url / page title encoding, support for cloudfront collector and https