Custom domain.
The tracking script loads from a subdomain of your site, for example oa.yoursite.com, instead of from our domain. Many ad blockers no longer stop it, so you catch more events.
- Access to the domain's DNS settings: at the company you bought it from, at your hosting or in Cloudflare.
- Tracking turned on in Optimads, on any platform.
Pick the name
We recommend oa, as in oa.yoursite.com. Any neutral name works. A few names are on ad blocker lists and block exactly the tracking you want to save.
oas2datatracktrackingpixeladsanalyticsstatsmetricstaggtmAdd the record in DNS
A single record, of type CNAME. It says “this subdomain points to Optimads”.
CNAMEoaapp.optimads.aiOpen DNS
In Cloudflare, choose the domain, then DNS → Records.
Add the record
Click Add record. Type: CNAME, Name: oa, Target: app.optimads.ai.
Turn the cloud gray
Under Proxy status, click the cloud until it turns gray: DNS only.
It doesn't work with the orange cloud. The check in Optimads tells you if it's still orange.Save
Click Save.
Open Zone Editor
In cPanel, under Domains, open Zone Editor.
Click “+ CNAME Record”
The button is on your domain's row.
Fill it in
Name: oa (cPanel adds the rest of the domain itself). CNAME: app.optimads.ai.
Save
Click Add a CNAME Record.
Open DNS
In GoDaddy, under Domain Portfolio, choose the domain, then the DNS tab.
Add the record
Click Add New Record. Type: CNAME, Name: oa, Value: app.optimads.ai. Leave TTL as it is.
Save
Click Save.
In the account where your domain is, look for a section called DNS, DNS Zone or DNS Management. Add a record of type CNAME with the name oa and the target app.optimads.ai.
If the provider asks for the full name, write oa.yoursite.com. Don't put an IP in place of the target.
Turn it on in Optimads
Open “Your own domain”
In Tracking → Setup, open the Your own domain section.
Type the subdomain and verify
Type it in full, for example oa.yoursite.com, and click Verify & activate.
Done
We create the security certificate (SSL) ourselves, automatically, during verification.
What the check can tell you
After activation
With the WordPress plugin there's nothing to do: it switches to the subdomain on its own, within an hour at most.
Did you add the code by hand, in Gomag, in MerchantPro or in PrestaShop without the module? Copy the new code from Tracking (it now loads from your subdomain) and put it in place of the old one.