Skip to main content
Level 3
May 15, 2026
Question

Cloudflare dropping the referrer info

  • May 15, 2026
  • 1 reply
  • 18 views

 

@Jennifer_Dungan ​@sandip_surse ​@alchan ​@Property Suggest 

Can we load Analytics JS from my domain(to avoid as external call during CloudFlare challenge), while retaining Adobe hosted/managed on all other screens, would visitor ID be affected, what other possible implications I should be aware of?

 

I’m sure this quite common issue across industries and likely discussed/fixed in this community, any other workarounds would be much appreciated. Thank you

 

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
May 15, 2026

Hi, 

I just want to clarify what you are asking….

 

When you say “Can we load Analytics JS from my domain” you mean, not use Adobe Launch’s default “assets.adobedtm.com” domain for the appmeasurement.js + all the resources files?

 

 

Then yes! This is something we do on all our sites.

 

This is called “Self-Hosting”

 

In the Hosts setting, you need to create a new host:

 

There are only two options available:

Managed by Adobe

and

SFTP

 

You will need to have an SFTP server set up on your side, and make sure it’s whitelisted to accept Adobe IPs:

 

 

In our case, our SFTP doesn’t go directly to our web server, we have a Jenkins job that copies updated files from our SFTP to our WebServer, and Clears the cache for the updated files. You may need a slightly different setup, but you will need to discuss that with your DevOps team.

 

 

Next, you will have to create or update your Environments:

Pay close attention to the “self-hosted path”… this is where you will need to make sure all your files reside… this impacts both the appmeasurement.js file, as well as all the resource files that are referenced.

 

For our needs, I leave our Dev environment as “Adobe Hosted” as this speeds up development work (no need to sync using Jenkins), but Staging and Prod go to our Self-Hosted solution.

 

Once you switch your environment to your SFTP Host and set the correct path, the install code snippet will reflect the path you specified.

 

Now, just test to make sure everything is working.

 

There is one little “gotcha” though…  In your Publishing Flow, you will lose access to the “Republish” option to roll back Production Builds to previous versions…

 

For the official documentation, please see: https://experienceleague.adobe.com/en/docs/experience-platform/tags/publish/self-hosting-libraries