I have a situation where in one page, we have multiple buttons that open the same overlay within the page. However, each button has been coded as a DIV element, with a click event added to it.
I've added "s_objectID" to each of these DIVs. When I click all of them, I expect Activity Map to record that particular DIV's s_objectID. Each DIV click also sends a s.tl() Custom Link hit with a name for that DIV.
Here's what I've found:
I think this behaviour occurs because Activity Map expects that after clicking a link that sets Activity Map, the next hit should be a s.t() Pageview hit. But that is clearly not the case here, because the user can close the overlay, but then click another button to open the same overlay without going to another page nor without a page refresh.
This behaviour also happens when it's a combination of DIV and A elements. As long as there are consecutive s.tl() hits and all of them are expected to set Activity Map, then Activity Map always skips the 2nd one, and then subsequent s.tl() hits have the previous Activity Map data.
I think that this tracking behaviour is a bug, not a feature, of Activity Map. I think Activity Map should track the current clicked element's data, regardless if a pageview hit (or some other condition that I'm not aware of) has occurred.
Is there a workaround for this Activity Map bug?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Got this solution from Frederik Werner: add a delay when firing s.tl().
E.g.
// delay s.tl() call for 500 ms
setTimeout(function() {
...
s.tl(this, 'o', '...');
}, 500);
Got this solution from Frederik Werner: add a delay when firing s.tl().
E.g.
// delay s.tl() call for 500 ms
setTimeout(function() {
...
s.tl(this, 'o', '...');
}, 500);
Aside: This forum's code formatting is weird... such a large font for the "500" number... @jantzen_b
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
I have very similar issues. What I have found out so far using Adobe Launch:
My solution would be clearing the "s_sq cookie" on "registerPostTrackCallback" function using Util.CookieWrite.
So my question is: Is this last step where I clear the cookie necessary or do I miss a detail?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies