Add preconnect and preload tags to cdn.optimizely.com at the top of the head for faster synchronous loading. Optimizely recommends using preconnect to open a connection to logx.optimizely.com, the event endpoint, beforehand.
https://support.optimizely.com/hc/en-us/articles/4410289759629-Site-performance-best-practices#h_01FJ03FEV0A5NDYQWP860YG9VS
Log into any page that has optimizely turn on with the module. Preconnect and preload tags should be in the header
Add the tags to "optimizely_page_attachments" function in the .module file.
Active
3.1
Code