Search code examples
adobe-analytics

Adobe DTM Mobile Tracking Rules


I'm trying to create a DTM event rule that triggers an event at the start of a form, and then a different event for each step of the process (three steps total).

The event rule I create is setup like so:

enter image description here

The thought is to isolate the device type and then create individual rules associated to each step of the process, but the rule doesn't seem to be working. I testing this by using a useragent plugin for Chrome.

If this isn't the right approach or isn't going to work, I'm open for suggestions.


Solution

  • Okay in your comment you said you are trying to trigger the rule based on this link:

    <a href="/wgu/inquiry_form-b" class="btn--yellow--arrow"> "Request Info"</a>

    Here is an example of what I think you are attempting to do, based on what you have shown so far.

    Event Type: click

    Element Tag Or Selector: a

    Enable Manually assign properties & attributes

    Add the follow Propery and Value entries:

    Property: innerText Value(enable regex): \bRequest Info\b

    Note:The above is regex with word boundaries because DTM does not properly store/output quotes in this field so this is next best thing.

    Property: pathname Value: /wgu/inquiry_form-b

    Screenshot:

    enter image description here