DOCS-1422 - Add Intellimize/Optimize snippet to headTags#6342
DOCS-1422 - Add Intellimize/Optimize snippet to headTags#6342
Conversation
|
@kimsauce, what should I be looking for in staging? |
Thanks for asking! Here are the steps I took to verify the Intellimize snippet is working on staging:
|
|
Awesome, @kimsauce! Thanks for the verification steps. |
jpipkin1
left a comment
There was a problem hiding this comment.
@kimsauce, using Dev Tools, in staging I got this error on the Console tab:
117845498.js:4 https://helpdocs-sumo-logic.pantheonsite.io is not allowed to receive this data. If you’re expecting data to work here, check the Allowed Domains list at https://app.intellimize.com
@jpipkin1 , oh, good catch! I missed this warning. I'll double-check with Vince, but I believe this is expected behavior. Our Allowed Domains list only has the production domain ( |
|
I've only got one reservation: Optimize uses CSS to prevent the page flickering while Optimize loads tests (it's the I'm not 100% on how our Docusaurus setup works, but is it possible to add the Optimize snippet directly to a base template rather than using the |

Purpose of this pull request
Add Intellimize code snippet. This allows us to use Optimize in the future for creating new UX/CTA experiences.
Testing on staging
<head>: anti-flicker style block, inline init script,cdn.intellimize.co/snippet/117845498.js, and all three<link rel="preconnect">tagscdn.intellimize.coand context API call toapi.intellimize.co/context-v2/117845498window.intellimizein the console returns a fully initialized object withready,push,allowUserTracking,denyUserTracking,getUserTrackingChoice, and more — confirming the full snippet loaded and executed successfullySelect the type of change
Ticket (if applicable)
https://sumologic.atlassian.net/browse/DOCS-1422