since ‎30-05-2017
‎10-12-2019
andrewgats
Level 2
Re: Rules do not fire 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]
689
Views
1
Like
0
Answers
Re: DTM Populating custom event with an incrementor 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.
426
Views
0
Likes
0
Answers
Re: DTM Populating custom event with an incrementor 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]
327
Views
1
Like
0
Answers
DTM Production Embed Code Never Caches? [SOLVED] It is getting cached 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.
1854
Views
0
Likes
2
Answers and Comments
Re: DTM Custom Code Data Rules Evaluates Everytime 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.
3460
Views
0
Likes
2
Replies
DTM Custom Code Data Rules Evaluates Everytime 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?
3578
Views
1
Like
4
Replies
Likes given to
Likes from