Expand my Community achievements bar.

SOLVED

Activity Map: Link-ID

Avatar

Level 1

Hi Togehter,

maybe someone can help me. Actually, I have for a link a class with two different informations

As an example, it looks like this:

<div class="text">

<h3 class="title">test</h3>

  <div class="subtitle">one</div>

     </div>

Actually, the Link tracking works correctly but in Analytics, the link Id is the combination of both class, so that the Link -ID in this case is "test one".

But I want only "test" as a Link ID and not both.

Do you have any ideas how I can solve this issue?

Thank you

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I don't think you can change this without changing the html. basically the "activity map" looks for the "innertext" of the link which has been clicked. and as long as the "click" is on the "h3" i. your example the whole text will get fetched by the link id.

seee here for more how it works: Link Tracking Methodology

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

I don't think you can change this without changing the html. basically the "activity map" looks for the "innertext" of the link which has been clicked. and as long as the "click" is on the "h3" i. your example the whole text will get fetched by the link id.

seee here for more how it works: Link Tracking Methodology

Avatar

Level 1

hi,

thanks for your answer, we are going to place the "subtitle div" outside the link.