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
BedrockMission!

Learn More

View all

Sign in to view all badges

DTM Multiple Page Tags Firing

Avatar

Avatar
Validate 1
Level 2
jayak13010535
Level 2

Likes

4 likes

Total Posts

44 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
jayak13010535
Level 2

Likes

4 likes

Total Posts

44 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
jayak13010535
Level 2

08-06-2017

Hi Rudy,

I can also see, DTM Page Load Rules are firing twice. I have put these rules to be fired at the bottom of the page but not sure what causing them to fire twice. Yes, I can see a lot of legacy scode in DTM Analytics Editor where lot of analytics variables are getting set.

But, how is that making my Rules to fire twice? As per my understanding, scode legacy code will override the variables already set by DTM Rules since doPlugins is the last function which gets called before sending image request to Analytics Server. But, I am just trying to understand why this is making my rules to fire twice and what can I do rectify this?

I am looking for a solution urgently since this is affecting our production site.

Thanks in advance,

-J

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

337 likes

Total Posts

2,286 posts

Correct Reply

815 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

337 likes

Total Posts

2,286 posts

Correct Reply

815 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

13-06-2017

As far as I'm aware, dynamically inserting the DTM footer code is not a supported deployment method. Is there any reason you can't have the footer code included statically with the page?

Answers (3)

Answers (3)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

337 likes

Total Posts

2,286 posts

Correct Reply

815 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

337 likes

Total Posts

2,286 posts

Correct Reply

815 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

21-07-2017

Any updates here? Were you able to solve the issue?

Avatar

Avatar
Validate 1
Level 2
jayak13010535
Level 2

Likes

4 likes

Total Posts

44 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
jayak13010535
Level 2

Likes

4 likes

Total Posts

44 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
jayak13010535
Level 2

09-06-2017

I am afraid, I can not share the URL since this needs VPN login. But looks like, since I am making a callback function to include DTM footer code dynamically (which is taking time on page load) and before it gets included, page already reaches into 'DOM Ready' state and DTM realizes that pagebottom Rules haven't been fired yet.  Hence, DTM makes a call to 'pagebottom trigger function' from the DOM ready state which triggers all the pagebottom rules. And then later, when DTM footer code gets included, this makes a call again to pagebottom rules.

If I change the condition of the rule to 'DOM Ready' state, this gets fired only once.

This is my assumption that this is how DTM load order works.

Please correct me if I am wrong and let me know if there is anyway I can make this work without changing condtion to 'DOM ready' state.

Avatar

Avatar
Boost 5
Employee
Rudi_Shumpert
Employee

Likes

8 likes

Total Posts

64 posts

Correct Reply

24 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile

Avatar
Boost 5
Employee
Rudi_Shumpert
Employee

Likes

8 likes

Total Posts

64 posts

Correct Reply

24 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 5
View profile
Rudi_Shumpert
Employee

09-06-2017

Can you provide a link where we can see this ?