Hello.
Is it possible to set autocapture directly through the amplitude template in GTM? I can't find such an option.
Thank you for your question!
This is Liping Yin from Amplitude Technical Support Team. I am happy to help!
May I know are you referring to server side GTM template or client side GTM template?
Looking forward to hearing from you!
Best regards,
Liping Yin | Technical Support Engineer
Amplitude
P.S. Checkout upcoming events and user meetups on our events page.
Hi Michał,
Thank you for your question!
This is Liping Yin from Amplitude Technical Support Team. I am happy to help!
May I know are you referring to server side GTM template or client side GTM template?
Looking forward to hearing from you!
Best regards,
Liping Yin | Technical Support Engineer
Amplitude
P.S. Checkout upcoming events and user meetups on our events page.
Hello there.
I’m referring to client side GTM template. I assume that I could just do this in GTM tag:
<script>
window.amplitude.init("AMPLITUDE_API_KEY", {
autocapture: { elementInteractions: true }
});
</script>
but I believe this is not the best way to do so.
Reply
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comWelcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.