Challenging question: How to push to DataLayer for GTM ?
- Andrea
-
Topic Author
- Offline
- Elite Member
-
Less
More
6 years 11 months ago #116257
by Andrea
Visit my page! www.elementotango.it
Replied by Andrea on topic Challenging question: How to push to DataLayer for GTM ?
Tuan, this is great, it works like charme.
Thanks!!
Andrea.
Thanks!!
Andrea.
Visit my page! www.elementotango.it
Please Log in or Create an account to join the conversation.
- Donal
- Offline
- Elite Member
-
Less
More
- Posts: 240
- Thank you received: 17
6 years 11 months ago #116261
by Donal
Replied by Donal on topic Challenging question: How to push to DataLayer for GTM ?
Is there anyway to differentiate between waiting list additions and registrations using this code?Tuan Pham Ngoc wrote: I don't know about GTM, so I could not answer this question. In Events Booking -> Configuration, there is a config option called Conversion tracking code . You can put any code you want there and it will be rendered on registration complete page
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
6 years 11 months ago #116262
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Challenging question: How to push to DataLayer for GTM ?
Hi Donal
At the moment, there is no way to differentiate between these registrations. Maybe in waiting list, we should not output this code? Same for free registration?
Tuan
At the moment, there is no way to differentiate between these registrations. Maybe in waiting list, we should not output this code? Same for free registration?
Tuan
Please Log in or Create an account to join the conversation.
- Andrea
-
Topic Author
- Offline
- Elite Member
-
6 years 11 months ago - 6 years 11 months ago #116264
by Andrea
Visit my page! www.elementotango.it
Replied by Andrea on topic Challenging question: How to push to DataLayer for GTM ?
I don't use the "waiting list" feature, but the URL of the two cases is the same ? If Donal uses Google Tag Manager like I do, then having two diffetent URLs would be perfect, as he can set the tag to fire on the specific URL containing "....." in the case of good registration.
For example, if the "normal" success URL ends with "../registration-complete.html", the "waiting list" one could be made by Tuan to end with "../registration-complete?waitinglist=yes" by simply adding the parameter to the end of the URL. From a coding perspective, it should be easy I hope; from a GTM perspective, it will solve the issue.
If the URL of the "waiting list" mode already now differs from the "normal" registration URL, then it is already perfect.
(note GTM can be used with any kind of tracking code: Analytics, Ads, FaceBook, ..)
This is my 2 cents, hope it helps.
Regards Andrea.
For example, if the "normal" success URL ends with "../registration-complete.html", the "waiting list" one could be made by Tuan to end with "../registration-complete?waitinglist=yes" by simply adding the parameter to the end of the URL. From a coding perspective, it should be easy I hope; from a GTM perspective, it will solve the issue.
If the URL of the "waiting list" mode already now differs from the "normal" registration URL, then it is already perfect.
(note GTM can be used with any kind of tracking code: Analytics, Ads, FaceBook, ..)
This is my 2 cents, hope it helps.
Regards Andrea.
Visit my page! www.elementotango.it
Last edit: 6 years 11 months ago by Andrea.
Please Log in or Create an account to join the conversation.
- Donal
- Offline
- Elite Member
-
Less
More
- Posts: 240
- Thank you received: 17
6 years 11 months ago #116265
by Donal
Replied by Donal on topic Challenging question: How to push to DataLayer for GTM ?
I wasn't really thinking when I posted that question.... the waiting list success is already a different URL.
Tuan, all types of conversions need to contnue to be trackable. Sales are obviously worth X, but waiting list joins are also very valuable when tracking the success of a campaign.
Tuan, all types of conversions need to contnue to be trackable. Sales are obviously worth X, but waiting list joins are also very valuable when tracking the success of a campaign.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.