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
BedrockMission!

Learn More

View all

Sign in to view all badges

Goal Metric on a Single page Angular application

Avatar

Avatar
Boost 3
Level 1
bernardm1756841
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
bernardm1756841
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
bernardm1756841
Level 1

21-06-2019

I have an Adobe Target Form based AB test which is used on a Single page Angular application.

I want to be able to track conversion on the SPA.

I have presumed that I ned to call triggerView() within the application to let AT know when the views are changing.

How do add a goal to track the view changes in the reports?

In the Goal Metric section the goal options are:

What do you want to measure with this activity?

Conversion

What action was taken by your audience to indicate your goal has been reached?

Viewed a Page, Viewed an mbox, clicked on mbox.

Am I missing something. There does not appear to be any way to select view changes.

Is there a way to track a view change?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Andrey_Osadchuk
MVP

Likes

510 likes

Total Posts

918 posts

Correct Reply

243 solutions
Top badges earned
Coach
Contributor
Seeker
Bedrock
Boost 500
View profile

Avatar
Coach
MVP
Andrey_Osadchuk
MVP

Likes

510 likes

Total Posts

918 posts

Correct Reply

243 solutions
Top badges earned
Coach
Contributor
Seeker
Bedrock
Boost 500
View profile
Andrey_Osadchuk
MVP

21-06-2019

Create and call an mbox on conversion event and set it as a goal in the activity.

Answers (1)

Answers (1)

Avatar

Avatar
Boost 3
Level 1
bernardm1756841
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
bernardm1756841
Level 1

Likes

4 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
bernardm1756841
Level 1

24-06-2019

Andrey,  Thanks for that.

Can you tell me exactly how to do that? Code sample would be good.

I was thinking of calling trackEvent() Thus:

  adobe.target.trackEvent({ 'mbox': viewName });

This worked a couple of times then AT stopped counting the conversion event though I was on new clients.

I think I am missing something here.

How do I create and call an mbox in code?