Reputation: 1
I have created custom event for "New Registrations". Added Datalayer:
window.dataLayer.push({ 'event' : 'RegistrationSuccessful', 'formName' : 'Register Form' });
Now, When I am debugging a page, getting message "Tags Not Fired On This Page" but on the left side it shows Registration Successful. (Please see the screenshot)enter image description here
Can Anyone help me out with this?
Upvotes: 0
Views: 407
Reputation: 245
I think you should try removing the form id condition from your trigger. From your screenshots that's the only possible problem I can see. It should also be unnecessary if you've set your dataLayer event push up properly.
Upvotes: 0
Reputation: 1418
You are confusing Tags and Events. If you wish to fire your 'Register Form' tag on 'RegistrationSuccessful' event you first have to setup new trigger in your GTM e.g. go to Triggers -> NEW
Once you save this trigger you can assing it to your 'Register Form' Tag like this: go to Tags -> Register Form Tag
You should be all set but I would recomend looking up help pages: https://support.google.com/tagmanager/answer/6103657?hl=en
Good luck.
Upvotes: 1