Skip to content

Commit

Permalink
update readMe
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsiegrist committed Oct 4, 2022
1 parent 40a84a6 commit e303e87
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Expand Up @@ -12,7 +12,12 @@ composer require jbennecker/silverstripe-analytics

## 3. Enter your credentials

Go to Admin > Settings > Tracking and enter your Google Analytics ID and your Cookiebot ID.
Go to Admin > Settings > Tracking you can enter the the Cookiebot ID and Tagmanager IDs (Google and Matomo).
You can Google and/or Matomo TagManager.

### IMPORTANT:
* Please configure Matomo TagManager to check "Disable Cookies" and "Bundle Tracker"
* Cookiebot is included in manual mode

## 4. Include the tracking code in your template

Expand All @@ -21,3 +26,10 @@ Put this at the top of your `<head>`.
```
<% include Tracking %>
```

## 5. Shortcodes provided by the plugin

* `[cookiedeclaration]` for including in data privacy notice
* `[cookiebot]` to provide a button to edit cookiebot preferences
* `[youtube,id="dieYoutubeId"]` to provide cookiebot consent controlled youtube media

0 comments on commit e303e87

Please sign in to comment.