1. Gravity Field Script
1. Implementing preconnect, prefetch & core.js scripts
<link rel="preconnect" href="//cdn-01.gravityfield.ai">
<link rel="preconnect" href="//evs-01.gravityfield.ai">
<link rel="dns-prefetch" href="//cdn-01.gravityfield.ai">
<link rel="dns-prefetch" href="//evs-01.gravityfield.ai"><script type="text/javascript" src="//cdn-01.gravityfield.ai/core/core.js"></script>2. Implementing GF, Section ID, Page Context variables
<script>
window.GF = window.GF || {};
GF.section = "111aaa222bbb"; // Section ID, string
GF.pageContext = { type: "PAGETYPE", data: [] }; // PAGETYPE and an empty array just as an example
</script>Appendix
Last updated