General
Under ‘General’, you can edit the Project Settings. This includes the project image, name, and domain.
Subdomain conversion tracking
Under general you will also have the option to enable subdomain conversion tracking. You will want to turn this on if you utilize subdomains (i.e. if your primary website is mysite.com but the checkout is on shop.mysite.com) This will enable tracking between subdomains and their respective origins by using cookies to store experiment data.
Tracking
Under ‘Tracking’ is where the code snippets that need to be added to all of your web pages are found. This will connect the pages to Compose and allow for goal tracking. We recommend installing this script directly in the codebase at the top of the <head> tag on each of your pages. This is important for redirect tests, so that our script is fetched and run before anything else and redirects can occur before the page begins rendering.
Learn more detailed information on installing Compose.
For your convenience, here is the Tracking Code:
<script>
(function() {
const className = 'compose-hide';
const style = document.createElement('style');
style.innerText = `.${className} { opacity: 0 !important; }`;
document.head.appendChild(style);
document.documentElement.classList.add(className);
setTimeout(function() {
document.documentElement.classList.remove(className)
}, 4000);
})();
</script>
<script src="https://compose-scripts.s3.amazonaws.com/64b963b1559cb925196bd5d5/64e3ba6ff7227b1a5d52050a.js"></script>