You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 84e2c96
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/buttondown.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ Newsletter signups won’t show up automatically in your Plausible dashboard. Yo
14
14
15
15
To configure a goal, go to your website’s settings in your Plausible Analytics account and visit the **Goals** section. You should see a prompt to add a goal.
16
16
17
-
<img alt="Add your first goal" src={useBaseUrl('img/goal-conversions.png')} />
18
-
19
17
Click on the **+ Add goal** button to go to the goal creation form.
20
18
21
19
Select `Custom event` as the goal trigger and enter this exact name: `Subscribe`.
Next, click on the **Add goal** button, and you’ll be taken back to the Goals page. After you've completed this process, all the newsletter signups will start being tracked and will be displayed in the **Goals** tab of your Plausible Analytics dashboard.
26
26
@@ -34,8 +34,6 @@ To configure a goal, go to your website’s settings in your Plausible Analytics
34
34
35
35
Select `Custom event` as the goal trigger and enter this exact name: `Outbound Link: Click`.
36
36
37
-
<img alt="Add Outbound Link Click goal" src={useBaseUrl('img/outbound-link-click-goal.png')} />
38
-
39
37
Next, click on the **Add goal** button to be taken back to the Goals page. After you've completed this process, all the external link clicks will start being tracked and will be displayed in the **Goals** tab of your Plausible Analytics dashboard.
40
38
41
39
You'll see **Outbound Link: Click** goal as soon as the first external link click has been tracked. That's all you need to do. Plausible will automatically record new external link clicks.
@@ -45,7 +43,3 @@ You'll see **Outbound Link: Click** goal as soon as the first external link clic
45
43
And that's it. You are now using Plausible Analytics to count your Buttondown archive stats including outbound link clicks and new subscribers.
46
44
47
45
Now you can go to your Buttondown site and verify whether Plausible Analytics script has been added and to your Plausible Analytics account to see whether the stats are being tracked. See here [how to verify the integration](troubleshoot-integration.md).
48
-
49
-
The stats will look like this:
50
-
51
-
<img alt="Plausible dashboard for your Buttondown newsletter" src={useBaseUrl('img/buttondown-dashboard.png')} />
Copy file name to clipboardExpand all lines: docs/carrd-integration.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ We display your snippet during the process of adding a new site to your account.
18
18
19
19
* Go to the editor of your Carrd website and add an **Embed** component.
20
20
21
+
<divclass="browser">
21
22
<img alt="Add embed element to Carrd" src={useBaseUrl('img/add-embed-element-to-carrd.png')} />
23
+
</div>
22
24
23
25
* In the element's settings make sure:
24
26
@@ -31,7 +33,9 @@ We display your snippet during the process of adding a new site to your account.
31
33
32
34
* Do click on the **Done** button and then **Publish** your changes. After you change the tracking snippet on your site, all the hash-based page paths on your Carrd website will start being tracked and will be displayed in the **Top Pages** tab of your Plausible Analytics dashboard.
33
35
36
+
<divclass="browser">
34
37
<img alt="Add Plausible Analytics script to Carrd" src={useBaseUrl('img/add-plausible-script-to-carrd.png')} />
38
+
</div>
35
39
36
40
Now you can go to your Carrd website and verify that Plausible script has been added and to your Plausible account to see whether the stats are being tracked. See here [how to verify the integration](troubleshoot-integration.md).
37
41
@@ -53,7 +57,9 @@ If you're on a higher plan, like Pro Plus, you'll be able to set these IDs yours
53
57
54
58
To be sure of your element's ID, you can use your browser's dev tool to inspect the element.
55
59
60
+
<divclass="browser">
56
61
<img alt="Confirm element ID in Carrd" src={useBaseUrl('img/confirm-element-id-carrd.png')} />
62
+
</div>
57
63
58
64
### 2. Trigger custom events with JavaScript on your site
59
65
@@ -83,7 +89,9 @@ Also do change the `classes` line to include the goal name in this format: `plau
Do click on the **Save Changes** button and then **Publish** your changes.
89
97
@@ -97,8 +105,6 @@ Click on the **+ Add goal** button to go to the goal creation form. Select `Cust
97
105
98
106
So in our example where we added a goal name `plausible-event-name=Button+Click` to the Carrd site, the goal to add in the Plausible account is `Button Click` (plus is replaced by a space).
99
107
100
-
<img alt="Add your custom event goal" src={useBaseUrl('img/button-click-custom-event-goal-carrd.png')} />
101
-
102
108
Next, click on the **Add goal** button and you'll be taken back to the Goals page.
103
109
104
110
### 4. Your goal should now be ready and tracking
@@ -133,7 +139,9 @@ If you want to trigger multiple custom events on the same site, you don't need t
133
139
</script>
134
140
```
135
141
142
+
<divclass="browser">
136
143
<img alt="track multiple elements in Carrd" src={useBaseUrl('img/track-multiple-elements-carrd.png')} />
Copy file name to clipboardExpand all lines: docs/custom-automatic-link-tracking.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,9 @@ where `\/` stands for a forward slash (escaped with `\`) and `.*` will match any
79
79
80
80
You'll have to configure the goal for the click numbers to show up in your Plausible dashboard. To configure a goal, go to [your website's settings](website-settings.md) in your Plausible Analytics account and visit the **Goals** section. You should see an empty list with a prompt to add a goal.
81
81
82
+
<divclass="browser">
82
83
<img alt="Add your first goal" src={useBaseUrl('img/goal-conversions.png')} />
84
+
</div>
83
85
84
86
Click on the **+ Add goal** button to go to the goal creation form.
Copy file name to clipboardExpand all lines: docs/get-started-with-postman.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,33 +12,37 @@ Postman is a simple interface that you can use for [our stats API](stats-api.md)
12
12
13
13
2) Go to **My Workspace** and then **Collections** to create a new collection. Feel free to give it a descriptive name such as **Plausible Stats API**.
14
14
15
-
<img alt="Create a new collection" src={useBaseUrl('img/how-to-get-started-with-the-stats-api-using-postman-1.png')} />
16
-
17
15
3) Once you've created the collection, you should have the authorization tab open in which you can select the Bearer Token type for authorization:
18
16
17
+
<divclass="browser">
19
18
<img alt="Select the Bearer Token type for authorization" src={useBaseUrl('img/how-to-get-started-with-the-stats-api-using-postman-2.png')} />
19
+
</div>
20
20
21
21
4) In the Token field, you should paste your Plausible Stats API key. You can obtain the Stats API key for your account by going to [your Plausible account settings](https://plausible.io/settings).
22
22
23
23
5) Once that's done, go ahead and save the collection at the top right:
24
24
25
+
<divclass="browser">
25
26
<img alt="Save the collection at the top right" src={useBaseUrl('img/how-to-get-started-with-the-stats-api-using-postman-3.png')} />
27
+
</div>
26
28
27
-
6) Then add a new request to this collection and again feel free to give it a descriptive name:
28
-
29
-
<img alt="Add a new request to this collection" src={useBaseUrl('img/how-to-get-started-with-the-stats-api-using-postman-4.png')} />
29
+
6) Then add a new request to this collection and again feel free to give it a descriptive name.
30
30
31
31
7) Now, you can copy an example query from [our stats API documentation](stats-api.md), and paste it into the request field as follows:
32
32
33
+
<divclass="browser">
33
34
<img alt="Copy an example query from our documentation, and paste it" src={useBaseUrl('img/how-to-get-started-with-the-stats-api-using-postman-5.png')} />
35
+
</div>
34
36
35
37
This will automatically read the different parameters and display them at the bottom. You can modify the parameters from the URL and in the bottom section too.
36
38
37
39
8) Hit send and you should see the response. This should be formatted as JSON by default. You can choose some other formatting if you like.
38
40
39
41
9) Now, you probably want to export this data. For that, you can either download the response as a .json file (Save Response), or copy it to your clipboard:
40
42
43
+
<divclass="browser">
41
44
<img alt="Download the response as a .json file (Save Response)" src={useBaseUrl('img/how-to-get-started-with-the-stats-api-using-postman-7.png')} />
45
+
</div>
42
46
43
47
10) To convert the data into the CSV format, you should copy the response to your clipboard, and paste it into a tool like [this one](https://www.convertcsv.com/json-to-csv.htm).
* Add your Plausible Analytics script to the **Site Header** text box. Code added into the **Site Header** field is injected into the `<head>` tag on every page of your site.
18
20
19
-
<img alt="Add Plausible script to Ghost" src={useBaseUrl('img/add-plausible-script-to-ghosts.png')} />
20
-
21
21
* After adding your code, click on the **Save** button.
22
22
23
23
Now you can go to your website and verify whether Plausible Analytics script has been added and to your Plausible Analytics account to see whether the stats are being tracked. See here [how to verify the integration](troubleshoot-integration.md).
The Sign In/Sign up flows are part of Ghost's [Portal](https://ghost.org/help/setting-up-portal/) app and it's an unified experience for all Ghost sites. You cannot customize these flows by adding an ID or CSS class.
Copy file name to clipboardExpand all lines: docs/shopify-integration.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,12 @@ Here's how to add Plausible Analytics to your Shopify store and set up the track
14
14
15
15
* Click on the icon with three dots next to your current theme and choose **Edit code** from the drop-down menu.
16
16
17
+
<divclass="browser">
17
18
<img alt="Add Plausible to Shopify" src={useBaseUrl('img/add-custom-code-to-shopify.png')} />
19
+
</div>
18
20
19
21
* In the **Layout** folder, select your **theme.liquid** file and [paste your Plausible snippet](https://plausible.io/docs/plausible-script) in the **Head Code** section. We display your snippet during the process of adding a new site to your account. You can also see the snippet within the **Site Installation** area of the **General** section in your [site settings](website-settings.md).
20
22
21
-
<img alt="Add Plausible Analytics script to Shopify" src={useBaseUrl('img/add-plausible-script-to-shopify.png')} />
22
-
23
23
* Do click on the **Save Changes** to publish your changes.
24
24
25
25
## Track checkouts and revenue attribution
@@ -31,15 +31,19 @@ To create the custom pixel, follow these steps:
@@ -98,8 +102,6 @@ Doing this will segment your dashboard by the traffic that went through the chec
98
102
99
103
If you'd like to see these grouped order confirmations or checkout page visits permanently in your dashboard, you can add them as [pageview goals](pageview-goals.md).
100
104
101
-
<img alt="Shopify thank you page tracking" src={useBaseUrl('img/shopify-thank-you-page-goal.png')} />
102
-
103
105
### Track started checkouts
104
106
105
107
Send a custom event called **Begin Checkout** to Plausible every time the checkout process is started. The total price of the shopping cart will be recorded under this event.
@@ -270,7 +272,9 @@ Here's how you can track particular form submissions and button clicks on your S
270
272
271
273
Your form or button element should have an ID attribute assigned by default. You can find this ID by selecting the element you want to track (do make sure you select your form element and not just the "Submit" button) and clicking on the settings gear.
272
274
275
+
<divclass="browser">
273
276
<img alt="Shopify form ID" src={useBaseUrl('img/shopify-form-id.png')} />
277
+
</div>
274
278
275
279
### 2. Trigger custom events with JavaScript on your site
276
280
@@ -304,8 +308,10 @@ To represent a space character in goal names, you can use a `+` sign. For exampl
Do click on the **Save** button to save your changes.
310
316
311
317
### 3. Create a custom event goal in your Plausible account
@@ -314,14 +320,10 @@ When you send custom events to Plausible, they won't show up in your dashboard a
314
320
315
321
To configure a goal, go to [your website's settings](website-settings.md) in your Plausible account and visit the **Goals** section. You should see an empty list with a prompt to add a goal.
316
322
317
-
<img alt="Add your first Shopify goal" src={useBaseUrl('img/add-goal-shopify.png')} />
318
-
319
323
Click on the **+ Add goal** button to go to the goal creation form. Select `Custom event` as the goal trigger and enter the name of the custom event you are triggering. The name must be an exact match to the one you added to your site for the conversions to show up in your dashboard.
320
324
321
325
So in our example where we added a goal name `plausible-event-name=Form+Submit` to the Shopify site, the goal to add in the Plausible account is `Form Submit` (plus is replaced by a space).
322
326
323
-
<img alt="Add your custom event goal" src={useBaseUrl('img/form-submission-custom-event-goal-shopify.png')} />
324
-
325
327
Next, click on the **Add goal** button and you'll be taken back to the Goals page.
326
328
327
329
### 4. Your goal should now be ready and tracking
@@ -356,7 +358,9 @@ If you want to trigger multiple custom events on the same site, you don't need t
356
358
</script>
357
359
```
358
360
361
+
<divclass="browser">
359
362
<img alt="track multiple elements in Shopify" src={useBaseUrl('img/track-multiple-elements-shopify.png')} />
Copy file name to clipboardExpand all lines: docs/squarespace-integration.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,7 @@ Here's how to add Plausible Analytics to your Squarespace site
16
16
17
17
*[Paste your Plausible snippet](https://plausible.io/docs/plausible-script) in the **Header Code** section. We display your snippet during the process of adding a new site to your account. You can also see the snippet within the **Site Installation** area of the **General** section in your [site settings](website-settings.md).
18
18
19
-
<img alt="Add Plausible Analytics script to Squarespace" src={useBaseUrl('img/add-plausible-script-to-Squarespace.png')} />
20
-
21
-
* Do click on the **Save**
19
+
* Click on **Save**
22
20
23
21
Now you can go to your Squarespace website and verify that Plausible script has been added and to your Plausible account to see whether the stats are being tracked. See here [how to verify the integration](troubleshoot-integration.md).
24
22
@@ -30,33 +28,41 @@ The easiest way to track form submissions on your Squarespace site is to track t
30
28
31
29
* First you'll need to create a "thank you" page by clicking on the "Pages" panel and creating the page by clicking on the "+" button in the **Not Linked** section.
32
30
31
+
<divclass="browser">
33
32
<img alt="Create the form submission thank you page in Squarespace" src={useBaseUrl('img/create-a-thank-you-page-in-Squarespace.png')} />
33
+
</div>
34
34
35
35
* Click on the gear icon button next to your "thank you" page to access the page's settings. Here you can see ( or edit ) the page path.
36
36
37
+
<divclass="browser">
37
38
<img alt="Squarespace form submission thank you page path" src={useBaseUrl('img/squarespace-thank-you-page-path.png')} />
39
+
</div>
38
40
39
41
### 2. Set the redirect URL on form submission
40
42
41
43
* Go to the page that contains your form, and click on **Edit**. Now click on the form to select it and click on the pencil icon to edit it.
42
44
45
+
<divclass="browser">
43
46
<img alt="Edit the form in Squarespace" src={useBaseUrl('img/Edit-form-squarespace.png')} />
47
+
</div>
44
48
45
-
* In the "Content" section, click on "Post-submit". Make sure you select the "Redirect" option and in the "Redirect URL" field type in the path to the thank you page ( i.e. **/thank-you** )
49
+
* In the "Content" section, click on "Post-submit". Make sure you select the "Redirect" option and in the "Redirect URL" field type in the path to the thank you page ( i.e. **/thank-you** ).
46
50
51
+
<divclass="browser">
47
52
<img alt="Add redirect URL to your form in Squarespace" src={useBaseUrl('img/add-redirect-url-to-form-in-Squarespace.png')} />
53
+
</div>
48
54
49
-
### 3. Create a pageview goal in your Plausible account
55
+
<divclass="browser">
56
+
<img alt="Add redirect URL to your form in Squarespace" src={useBaseUrl('img/redirect-url.png')} />
57
+
</div>
50
58
51
-
When you send custom events to Plausible, they won't show up in your dashboard automatically. You'll have to configure the goal for the conversion numbers to show up.
59
+
### 3. Create a pageview goal in your Plausible account
52
60
53
61
To configure a goal, go to [your website's settings](website-settings.md) in your Plausible account and visit the **Goals** section. You should see an empty list with a prompt to add a goal.
54
62
55
-
<img alt="Add your first Squarespace goal" src={useBaseUrl('img/add-goal-squarespace.png')} />
56
-
57
-
Click on the **+ Add goal** button to go to the goal creation form. Select `Pageview` as the goal trigger and enter the and enter the page path that you want to track ( i.e. **/thank-you**)
63
+
Click on the **+ Add goal** button to go to the goal creation form. Select `Pageview` as the goal trigger and enter the page path that you want to track ( i.e. **/thank-you**).
58
64
59
-
<img alt="Thank you pageview goal in Squarespace" src={useBaseUrl('img/thank-you-pageview-goal-squarespace.png')} />
65
+
[Here's more information](https://plausible.io/docs/pageview-goals) about creating pageview goals in your Plausible account.
0 commit comments