0

I was going through stripe.com's source code and noticed pretty much all their links have these attibutes:

data-analytics-action="" 
data-analytics-source="" 
data-convert-cta=""

Obviously these are used to track where the user is clicking from, however I can't find any information how to use them within Google Analytics or another Analytics software.

How do I actually set something like this up?

  • Those are not something I've ever seen in reading quite a bit of GA and GTM documentation, including for the API. They look like custom data attributes that other custom Stripe code will use - perhaps to build objects to push into the datalayer for GA's use, perhaps to create destinations for clicks that are handled by JS, perhaps for other uses, including analytics that aren't Google. – Reve May 26 at 19:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.