Skip to content

Commit

Permalink
fix: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dlcastillop committed Mar 19, 2023
1 parent e512340 commit cf9ad1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PayLink is a payment organizer and an open source alternative to Paynest.
- ✅ Add a hero section with a photo, name and description to introduce yourself or your brand
- ✅ Include up to 18 links to your social media accounts
- ✅ Add up to 14 payment methods
- ✅ Add a Google Analytics ID to track your analytics
- ✅ The users can copy or generate QRCode for each payment method
- ✅ The users can use the search bar to look for a specific payment method

Expand Down Expand Up @@ -389,6 +390,16 @@ The Payment section supports:
- XRP
- A card

### Theme

You can add your Google Analytics ID in the `googleAnalyticsId` property.

For example:

```js
"googleAnalyticsId": "G-SOMEID"
```

## How to deploy

### Deploy on GitHub Pages
Expand Down
1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const App = () => {
// Set theme
document.body.setAttribute("data-theme", Config.theme);

// Set Google Analytics ID
const script = document.querySelectorAll("script")[2];
script.setAttribute(
"src",
Expand Down

0 comments on commit cf9ad1e

Please sign in to comment.