Load the website's Plausible site script
Plausible gives each new site its own script and an init call instead of the generic script with data-domain. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy
This commit is contained in:
co-authored by
Claude Opus 5
parent
09e24ade14
commit
c95d0c43c2
@@ -107,7 +107,8 @@ test('the pages are titled, described and in English', function () {
|
||||
->toContain('<html lang="en"')
|
||||
->toMatch('/<title>[^<]+<\/title>/')
|
||||
->toMatch('/<meta name="description" content="[^"]+"/')
|
||||
->toContain('data-domain="sealshare.nonameweb.ch"');
|
||||
->toContain('<script async src="https://plausible.io/js/pa-zWB4R2-rrBeLfwms3uIBT.js"></script>')
|
||||
->toContain('plausible.init()');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user