Registration confirmation url different by event (For Analytics objectives)

  • Frédéric Bianchi
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 11 months ago #124943 by Frédéric Bianchi
Hello,
sorry, but i cant find where to put this custom url... ?
Can you tell me.

Regards

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

  • Frédéric Bianchi
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 5 months ago - 4 years 5 months ago #129420 by Frédéric Bianchi

Eero wrote: Hey Frédéric, I found one way to do this. If you use Google Tag Manager for logging events for Analytics on the website, you could add the scripts to custom "thank you" message field in each event.

So for example, you can write a custom "thank you" message like this:

Code:
<p>Thank you! Mark the date [EVENT_DATE] in your calendar.</p> <p>[REGISTRATION_DETAIL]</p> <p>See you at the event!</p> <YYY> windowXXX.dataLayerXXX = windowXXX.dataLayerXXX || []; windowXXX.dataLayerXXX.pushXXX({ 'eventXXX' : 'formSubmission', 'formIDXXX' : 'name-for-google-analytics-to-track' }); </YYY>

(Remove the "XXX" from the above and replace YYY with "script". The forum firewall doesn't let me post the exact script.)

In this way, Analytics would know exactly what event the customer registered into.

Of course, it would be nice to see something less manual than this, but until options like that exist, this will do.


Hello,
i will use your code directly in the conversion tracking field for each plan. I am in Membership Pro now and it will be perfect with GTM.
So thank you for this :) Even if it is 6 months later...
Last edit: 4 years 5 months ago by Frédéric Bianchi.

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

Moderators: Tuan Pham Ngoc