Wordpress
To add Suppa to your WordPress site:
- Log in to your WordPress admin panel.
- Go to "Appearance" > "Theme Editor".
- From the right sidebar, select your current theme and click on "Theme Header (header.php)".
- Locate the closing
</head>
tag and paste the following code just before it:
<script
src="https://app.suppa.ai/integration/script.js"
data-api-key="YOUR_SUPPA_API_KEY">
</script>
- Click "Update File" to save the changes.
For better security, consider using a WordPress plugin that allows you to manage custom fields or create a simple plugin to handle the API key more securely.