Skip to content

Commit 914930c

Browse files
committed
Asset path changes
1 parent 0666f7d commit 914930c

File tree

9 files changed

+59
-15
lines changed

9 files changed

+59
-15
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: >-
99

1010
Umbraco Engage helps you with some additional scripts and views.
1111

12-
They are all stored in the `/Assets/umbracoEngage/Scripts/` and the `/Views/Partials/Umbraco.Engage/` folders.
12+
They are all stored in the `/Assets/Umbraco.Engage/Scripts/` and the `/Views/Partials/Umbraco.Engage/` folders.
1313

1414
Find more information about the scripts:
1515

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: >-
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
12-
<script src="/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.js"></script>
12+
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.js"></script>
1313
```
1414

1515
When this file is included, Umbraco Engage sends the following data to the server before the visitor navigates to another page:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We have included a bridging JavaScript file to "catch" all Google Analytics even
1212
Add a reference to `umbracoEngage.analytics.ga4-bridge.min.js`:
1313

1414
```html
15-
<script src="~/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.ga4-bridge.min.js"></script>
15+
<script src="~/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.ga4-bridge.min.js"></script>
1616
```
1717

1818
### Excluded events

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ When using Google Tag Manager you can collect all events in Umbraco Engage. This
1010
To include the file add the following code before the closing `body` tag in your HTML:
1111

1212
```html
13-
<script src="~/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.ga-bridge.js"></script>
13+
<script src="~/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.ga-bridge.js"></script>
1414
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ When a visitor runs an Adblocker or cookieblocker the visitor is likely not trac
1010
This is made possible by a JavaScript file that you can include before the closing `body`-tag in your HTML:
1111

1212
```js
13-
<script src="/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.blockerdetection.js"></script>
13+
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.blockerdetection.js"></script>
1414
```
1515

1616
If you include the script one of the following events is sent:

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ First, define a class that implements **ILocation**, to hold the localization in
2222
{% code overflow="wrap" lineNumbers="true" %}
2323

