Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier-Machin committed Feb 7, 2022
1 parent d00e0ee commit 179ce27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,20 @@ Then for each model, we'll have the following fields:
- **[DATOCMS MODEL] Slug Field:** The field of the specified model that will be used as slug,
ex: First Name

The combination of the 3 parameters will be later used by the plugin to create a link, ex:
The combination of the 3 parameters will be later used by the plugin to create a link, ex:
https://plausible.io/mysite.com?page=%2fjoakim

![Plugin Parameters](./docs/plugin-settings-02.png)

Then click on Save Settings

## Plugin

After the setup is complete, we can navigate to content and select a record from one our models.
The plugin will show up in the sidebar.

![Plugin Link](./docs/plugin-link.png)

## Development

Clone the repo -> `$ yarn install` -> `$ yarn start` -> In your DatoCMS project, settings -> plugins -> Plausible -> Edit private plugin -> Change the Entry Point URL to http://localhost:3000
Binary file added docs/plugin-link.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 179ce27

Please sign in to comment.