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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

joelstachowicz
Community profile joelstachowicz Employee
Job title here
Location here
10 BADGES
Employee

Employee

Learn more
Joined the community 01-08-2014 7:28:46 AM
Offline
Top badges earned by joelstachowicz
Customize the badges you want to showcase on your profile
Re: DTM Switch Plugins
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Jason,The forum seems to be removing the direct link. I've added the reference so that it is visible. Just copy and paste it into your browser address bar and let me know if you run into any other issues downloading the files.Thanks,Joel

Views

3.6K

Likes

0

Replies

0
DTM Switch Plugins
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
DTM SwitchDTM Switch is a browser plugin for easy switching of debug mode and staging mode for DTM users. It is available for both Chrome and Firefox.The attached files are very early unsigned versions of the plugins and are provided in this forum on an "as is" basis with no additional support. The production versions of the plugins will eventually be posted to the appropriate browser extension/plugin stores, but these early release versions can be used until that point.Installation and Usage In...

Views

4.8K

Likes

5

Replies

7
Re: DTM - How to match the home page in a page load rule
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Stewart,Yes, I have no issues when testing this solution. Here are some screenshots of what this looks like in the UI.The rule condition should look like this: [img]homepage-01.png[/img]The test script:[img]homepage-02.png[/img]Debug on the home page where the rule fires:[img]homepage-03.png[/img]Debug on a different page where the rule does not fire:[img]homepage-04.png[/img]If this doesn't help then can you post a link to your test site, or send it to me directly so that I can take a look a...

Views

707

Likes

0

Replies

0
Re: DTM - How to match the home page in a page load rule
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Stewart,Sorry, I got ahead of myself in the explanation and meant location.href when I was talking about path instead of how DTM uses the term "path" in rules."Path" in DTM rule conditions means location.pathname + location.search and not the other components of location like location.protocol, etc. So with the example http://www.landsend.com the DTM "path" is "/" and not the full location.href which would be http://www.landsend.com/ that you are expecting. There is a built-in DTM data elemen...

Views

698

Likes

0

Replies

0
Re: DTM - How to match the home page in a page load rule
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Stewart,Using regex is probably the way to go, but this use case is a bit more complex than it may first appear. For instance, the match probably needs to take into account situations like variations in protocol (http vs https), the actual homepage file name (index.jsp), query params (?var1=1&var2=1), etc. in addition to simply excluding alternate filenames like /page.html at the end of the path.A simple match would be ^(https?:\/\/)?www.landsend.com\/?$Use the regex "test" in the DTM UI to e...

Views

697

Likes

0

Replies

0
Re: DTM: How do I populate a tag with a simple js alert test?
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
In case the console is not open, you can use the built-in DTM function _satellite.notify('message',1) as well. It provides the additional capability of handling multiple error levels.

Views

492

Likes

0

Replies

0
Re: EVENT BASED RULES in DTM
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Alexander,Can you elaborate a bit on what did not work?The DTM debug mode can be turned on via the javascript console by entering _satellite.setDebug(true) and turn it off by entering _satellite.setDebug(false). This modifies a setting in localStorage, so you can reference it by entering localStorage.getItem('sdsat_debug') or you can load one of the Chrome or Firefox plugins to make it more simple http://help-forums.adobe.com/content/adobeforums/en/marketing-cloud-forum/adobe-marketing-cloud....

Views

471

Likes

0

Replies

0
Re: EVENT BASED RULES in DTM
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Alexander,This is still a timing issue and can be corrected with a data element or a custom code condition. To verify that it is timing related just add a _satellite.notify('debug',1) to the event based rule's analytics custom code section and you will see it fire in the console when the click occurs (make sure that you have turned on debug mode with _satellite.setDebug(true) in the js console first).Create a data element with a custom code section and add this to the code editor:return s.get...

Views

470

Likes

0

Replies

0
Re: EVENT BASED RULES in DTM
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Alexander,Make sure that the targeted element is actually an anchor tag since that is the only element type that will be affected by the timing delay. Take a look at the actual element that is being clicked on as the click may be active on an image or some other element and not the anchor directly. More complex bubbling issues can be handled with the other UI options, but that's not necessary in most cases.Hopefully the data element route will handle your immediate challenges though and you can process the data as expected.Let us know if you need any further assistance.-Joel

Views

440

Likes

0

Replies

0
Re: EVENT BASED RULES in DTM
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Alexander,This still looks like a timing issue from what I can see. The custom code does not appear to be firing in time to get passed with the s.tl() call. Here are a few things to check.First, if you are targeting anchor tags, then check the "delay link activation" box next to the "click" event in the rule conditions. This provides a default 100ms delay to allow processing of the code prior to activating the tools and custom code. You can control the amount of time in the delay by going to ...

Views

463

Likes

0

Replies

0
Re: EVENT BASED RULES in DTM
Avatar
Ignite 1
Employee
joelstachowicz
Employee

Likes

5 likes

Total Posts

12 posts

Correct reply

3 solutions
Top badges earned
Ignite 1
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
joelstachowicz
- Dynamic Tag Management
Hi Alexander,In both the global Analytics custom code section and in the individual rule Analytics custom code, the code should be fired immediately prior to the beacon request. Have you tried entering the entire code block for the event based rule into a sequential third-party javascript to make sure that it fires correctly independent of the UI? There may be something else going on that we can investigate, but eliminate the UI first to rule that out as an issue.Timing is probably the challenge...

Views

480

Likes

0

Replies

0