Challenging question: How to push to DataLayer for GTM ?

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 11 months ago #116257 by Andrea
Tuan, this is great, it works like charme.

Thanks!!

Andrea.

Visit my page! www.elementotango.it

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #116261 by Donal

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

Is there anyway to differentiate between waiting list additions and registrations using this code?

Please Log in or Create an account to join the conversation.

More
6 years 11 months ago #116262 by Tuan Pham Ngoc
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

Please Log in or Create an account to join the conversation.

  • Andrea
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
6 years 11 months ago - 6 years 11 months ago #116264 by Andrea
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.

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.

More
6 years 11 months ago #116265 by Donal
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.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc