since ‎30-05-2017
‎10-12-2019
andrewgats
Level 2
Re: Rules do not fire
Avatar

andrewgats

andrewgats
- Dynamic Tag Management
If you are comfortable with using the javascript debugging tool within a browser, I recommend using the DTM's debug logging. More complete information is available in the DTM Object Reference.But, you can execute the comment _satellite.setDebug(true);This will turn on the logging in your console. These logs will tell you all the rules and events that DTM executed and captured.[img]dtm-debug.png[/img]

Views

709

Like

1

Replies

0
Re: DTM Populating custom event with an incrementor
Avatar

andrewgats

andrewgats
- Dynamic Tag Management
No problem. I found this during my evaluation of the custom code feature. I was able to find it pretty easily because the staging version of satellite code is pretty human readable.

Views

450

Likes

0

Replies

0
Re: DTM Populating custom event with an incrementor
Avatar

andrewgats

andrewgats
- Dynamic Tag Management
Hi Matthew,The AppMeasurement is sort of made available directly in the Custom Page Code Editor for Adobe SiteCatalyst. All the code that you put in the editor will be run in a function by DTM and the "s" object is being pass as an argument. This pattern has worked for me,// Get AppMeasurement from the arguments passed by the callee var s = arguments[1] || null; // Add my custom events if ( s ) { s.events += ",event32"; } Here is the screenshot[img]dtm-custom.png[/img]

Views

350

Like

1

Replies

0
DTM Production Embed Code Never Caches? [SOLVED] It is getting cached
Avatar

andrewgats

andrewgats
- Dynamic Tag Management
Is this true? Or am I reading the HTTP response headers wrong?[img]dtm-http-header.png[/img] It seems like all the scripts from DTM are not cached. I am new to DTMs, and it just seems wrong to not cache anything client-side. [SOLVED]I was reading the headers incorrectly and DTM code is getting caching by the browser. Thanks for all your responses.

Views

1.9K

Likes

0

Replies

2
Re: DTM Custom Code Data Rules Evaluates Everytime
Avatar

andrewgats

andrewgats
- Dynamic Tag Management
Hi Jeff,My comment is about accessing a data element with with custom code will run that custom code each time.Say I have a data element of the name, "currentSearchQuery" and it uses custom javascript for its' value. Every where I access "currentSearchQuery", my custom javascript is run every time. So if I use it for a rule condition, tag value or calling it directly with _satellite.getVar, my custom javascript is re-run.

Views

3.5K

Likes

0

Replies

2
DTM Custom Code Data Rules Evaluates Everytime
Avatar

andrewgats

andrewgats
- Dynamic Tag Management
It seems like the custom code used within a Data Element is executed every time it is used in a page load and events. I feel that this could possible pain point for some custom code, especially if it is something that takes a long time to run. Couldn't the custom code be memorized in the _satellite?

Views

3.7K

Like

1

Replies

4
Likes given to
Likes from