Skip to content

Commit

Permalink
Adding bundlephobie badge
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarsmpio committed Apr 20, 2019
1 parent 523b056 commit f0b0431
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<!-- badge -->

[![minified + gzip](https://badgen.net/bundlephobia/minzip/react-bucket-test)](https://bundlephobia.com/result?p=react-bucket-test)
[![npm version](https://img.shields.io/npm/v/react-bucket-test.svg)](https://www.npmjs.com/package/react-bucket-test)
[![npm download](https://img.shields.io/npm/dm/react-bucket-test.svg)](https://www.npmjs.com/package/react-bucket-test)
[![GitHub stars](https://img.shields.io/github/stars/cezarlz/react-bucket-test.svg?style=social&label=Star)](https://github.com/cezarlz/react-bucket-test)
Expand Down Expand Up @@ -193,7 +194,7 @@ It uses `dataLayer` variable to publish events to GTM.

Default:

- `prefix`: 'react_bucket_test_gtm_'
- `prefix`: 'react*bucket_test_gtm*'
- `onMount`: `{ action: 'load', ...props }`
- `onUnmount`: `{ action: 'unmount', ...props }`
- `registerEvent`: `{ action: 'registerEvent', ...props }`
Expand All @@ -202,7 +203,7 @@ You can override any property:

```js
const driver = GoogleTagManager({
prefix: 'experiment_',
prefix: 'experiment_'
});
```

Expand Down

0 comments on commit f0b0431

Please sign in to comment.