Will ClickMagick work with secure websites, links, or pixels?
Absolutely!
There are three common cases where people run into problems when working with secure websites: Tracking links, tracking pixels, and custom domains. All three work great with ClickMagick but you need to be aware of the details so that you don’t get unexpected browser security warnings.
We’ll cover all three cases here …
Secure Tracking Links
By default, ClickMagick generates regular tracking links because that’s what the vast majority of our users want but our tracking links work with secure websites as well—all you need to do is change the `http:` in the front of the link to `https:`. In other words, change…
`http://www.clkmg.com/$username/yourlink`
to
`https://www.clkmg.com/$username/yourlink`
This works correctly because we have secure SSL certificates for all of our domains.
Caution: If you’re using a custom domain with your tracking link, be sure to read the section below that talks specifically about how to use secure custom domains with ClickMagick.
Secure Tracking Pixels
By default, ClickMagick tracking pixels use the normal `http:` protocol in their links:
`((img src="http://www.clkmg.com/api …`
However, if you try to use a normal tracking pixel on a secure page, your browser will likely give you some type of security warning. Fortunately, this is easy to correct.
If you know that you’re putting a tracking pixel on a secure page, use the `https:` secure protocol instead of the normal `http:` protocol by including the letter “`s`” after the “`http`” in the link:
`((img src="https://www.clkmg.com/api …`
This works because all of ClickMagick’s domains have SSL security certificates and the `www.clkmg.com` domain shown in the pixel is a secure ClickMagick domain.
In some cases, you may not know whether the page you’re putting a pixel on is secure or not. In these cases, you can safely use a secure pixel—you can always load secure content, such as pixels, whether or not the page itself is secure.
Tip: If you’re using the Pixel Builder to create your pixels for you, you can create secure pixels by selecting Yes for the question Are you adding this pixel to a secure https:// page?.
Caution: If you’re planning to insert the pixel into the Pixel/Code setting of a secure tracking link, use a secure pixel to prevent browser warnings. For more on this topic see:

|  | What should I know about adding pixels to a tracking link?

Custom Domains
Some people have trouble getting their custom tracking and rotator domains to work with secure websites. ClickMagick works great with secure websites, but people make a common—and understandable—mistake. Let’s go over that here.
Let’s suppose that you’ve created a custom tracking domain called `bestcoolproducts.com` and that you have it pointing to a secure ClickFunnels page in your Primary URL:
If you use the tracking link that ClickMagick automatically generates (highlighted in green in the screenshot), then everything works perfectly.
The common mistake people make is thinking that because the link in the Primary URL uses `https:` then their tracking domain must also use `https:`:
`https://bestcoolproducts.com/water`
Using `https:` with your custom domain will cause your browser to issue a security warning unless you’re using an “SSL-Enabled Custom Domain” which is unlikely and generally not necessary. (See the next section.)
So, if you’re getting a security warning with your tracking link, just make sure that you’re using the normal `http:` protocol, with no “`s`”:
`http://bestcoolproducts.com/water`
This works because your tracking link is simply forwarding the click on to the link in your Primary URL, or to your split test URLs.
The rule of thumb here is simply to use the tracking link that ClickMagick automatically generates (highlighted in green to the left of the “preview” button).
If you’re working with a custom rotator domain and you’re getting a security warning, simply verify that you’re using `http:` and not `https:` with your custom rotator domain.
Secure SSL-Enabled Custom Domains
Although rare, there are situations where you need to use the secure `https:` protocol with your custom domain—typically when you’re trying to use your domain with a service that only accepts secure links.
Most hosting companies can provide you with an SSL certificate, but that won’t work with custom domain setups that point to other domains, such as pointing your custom domain to ClickMagick’s `www.clkmg.com` domain using a CNAME or “A” record.
Instead, you need a setup that’s called “SSL-Enabled Custom Domains” and very few domain registrars or hosting companies provide this service. CloudFlare.com is the leader in this category and we recommend that you use their service if you need this type of service.
We have separate instructions to walk you through the setup process for CloudFlare:

|  | Setting up an SSL-Enabled Custom Domain with CloudFlare