Skip to content

Commit 65c5f77

Browse files
Merge pull request #843 from plausible/refresh-external-integration-images
remove outdated external images and update instructions
2 parents 7c66091 + c8245cb commit 65c5f77

7 files changed

Lines changed: 26 additions & 79 deletions

‎docs/carrd-integration.md‎

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ We display your snippet during the process of adding a new site to your account.
3737

3838
* Then paste your Plausible tracking script in the **Code** field
3939

40-
* In the snippet, update `plausible.init()` to `plausible.init({ hashBasedRouting: true })`. This allows plausible to track hashed page paths that Carrd uses during navigation.
40+
* In your copied snippet, set `hashBasedRouting` to `true` in the `plausible.init()` call. Keep the rest of your snippet, including its site-specific script URL, unchanged:
4141

42-
* 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.
42+
```js
43+
plausible.init({ hashBasedRouting: true });
44+
```
4345

44-
<div class="browser">
45-
<img alt="Add Plausible Analytics script to Carrd" src={useBaseUrl('img/add-plausible-script-to-carrd.png')} />
46-
</div>
46+
If your `plausible.init()` call already contains other options, keep them and add `hashBasedRouting: true`. This allows Plausible to track hashed page paths that Carrd uses during navigation.
47+
48+
* 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.
4749

4850
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).
4951

@@ -71,6 +73,8 @@ To be sure of your element's ID, you can use your browser's dev tool to inspect
7173

7274
### 2. Trigger custom events with JavaScript on your site
7375

76+
Keep your [current Plausible tracking snippet](plausible-script.md) installed. Add the code below alongside it; it does not replace your tracking snippet.
77+
7478
Here's the code you will need to insert in the `<head>` section of the page where the element ID that you want to track is located. You can use the **Custom Code** feature to do this similarly to how you've inserted the Plausible snippet into your site.
7579

7680
Make sure to change the `elementId` line in the code below to include the ID attribute of the element you want to track (`buttons01` in our example).
@@ -97,11 +101,7 @@ Also do change the `classes` line to include the goal name in this format: `plau
97101
</script>
98102
```
99103

100-
<div class="browser">
101-
<img alt="Modify Plausible script Carrd" src={useBaseUrl('img/modify-plausible-script-carrd.png')} />
102-
</div>
103-
104-
Do click on the **Save Changes** button and then **Publish** your changes.
104+
Click **Done**, then **Publish** your changes.
105105

106106
### 3. Create a custom event goal in your Plausible account
107107

@@ -147,10 +147,6 @@ If you want to trigger multiple custom events on the same site, you don't need t
147147
</script>
148148
```
149149

150-
<div class="browser">
151-
<img alt="track multiple elements in Carrd" src={useBaseUrl('img/track-multiple-elements-carrd.png')} />
152-
</div>
153-
154150
## What's next?
155151

156152
- [Create goals](custom-event-goals.md) in your Plausible site settings to match the custom events you set up. They won't appear in your dashboard until you do

‎docs/ghost-integration.md‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,9 @@ In Ghost you can inject code across your entire site or on an individual post or
1818
linkText="Start free trial"
1919
/>
2020

21-
* In the **Menu**, click **Settings**, and then **Code Injection**.
21+
* In Ghost Admin, open **Settings → Advanced → Code Injection**. You can also follow [Ghost's current code injection guide](https://ghost.org/help/code-injection-styles/).
2222

23-
<div class="browser">
24-
<img alt="Ghost code injection" src={useBaseUrl('img/ghost-code-injection.png')} />
25-
</div>
26-
27-
* 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.
23+
* Paste your [Plausible tracking snippet](plausible-script.md) 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.
2824

2925
* After adding your code, click on the **Save** button.
3026

@@ -38,7 +34,7 @@ The Sign In/Sign up flows are part of Ghost's [Portal](https://ghost.org/help/se
3834

3935
However, you can bypass this and customize your sign up flows by using a custom theme on the "[Creator plan](https://ghost.org/pricing/)" or higher. 
4036

41-
If you're using a custom theme, you can simply add the tagged events extension to your script and CSS class to the element that you want to track as explained in [this doc](https://plausible.io/docs/custom-event-goals).
37+
If you're using a custom theme, you can keep your Plausible tracking snippet installed and add the event CSS class to the element that you want to track as explained in [this doc](https://plausible.io/docs/custom-event-goals).
4238

4339
## What's next?
4440

‎docs/google-search-console-integration.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,7 @@ Google samples its keyword data heavily. The sampling is why your keyword visito
115115

116116
## Plausible Analytics will be listed in your Google account settings
117117

118-
You can check if Plausible Analytics is integrated with and has the right permissions to your Search Console properties in your Google account within the section **Apps with access to your account**. Here's the [direct link to that section](https://myaccount.google.com/permissions). Here's how it looks.
119-
120-
<div class="browser">
121-
<img alt="Third-party apps with account access" src={useBaseUrl('img/v2/third-party-apps.webp')} />
122-
</div>
118+
Open your Google Account's [connections page](https://myaccount.google.com/connections) and select **Plausible Analytics**. Under the section describing Plausible's access to your Google Account, open **See details** to review its Search Console permissions. Google's [linked-apps guide](https://support.google.com/accounts/answer/13533235) explains how to review or remove access.
123119

124120
## Remove the Google Search Console integration
125121

‎docs/shopify-integration.md‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ Your form or button element should have an ID attribute assigned by default. You
286286

287287
### 2. Trigger custom events with JavaScript on your site
288288

289+
Keep your [current Plausible tracking snippet](plausible-script.md) installed. Add the code below alongside it; it does not replace your tracking snippet.
290+
289291
Here's the code you will need to insert in the `<head>` section of the page where the element ID that you want to track is located. You can do this the same way as you've inserted the Plausible snippet into your site.
290292

291293
Make sure to change the `elementId` line in the code below to include the ID attribute of the element you want to track (`ContactForm` in our example).
@@ -316,9 +318,6 @@ To represent a space character in goal names, you can use a `+` sign. For exampl
316318
</script>
317319
```
318320

