Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Frank_Lee_-_UT
Level 2
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
Frank_Lee_-_UT
Correct answer by
Level 2
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
AllDayDev
Employee
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.)

Frank_Lee_-_UT
Correct answer by
Level 2
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