Skip to content

Commit 549d5ae

Browse files
TvGesselgitbook-bot
authored andcommitted
GITBOOK-72: Async and defer loading types not supported
1 parent 2a1aa40 commit 549d5ae

File tree

6 files changed

+30
-2
lines changed

6 files changed

+30
-2
lines changed

13/umbraco-engage/developers/analytics/client-side-events-and-additional-javascript-files/additional-measurements-with-the-analytics-scripts.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ description: >-
44
JavaScript file.
55
---
66

7-
# Additional measurements Umbraco Engage analytics scripts
7+
# Additional measurements with analytics scripts
88

99
You can add the Umbraco Engage Analytics JavaScript file to your website by placing this code before the closing `</body>` tag of your website.
1010

1111
```html
1212
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.js"></script>
1313
```
1414

15+
{% hint style="info" %}
16+
The following client-side tracking script loading types are currently not supported: "async" or "defer".
17+
{% endhint %}
18+
1519
When this file is included, Umbraco Engage sends the following data to the server before the visitor navigates to another page:
1620

1721
* **Scroll Depth**: Tracks the maximum scroll depth in both pixels and percentage of the page. For example, a user might scroll to 93% of the page height, which could equal 967 pixels.

13/umbraco-engage/developers/analytics/client-side-events-and-additional-javascript-files/bridging-library-for-google-analytics.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Add a reference to `umbracoEngage.analytics.ga4-bridge.min.js`:
1414
<script src="~/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.ga4-bridge.min.js"></script>
1515
```
1616

17+
{% hint style="info" %}
18+
The following Google Analytics bridging script loading types are currently not supported: "async" or "defer".
19+
{% endhint %}
20+
1721
### Excluded events
1822

1923
The following built-in GA4 events are excluded by the GA4 bridge:

13/umbraco-engage/developers/analytics/client-side-events-and-additional-javascript-files/bridging-library-for-google-tag-manager.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ To include the file add the following code before the closing `body` tag in your
1111
```html
1212
<script src="~/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.ga-bridge.js"></script>
1313
```
14+
15+
{% hint style="info" %}
16+
The following Google Analytics bridging script loading types are currently not supported: "async" or "defer".
17+
{% endhint %}

13/umbraco-engage/developers/analytics/client-side-events-and-additional-javascript-files/google-analytics-blocker-detection.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ This is made possible by a JavaScript file that you can include before the closi
1212
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.blockerdetection.js"></script>
1313
```
1414

15+
{% hint style="info" %}
16+
The following Google Analytics blocker detection script loading types are currently not supported: "async" or "defer".
17+
{% endhint %}
18+
1519
If you include the script one of the following events is sent:
1620

1721
* If Google Analytics is blocked in the browser of the visitor: `umbEngage("send", "event", "Tracking", "Blocked", "Google Analytics");`

13/umbraco-engage/developers/analytics/forms.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ To track Umbraco Forms submissions, you need to install [Umbraco Forms](https://
1111

1212
Umbraco Engage measures interactions with Umbraco Forms on your website automatically if you include the Umbraco Engage [analytics JavaScript file](client-side-events-and-additional-javascript-files/additional-measurements-with-the-analytics-scripts.md). No additional configuration is needed. The data is visualized in the backoffice in Engage > Analytics > Forms.
1313

14+
{% hint style="info" %}
15+
The following Umbraco Forms script loading types are currently not supported: "async" or "defer".
16+
{% endhint %}
17+
1418
The following is measured:
1519

1620
* The time a visitor started filling in the form.

13/umbraco-engage/installation/installation.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ To capture events that happen on the clientside (frontend) of your website, you
9696
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.js"></script>
9797
```
9898

99+
{% hint style="info" %}
100+
The following client-side tracking script loading types are currently not supported: "async" or "defer".
101+
{% endhint %}
102+
99103
### Cockpit
100104

101105
Cockpit is a tool to help with testing segments and diagnose the data Umbraco Engage collects. It can be viewed on the frontend of your website, only if you are logged into Umbraco as well.
@@ -124,6 +128,10 @@ Here are some optional extras you can do to improve your experience with Umbraco
124128
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.blockerdetection.js"></script>
125129
```
126130

131+
{% hint style="info" %}
132+
The following Google Analytics bridging or blocker script loading types are currently not supported: "async" or "defer".
133+
{% endhint %}
134+
127135
### Cookie consent
128136

129137
If you need to influence the default [The Umbraco Engage cookie](../marketers-and-editors/introduction/the-umbraco-engage-cookie.md) behaviour please go [here](../security-and-privacy/gdpr/). Or go to an example [implementation using Cookiebot](../security-and-privacy/gdpr/how-to-become-gdpr-compliant-using-cookiebot.md) which can be used as an example for other cookie consent providers.
@@ -138,7 +146,7 @@ Are you using a load-balanced setup or separate CM and CD environments? [Please
138146

139147
### The first run
140148

141-
When you visit your site locally for the first time, Umbraco Engage will begin tracking page views, visitors, etc. If you go to **Engage** -> **Analytics,** you won't see any data until the first reporting run. By default, reporting data will be generated at 04:00 AM automatically.&#x20;
149+
When you visit your site locally for the first time, Umbraco Engage will begin tracking page views, visitors, etc. If you go to **Engage** -> **Analytics,** you won't see any data until the first reporting run. By default, reporting data will be generated at 04:00 AM automatically.
142150

143151
<figure><img src="../.gitbook/assets/Umbraco-Engage-Regenerate-data.png" alt=""><figcaption><p>Regenerate button</p></figcaption></figure>
144152

0 commit comments

Comments
 (0)