319-
<div class="browser">
320-
<img alt="Modify Plausible script" src={useBaseUrl('img/modify-plausible-script-shopify.png')} />
321-
</div>
322321

323322
Do click on the **Save** button to save your changes.
324323

@@ -366,9 +365,6 @@ If you want to trigger multiple custom events on the same site, you don't need t
366365
</script>
367366
```
368367

369-
<div class="browser">
370-
<img alt="track multiple elements in Shopify" src={useBaseUrl('img/track-multiple-elements-shopify.png')} />
371-
</div>
372368
</details>
373369

374370
## What's next?

‎docs/squarespace-integration.md‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Here's how to add Plausible Analytics to your Squarespace site
1818

1919
## How to add Plausible to your Squarespace website
2020

21-
* On your site's settings page, click on **Advanced** and then click on **Code Injection**
21+
* Open the **Code Injection** panel for your site. See [Squarespace's code injection guide](https://support.squarespace.com/hc/en-us/articles/205815908-Customize-parts-of-your-site-with-code-injection) for the navigation for your site version.
2222

23-
* You can use the **[Custom Code](https://university.Squarespace.com/lesson/custom-code-in-the-head-and-body-tags)** feature in Squarespace to add Plausible tracking code to your website. Site-wide JavaScript code injection is a premium Squarespace feature so you need to upgrade your Squarespace account to a paid subscription plan.
23+
* You can use the **[Custom Code](https://support.squarespace.com/hc/en-us/articles/205815908-Customize-parts-of-your-site-with-code-injection)** feature in Squarespace to add Plausible tracking code to your website. Site-wide JavaScript code injection is a premium Squarespace feature so you need to upgrade your Squarespace account to a paid subscription plan.
2424

2525
* [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).
2626

@@ -54,15 +54,9 @@ The easiest way to track form submissions on your Squarespace site is to track t
5454
<img alt="Edit the form in Squarespace" src={useBaseUrl('img/Edit-form-squarespace.png')} />
5555
</div>
5656

57-
* 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** ).
57+
* In the **Content** tab, open **Edit Post-Submit**, choose **Redirect**, then click **Attach Link**. Select your thank-you page or enter its URL, then click **Save**. See [Squarespace's form block guide](https://support.squarespace.com/hc/en-us/articles/206566737-Form-blocks) for the current controls.
5858

59-
<div class="browser">
60-
<img alt="Add redirect URL to your form in Squarespace" src={useBaseUrl('img/add-redirect-url-to-form-in-Squarespace.png')} />
61-
</div>
62-
63-
<div class="browser">
64-
<img alt="Add redirect URL to your form in Squarespace" src={useBaseUrl('img/redirect-url.png')} />
65-
</div>
59+
Test the redirect while logged out of Squarespace or in a private browser window. Post-submit redirects do not work while you are logged into your site.
6660

6761
### 3. Create a pageview goal in your Plausible account
6862

‎docs/webflow-integration.md‎

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ description: "Add Plausible Analytics to Webflow via Custom Code and track butto
66
---
77

88
import CtaBox from '@site/src/components/CtaBox';
9-
import useBaseUrl from '@docusaurus/useBaseUrl';
109

1110
Here's how to add Plausible Analytics to your Webflow site and set up the tracking of custom events such as button clicks and form submissions.
1211

@@ -18,20 +17,12 @@ Here's how to add Plausible Analytics to your Webflow site and set up the tracki
1817

1918
## How to add Plausible to your Webflow website
2019

21-
* On your project's page, click on the Webflow logo (**W**) in the left-hand side menu and choose **Project Settings**.
20+
* Open your site's **Site settings** from the Webflow Dashboard, then select **Custom code**.
2221

23-
<div class="browser">
24-
<img alt="Add custom code to Webflow" src={useBaseUrl('img/add-custom-code-to-webflow.png')} />
25-
</div>
26-
27-
* You can use the **[Custom Code](https://university.webflow.com/lesson/custom-code-in-the-head-and-body-tags)** feature in Webflow to add Plausible tracking code to your website. Site-wide JavaScript code injection is a premium Webflow feature so you need to upgrade your Webflow account to a paid subscription plan.
22+
* You can use the **[Custom Code](https://help.webflow.com/hc/en-us/articles/33961357265299-Custom-code-in-head-and-body-tags)** feature in Webflow to add Plausible tracking code to your website. Your site or Workspace needs a plan that supports custom code; see Webflow's requirements in the linked guide.
2823

2924
* Choose **Custom Code** from the menu 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).
3025

31-
<div class="browser">
32-
<img alt="Add Plausible Analytics script to Webflow" src={useBaseUrl('img/add-plausible-script-to-webflow.png')} />
33-
</div>
34-
3526
* Do click on the **Save Changes** button and then **Publish** your changes.
3627

3728
Now you can go to your Webflow 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).
@@ -44,17 +35,9 @@ The easiest way to track form submissions on your Webflow site is to track the "
4435

4536
First you'll need to create a "thank you" page by clicking on the "Pages" panel and creating the page by clicking on the "Create New Page" button.
4637

47-
<div class="browser">
48-
<img alt="Create the form submission thank you page in Webflow" src={useBaseUrl('img/create-a-thank-you-page-in-webflow.png')} />
49-
</div>
50-
5138
### 2. Set the redirect URL on form submission
5239

53-
Go to the page that contains your form, select the form and click on the gear icon to access the form settings. In the "Redirect URL" field type in the path to the thank you page ( i.e. **/thank-you** )
54-
55-
<div class="browser">
56-
<img alt="Add redirect URL to your form in Webflow" src={useBaseUrl('img/add-redirect-url-to-form-in-webflow.png')} />
57-
</div>
40+
Select your form and open its **Settings** panel. Set the post-submit redirect to your thank-you page, either by selecting the page or entering its path, such as `/thank-you`. Save and publish your changes. See [Webflow's form settings guide](https://help.webflow.com/hc/en-us/articles/33961347548563-How-do-I-add-forms-in-Webflow) for the current controls.
5841

5942
### 3. Create a pageview goal in your Plausible account
6043

@@ -72,14 +55,12 @@ Your goal should now be set up. When you navigate back to your Plausible Analyti
7255

7356
### 1. Set an ID to the element you want to track
7457

75-
In Webflow, link and button elements don't have a default ID. You'll need to assign an ID by selecting the element and clicking on the settings gear. In the **Designer View**, you'll be able to set the ID.
76-
77-
<div class="browser">
78-
<img alt="Add an ID to link and button elements in Webflow" src={useBaseUrl('img/add-id-to-link-and-button-webflow.png')} />
79-
</div>
58+
Select the link or button in Webflow and open its **Element settings**. Set its **ID** to a unique value, such as `button-click`. Use that same value in the code below.
8059

8160
### 2. Trigger custom events with JavaScript on your site
8261

62+
Keep your [current Plausible tracking snippet](plausible-script.md) installed. Add the code below alongside it; it does not replace your tracking snippet.
63+
8364
Here's the code you will need to insert in the `<head>` section of the page where the element ID that you want to track is located. You can use the **Custom Code** feature to do this similarly to how you've inserted the Plausible snippet into your site.
8465

8566
Make sure to change the `elementId` line in the code below to include the ID attribute of the element you want to track (`button-click` in our example).
@@ -108,10 +89,6 @@ To represent a space in a goal name, use a `+` sign. For example: `plausible-eve
10889
</script>
10990
```
11091

111-
<div class="browser">
112-
<img alt="Modify Plausible script webflow" src={useBaseUrl('img/modify-plausible-script-webflow.png')} />
113-
</div>
114-
11592
Do click on the **Save Changes** button and then **Publish** your changes.
11693

11794
### 3. Create a custom event goal in your Plausible account
@@ -158,10 +135,6 @@ If you want to trigger multiple custom events on the same site, you don't need t
158135
</script>
159136
```
160137

161-
<div class="browser">
162-
<img alt="track multiple elements in Webflow" src={useBaseUrl('img/track-multiple-elements-webflow.png')} />
163-
</div>
164-
165138
## Custom event not showing up?
166139

167140
### Did you publish your changes?

‎docs/wordpress-integration.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ Then install the plugin from your WordPress dashboard:
2929
2. Click **Add Plugin** and search for "Plausible Analytics".
3030
3. Open the official listing, then **Install** and **Activate**.
3131

32-
<div class="browser">
33-
<img alt="Search and install the official Plausible Analytics WordPress plugin" src={useBaseUrl('img/search-for-plugin.png')} />
34-
</div>
35-
3632
You can also install it from the [official plugin directory](https://wordpress.org/plugins/plausible-analytics/). After activation, the plugin walks you through a Get Started guide. Every option there is also available later in the plugin settings screen, described below.
3733

3834
<div class="browser">

0 commit comments

Comments
 (0)