CoHost Features

Use Cases

Explore the impact CoHost features and analytics have in real-world applications.

Sign up for The Branded Podcaster.

Use Cases

/* UTM tracking code * Takes any query parameters that have affiliate tracking * and adds them to any links to our app. * Note: app links need to have “app-link” css class */ var urlParams = new URLSearchParams(window.location.search); var query = urlParams.toString(); if (query.length > 0) { var queryParams = ‘?’ + query var appLinks = document.getElementsByClassName(‘app-link’); for (i = 0; i < appLinks.length; i++) { appLinks[i].href += queryParams; } }