Activity Map for non-links? | Community
Skip to main content
New Participant
March 3, 2020
Solved

Activity Map for non-links?

  • March 3, 2020
  • 2 replies
  • 6904 views

Hello,

 

I have implemented activityMap link, region etc for links, Cta's etc. Ref doc: https://docs.adobe.com/content/help/en/analytics/analyze/activity-map/link-tracking/activitymap-link-tracking-methodology.html 

The use case I am trying to work on is to get activityMap link, region for non-links, for example FAQ's which have expand and collapse option. I'd like to fire activityMap link, region on click of FAQ expand and collapse to better understand the user experience. 

Example: https://codyhouse.co/demo/faq-template/index.html

 

I tried to update html and also faq.click() by using s.tl() function, none of them worked. So, I am wondering if activityMap applies only for links? Has anyone encountered such a use case? How can I populate the FAQ clicks in Analytics? 

 

Thanks in advance for suggestions. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Asheesh_Pandey

@berus you may wanna use s_object id in this case. https://docs.adobe.com/content/help/en/analytics/implementation/vars/page-vars/s-objectid.html

in case you want to troubleshoot it https://helpx.adobe.com/analytics/kb/no-data-clickmap-overlay.html

2 replies

Asheesh_Pandey
Asheesh_PandeyAccepted solution
New Participant
March 4, 2020
BerusAuthor
New Participant
March 6, 2020
s_object id cannot be used because FAQ is not a link or it does not have <a> tag.
Jennifer_Dungan
New Participant
March 3, 2020

This is something I've been working on as well.

 

So far what I've discovered that if the element is a "standard" clickable element (ie. link or a button) I have added code to make it work. If the developers do something silly like make a JS clickable span or div (which is just plain bad usability to start with) then it won't work.

 

In your case I can see that these are in fact a tags, so IF you were to add s.tl() click tracking to the anchors, it "should" work... but it might need a little tweaking?

 

I don't see any analytics on your template yet, so it might be hard to see what is happening, but I'd be happy to try and help you out.