The FunnelEnvy snippet is required for most of the platform functionality. It collects data about visitors, communicates with the backend services and manages many of the browser side integrations.


The snippet is lightweight and intended to be loaded synchronously where possible. This minimizes "content flash" when activating onsite personalization campaigns (e.g. in Optimizely). Delivered through Amazon Web Services's Cloudfront CDN it has minimal impact on site performance and will scale to very heavy load.


In some circumstances it is possible to load the snippet asynchronously (via a Tag Management Solution) for example when only being used for integration with retargeting platforms or analytics.


Locating your snippet

Click on the Settings tab in FunnelEnvy, then click “Get Embed Code”. You’ll see a popup with the Javascript snippet for your account. This snippet will need to be inserted onto the site directly on all relevant pages, or via a tag management solution (e.g. Google Tag Manager, Tealium or Ensighten).

 



Snippet Implementation Notes

  • Optimizely customers - Although the FunnelEnvy platform will activate conditionally executed experiments in Optimizely automatically, if you notice content flashing issues in your experiments you may want to try placing the snippet above the Optimizely snippet on the page

  • Implementation with Ensighten - Ensighten users will have to create a new deployment and use the Custom Javascript tag to implement the snippet. If implementing with Optimizely please set the tag to fire synchronously before the Optimizely tag.