UNPKG

webcm

Version:

Demonstrative implementation of a web-based manager for utilising Managed Components

25 lines (20 loc) 610 B
<!DOCTYPE html> <html> <head> <title>My website</title> </head> <body> <h1>Hello, WebCM!</h1> <p>This page is running WebCM.</p> <p>To test Managed Components with WebCM on a different website, run:</p> <pre><code>$ npx webcm start -u https://example.com</code></pre> <p> You can run <code>webcm.track("pageview", { example: 'data' })</code> to manually trigger your component's actions </p> <p> Check <a href="https://webcm.dev/getting-started/test">this link</a> in the docs to learn more about testing your setup. </p> </body> </html>