With Custom Code Injection, you can add custom code elements and scripts to enhance specific areas of your marketplace. Some examples include tracking services like Google Analytics or Facebook's Meta Pixel.
- Go to Marketplace> Custom Code Injection
You can add code here that you want included in the
<head> tag of your marketplace. This is useful for loading external CSS.
Necessary Script Tag Additions
If you are including any <script> tags in your custom code, you must add a nonce="gigantik_nonce" attribute for each <script> tag or it will be blocked from loading on your marketplace.
e.g. <script src="https://mydomain.com/myscript.js" nonce="gigantik_nonce">
You can add code to the footer before the closing
</body> tag on every page in your marketplace. This is useful for tracking and analytics.
Updated 7 months ago