DTM Event Based Rule - track tab click - Adobe Analytics page code already present | Community
Skip to main content
Frank_Lee_-_UT
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 2 replies
  • 2680 views

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!

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 Frank_Lee_-_UT

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!

2 replies

October 16, 2015

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
Frank_Lee_-_UTAuthorAccepted solution
Level 2
October 16, 2015

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!