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

andrewgats
Community profile andrewgats Level 2
Job title here
Location here
7 BADGES
Level 2

Level 2

Learn more
Joined the community 30-05-2017 7:14:59 AM
Offline
Top badges earned by andrewgats
Customize the badges you want to showcase on your profile
Re: Rules do not fire
Avatar
Ignite 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 3
View profile
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

774

Like

1

Replies

0
Re: DTM Populating custom event with an incrementor
Avatar
Ignite 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 3
View profile
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

494

Likes

0

Replies

0
Re: DTM Populating custom event with an incrementor
Avatar
Ignite 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 3
View profile
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

390

Like

1

Replies

0
DTM Production Embed Code Never Caches? [SOLVED] It is getting cached
Avatar
Ignite 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 3
View profile
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

2.0K

Likes

0

Replies

2
Re: DTM Custom Code Data Rules Evaluates Everytime
Avatar
Ignite 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 3
View profile
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.7K

Likes

0

Replies

2
DTM Custom Code Data Rules Evaluates Everytime
Avatar
Ignite 1
Level 2
andrewgats
Level 2

Likes

3 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 1
Give Back 3
Give Back
Validate 1
Boost 3
View profile
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.8K

Like

1

Replies

4
Likes given to
Likes from