How to Track Account Creation Events in Google Tag Manager and Send Data to Google Ads and Analytics Answered
Hello everyone,
I'm looking for a way to go back to the account creation event in Google Tag Manager.
How can I upload this information to the datalayer?
I want to track the account creation event to send its data to Google Ads, and why not to Google Analytics.
Thanks 🙂
Comments
4 comments
Hello Nicolas,
Let me give you some tips. But basically how you would handle it for Memberstack it would be for any other page. Using Google Tag Manager is standard for everything. Just keep in mind, I'm going to be talking about sending data to the dataLayer. How you want to connect it with difference services is another topic.So, for your specific user case that is account creation you can do it in a numerous ways.
Hello Raquel Lopez,
Thank you for your comprehensive reply!I finally found this solution:Add this script to the redirect page after creating the account:
And in GTM I add a trigger as soon as the ‘
memberstack_account_created
’ event is triggered in the DOM.Yes, that's a valid approach as well. You're redirecting your users to a page with query parameters, like a success page and fire an event from there. Like I said there are multiple ways of getting to the same solution. I think you don't even need to write code if you use the redirection method. And you can configure the tag to fire once per user (since the user is registered). But anyways. What you did, is enough🙂
Thanks Raquel Lopez, I'll try your solution.
Please sign in to leave a comment.