2424
```cs
25-
using Umbraco.Engage.Business.Analytics.Processed;public class GeoIpLocation : ILocation{
25+
using Umbraco.Engage.Business.Analytics.Processed;
26+
public class GeoIpLocation : ILocation {
2627
public string Country { get; set; }
2728
public string County { get; set; }
2829
public string Province { get; set; }
@@ -37,7 +38,8 @@ Next, implement the location extractor to read and validate the incoming IP addr
3738
{% code overflow="wrap" lineNumbers="true" %}
3839

3940
```cs
40-
using Umbraco.Engage.Business.Analytics.Processing.Extractors;public class MyCustomLocationExtractor : IRawPageviewLocationExtractor
41+
using Umbraco.Engage.Business.Analytics.Processing.Extractors;
42+
public class MyCustomLocationExtractor : IRawPageviewLocationExtractor
4143
{
4244
public ILocation Extract(IRawPageview rawPageview)
4345
{

13/umbraco-engage/developers/introduction/dataflow-pipeline/data-collection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ These kinds of requests need to be collected via the client side. To support thi
4747

4848
### umbracoEngage.analytics.js
4949

50-
If you install the package you will find this JavaScript file in the folder /Assets/umbracoEngage/scripts/.
50+
If you install the package you will find this JavaScript file in the folder /Assets/Umbraco.Engage/scripts/.
5151

5252
This JavaScript collects the following data for you:
5353

@@ -65,7 +65,7 @@ You need to load the file at the end of your page to enable these events.
6565

6666
{% code lineNumbers="true" %}
6767
```html
68-
<script src="/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.js"></script>
68+
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.js"></script>
6969
```
7070
{% endcode %}
7171

@@ -99,6 +99,6 @@ The only thing you will need to do is include the script _\Assets\umbracoEngage\
9999

100100
{% code lineNumbers="true" %}
101101
```html
102-
<script src="/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.ga-bridge.js"></script>
102+
<script src="/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.ga-bridge.js"></script>
103103
```
104104
{% endcode %}

13/umbraco-engage/developers/introduction/the-umbraco-engage-cookie/module-permissions.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,34 @@ This interface defines 3 methods that you will have to implement:
1414

1515
{% code overflow="wrap" %}
1616
```csharp
17-
/// <summary>/// Indicates if A/B testing is allowed for the given request context./// If false, the visitor will not be assigned to any A/B tests and will not/// see any active A/B test content./// </summary>/// <param name="context">Context of the request</param>/// <returns>True if A/B testing is allowed, otherwise false.</returns>bool AbTestingIsAllowed(HttpContextBase context);/// <summary>/// Indicates if Analytics is allowed for the given request context./// If false, the visitor will be treated as the built-in Anonymous visitor/// and all their activity will be assigned to the Anonymous visitor rather than the specific visitor./// No A/B testing or Personalization will be allowed either if this is false regardless of their/// respective IsAllowed() outcomes./// In addition, no cookie will be sent to the visitor when this is set to false./// </summary>/// <param name="context">Context of the request</param>/// <returns>True if Analytics is allowed, otherwise false.</returns>bool AnalyticsIsAllowed(HttpContextBase context);/// <summary>/// Indicates if Personalization testing is allowed for the given request context./// If false, the visitor will not see any personalized content./// </summary>/// <param name="context">Context of the request</param>/// <returns>True if Personalization is allowed, otherwise false.</returns>bool PersonalizationIsAllowed(HttpContextBase context);
17+
/// <summary>
18+
/// Indicates if A/B testing is allowed for the given request context.
19+
/// If false, the visitor will not be assigned to any A/B tests and will not
20+
/// see any active A/B test content.
21+
/// </summary>
22+
/// <param name="context">Context of the request</param>
23+
/// <returns>True if A/B testing is allowed, otherwise false.</returns>
24+
bool AbTestingIsAllowed(HttpContextBase context);
25+
26+
/// <summary>
27+
/// Indicates if Analytics is allowed for the given request context.
28+
/// If false, the visitor will be treated as the built-in Anonymous visitor
29+
/// and all their activity will be assigned to the Anonymous visitor rather than the specific visitor.
30+
/// No A/B testing or Personalization will be allowed either if this is false regardless of their
31+
/// respective IsAllowed() outcomes.
32+
/// In addition, no cookie will be sent to the visitor when this is set to false.
33+
/// </summary>
34+
/// <param name="context">Context of the request</param>
35+
/// <returns>True if Analytics is allowed, otherwise false.</returns>
36+
bool AnalyticsIsAllowed(HttpContextBase context);
37+
38+
/// <summary>
39+
/// Indicates if Personalization testing is allowed for the given request context.
40+
/// If false, the visitor will not see any personalized content.
41+
/// </summary>
42+
/// <param name="context">Context of the request</param>
43+
/// <returns>True if Personalization is allowed, otherwise false.</returns>
44+
bool PersonalizationIsAllowed(HttpContextBase context);
1845
```
1946
{% endcode %}
2047

@@ -24,7 +51,22 @@ It could look something like this:
2451

2552
{% code overflow="wrap" %}
2653
```csharp
27-
using Umbraco.Engage.Business.Permissions.ModulePermissions;using Umbraco.Engage.Common.Composing;using Umbraco.Core;using Umbraco.Core.Composing;namespace YourNamespace { [ComposeAfter(typeof(UmbracoEngageApplicationComposer))] public class YourComposer : IComposer { public void Compose(Composition composition) { composition.RegisterUnique<IModulePermissions, YourCustomModulePermissions>(); } }}
54+
using Umbraco.Engage.Infrastructure.Permissions.ModulePermissions;
55+
using Umbraco.Engage.Common.Composing;
56+
using Umbraco.Core;
57+
using Umbraco.Core.Composing;
58+
59+
namespace YourNamespace
60+
{
61+
[ComposeAfter(typeof(UmbracoEngageApplicationComposer))]
62+
public class YourComposer : IComposer
63+
{
64+
public void Compose(Composition composition)
65+
{
66+
composition.RegisterUnique<IModulePermissions, YourCustomModulePermissions>();
67+
}
68+
}
69+
}
2870
```
2971
{% endcode %}
3072

13/umbraco-engage/upgrading/migrate-from-umarketingsuite.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ The final version will be available with the release of Umbraco Engage.
2727
Make sure to change the reference to the client side analytics scripts to:
2828

2929
```
30-
<script src="~/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.js"></script>
31-
<script src="~/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.ga-bridge.js"></script>
32-
<script src="~/Assets/umbracoEngage/Scripts/umbracoEngage.analytics.blockerdetection.js"></script>
30+
<script src="~/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.js"></script>
31+
<script src="~/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.ga-bridge.js"></script>
32+
<script src="~/Assets/Umbraco.Engage/Scripts/umbracoEngage.analytics.blockerdetection.js"></script>
3333
```
3434

3535
See the detailed steps and instructions here \<link to guide of Corné below>

0 commit comments

Comments
 (0)