Skip to content
Type something to search...
Looka Theme Documentation

Analytics And Custom Scripts

Custom scripts are injected using [head].content in config.toml.

Add A Script

  1. Open src/config/config.toml.
  2. Find [head].
  3. Paste your script into the content block.

Example

[head]
content = """
<script defer src="/umami.is.js" data-website-id="YOUR_ID"></script>
"""

Remove A Script

  1. Remove the script from content.
  2. Save and rebuild.