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

SOLVED

SPA - Unable to set Click Element as Primary Goal on a pop-up

surjitp43519485
Level 2
Level 2

Hi Target Team,

Recently I have link my primary goal to one of pop-up buttons ( which appears on the main SPA page ) to track the number of conversion.

After too many tests(in staging enviroment) I realized I am not getting any results for the conversion where as I am seeing the Visitor numbers.

NOTE: This issue doesn't occur when I link Prim. Goal to one of the buttons on the main page.

When I looked at the console I could see the following when the page load happens !

AT: Actions with missing selectors

{…}

action: "trackClick"

clickTrackId: "32767.105766"

selector: "#app > DIV.wrapper:eq(0) > DIV.main-content:eq(0) > DIV.container:eq(0) > DIV:nth-of-type(3) > DIV.modal:eq(0) > DIV.modal-dialog:eq(0) > DIV.responseMessage:eq(0) > DIV.modal-footer:eq(0) > BUTTON.btn-sm:eq(1)"

__proto__: {…}

__defineGetter__: function __defineGetter__()

__defineSetter__: function __defineSetter__()

__lookupGetter__: function __lookupGetter__()

__lookupSetter__: function __lookupSetter__()

constructor: function Object()

hasOwnProperty: function hasOwnProperty()

isPrototypeOf: function isPrototypeOf()

propertyIsEnumerable: function propertyIsEnumerable()

toLocaleString: function toLocaleString()

toSource: function toSource()

toString: function toString()

unwatch: function unwatch()

valueOf: function valueOf()

watch: function watch()

1 Accepted Solution
Amelia_Waliany
Correct answer by
Community Manager
Community Manager

Hi there and thanks for your question! You may find this information on Single-Page Application Implementation within the Adobe Target Product Documentation helpful, as well as this Lab Manual Superpowers for your site and Single Page App: The new Adobe Target library. Feel free to reach out with more questions as you go through these resources Hope this helps!

View solution in original post

1 Reply
Amelia_Waliany
Correct answer by
Community Manager
Community Manager

Hi there and thanks for your question! You may find this information on Single-Page Application Implementation within the Adobe Target Product Documentation helpful, as well as this Lab Manual Superpowers for your site and Single Page App: The new Adobe Target library. Feel free to reach out with more questions as you go through these resources Hope this helps!

View solution in original post