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

michaelj9108429
Community profile michaelj9108429 Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 15-06-2017 12:42:13 PM
Offline
Top badges earned by michaelj9108429
Customize the badges you want to showcase on your profile
Re: Event Listeners Firing Multiple Times -How to Implement?
Avatar
Give Back 200
Community Advisor
StewSchilling
Community Advisor

Likes

346 likes

Total Posts

279 posts

Correct reply

85 solutions
Top badges earned
Give Back 200
Ignite 5
Ignite 3
Give Back 100
Give Back 50
View profile
StewSchilling
- Dynamic Tag Management
It seems pretty strange that you have DTM event rules that run JS code which adds/removes eventListeners. When you create a DTM event-based rule, it is creating the listener for you. I think I would suggest creating DTM event rulesOne triggered by the 'change' event on `#mainForm:cont` Another triggered by the 'blur' event on `#mainForm:cont2`BTW, I suspect that what you are presently seeing is that your DTM rule keeps adding event listeners. This is compounded by the fact that your removeEventL...

Views

3.7K

Likes

0

Replies

0
Re: Appmeasurement Library loading Twice in DTM?
Avatar
Give Back
Level 1
michaelj9108429
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

1 solution
Top badges earned
Give Back
Ignite 1
Affirm 1
View profile
michaelj9108429
- Dynamic Tag Management
Found out the app-measurement library was being initialized twice.

Views

851

Likes

0

Replies

0