- Posts: 179
- Thank you received: 1
Please Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.