Expand my Community achievements bar.

SOLVED

DTM Event Based Rule - track tab click - Adobe Analytics page code already present

Avatar

Level 2

Hi,

I'm able to see my Event Based Rule fire on page, but the eVar and prop I have specified to fire as part of the rule are not showing up in the beacon.  The page already has existing page code and I'm using URL to link to the s_code.js file.  Here's the page:

http://www.threeekings.com/dtm/uhc/

Any clue what I have configured wrong?

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi,

The event type = click, with the "Apply event handler directly to element" box checked

I'm using a selector as follows:

a[href="#dualtank"]

The only other conditions to the rule are path restrictions for the right directory.

I have checked the "Adobe Analytics page code is already present"

 

I'll play with the timing.

Thanks!

View solution in original post

2 Replies

Avatar

Employee

What event is the rule set for? Are any rule conditions on it as well?

Assuming the beacon is being sent, my guess is that the issue is with timing. e.g. the beacon is being created before the eVar and prop are being changed/populated, or you're changing/populating the eVar and prop before the s_code is loaded and has executed, etc.

Also - did you check "Adobe Analytics page code is already present" checkbox when you added Analytics as a tool in DTM? (Just want to make sure you're not loading duplicate code.)

Avatar

Correct answer by
Level 2

Hi,

The event type = click, with the "Apply event handler directly to element" box checked

I'm using a selector as follows:

a[href="#dualtank"]

The only other conditions to the rule are path restrictions for the right directory.

I have checked the "Adobe Analytics page code is already present"

 

I'll play with the timing.

Thanks!