Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

rigor
Community profile rigor Level 1
Job title here
Location here
5 BADGES
Level 1

Level 1

Learn more
Joined the community 11-04-2017 12:51:45 AM
Offline
Top badges earned by rigor
Customize the badges you want to showcase on your profile
Re: Sending beacon: xhr vs script
Avatar
Ignite 1
Level 1
rigor
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 1
View profile
rigor
- Adobe Analytics
I guess, I simply have to find a way to work around this. Thanks for the clarification.

Views

236

Likes

0

Replies

0
Sending beacon: xhr vs script
Avatar
Ignite 1
Level 1
rigor
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 1
View profile
rigor
- Adobe Analytics
I have AppMeasurement 2.17.0 and it sometimes sends beacons as (1) AJAX POST request and sometimes it dynamically (2) adds to the page (with the same URL as AJAX request) and that results in a GET request. In case of 1 the data is encapsulated in the request body, and in case of 2 the data is sent in request parameters.Why is that so, and is it possible to configure it to always send the beacon as AJAX POST? I would like to have it that way, because it makes testing track calls with tools such as Cypress easier. Cypress, for example, is capable only of detecting AJAX requests.

Views

256

Likes

0

Replies

2
Re: Creating a node in the JCR when a component is rendered
Avatar
Ignite 1
Level 1
rigor
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 1
View profile
rigor
- Adobe Experience Manager
In that case you have to use Dynamic Templates that were introduced in AEM 6.2. Have a look here -> Creating Page Templates

Views

4.2K

Likes

0

Replies

1
Re: Creating a node in the JCR when a component is rendered
Avatar
Ignite 1
Level 1
rigor
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 1
View profile
rigor
- Adobe Experience Manager
As you said, cq:template node of the component has the desired effect only in case author adds the component to page - true. For the first use case, however, you have to include the respective nodes in the template of your page, e.g.,:

Views

4.2K

Like

1

Replies

4
Re: Creating a node in the JCR when a component is rendered
Avatar
Ignite 1
Level 1
rigor
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 1
View profile
rigor
- Adobe Experience Manager
If you want your component to have some nodes created automatically you have to make use of cq:template. You create it beside cq:dialog. If you want to have node called image_node created automatically, your cq:template would look something like this:

Views

4.2K

Likes

0

Replies

6
Likes given to
Likes from