Trying to use innerHTML to capture dynamic event values, but not working | Adobe Higher Education
Skip to main content
Level 3
October 16, 2015
Respondido

Trying to use innerHTML to capture dynamic event values, but not working

  • October 16, 2015
  • 11 respostas
  • 1747 Visualizações

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

Este tópico foi fechado para respostas.
Melhor resposta por Alexis_Cazes_

HI Bill,

 

I have changed the condition of the rule and it is now fired : SATELLITE: Rule "Content tab test 2" fired.

 

The image request contains prop73 with the right value :

 

  1. AQB:
    1
  2. ndh:
    1
  3. pf:
    1
  4. t:
    26/7/2015 12:28:41 3 -60
  5. D:
    D=
  6. mid:
    15540699278863072830582516998898801120
  7. aid:
    2AE8FCA285313023-40000102E0055CCC
  8. aamlh:
    6
  9. ce:
    UTF-8
  10. pageName:
    article view
  11. g:
  12. cc:
    USD
  13. pe:
    lnk_o
  14. pev2:
    test
  15. pid:
    article view
  16. pidt:
    1
  17. oid:
  18. ot:
    A
  19. c73:
    Article
  20. s:
    1920x1080
  21. c:
    24
  22. j:
    1.6
  23. v:
    Y
  24. k:
    Y
  25. bw:
    574
  26. bh:
    955
  27. AQE:
    1

Best regards.

 

 

Alexis Cazes

 

 

Senior Technical Support Engineer

11 Respostas

Level 3
October 16, 2015

Alexis,

Was the update you made based on the image you provided in an earlier post? I tried to create it that way, but it did not get it to work. I am sure I missed something.

 

Thanks,

Bill