Trying to use innerHTML to capture dynamic event values, but not working
I tried using inner.HTML to capture the value for the tabs. I need to know if I did it correctly because the prop is not firing. I am trying to capture the values for each href for pamphlet, article and chapter. Below the code, you can what I did under conditions and Adobe Analytics to set the tracking up.
<dd class="active" id="page_scan_tab">
<a role="tab" href="#page_scan_tab_contents">Pamphlet</a>
</dd>
<dd class="active" id="page_scan_tab">
<a role="tab" href="#page_scan_tab_contents”>Article</a>
</dd>
<dd class="active" id="page_scan_tab">
<a role="tab" href="#page_scan_tab_contents”>Chapter</a>
</dd>
Under the Conditions, I added the following.
Element Tag or Selector: I added "a"
Property: I added "href"
Value: I added "#page_scan_tab_contents"
Under Adobe Analytics, I set the prop as follows:
prop73=%this.innerHTML
The tracking is not firing for prop 73. Can anyone provide any feedback as to what I did wrong?
Thank you,
Bill