Plugins
Install Premely on Ghost
Add the generated Premely script to Ghost Site Header code and verify the published site.
- Ghost
What it is
Ghost installs Premely through the Site Header area in Code injection. The shared header placement lets one generated script measure the public Ghost site.
Why use it
Use this guide when you manage a Ghost publication and have access to its site-wide code-injection settings.
Before you start
- Create the Ghost public domain as a site in Premely and copy its generated script.
- If the active theme already includes Premely, remove that copy before adding Site Header code.
How to use it
- 1
Open Ghost Code injection
In Ghost Admin, open Settings, Advanced, then Code injection.
Open Ghost for the current generated code, add it once to Site Header, save and verify. Shown in Premely with disposable demo data; your values will differ.
- 2
Paste the script in Site Header
Paste the generated Premely script once in Site Header.
- 3
Save the setting
Save the Code injection change so Ghost can include it across the public publication.
- 4
Open the public site and verify
Visit the live Ghost site, then return to Premely and use the connection status to confirm the first event arrived.
What to expect
Site Header is site-wide
One Site Header script covers public pages that use the active Ghost theme. A theme-level duplicate should be removed.
Administrator access is needed
You need Ghost Admin access to edit the Code injection setting for the publication.
