#Ridwan-startuphuset
1 messages · Page 1 of 1 (latest)
Hello
hey there!
Is this not working the way you expect it to?
You linked to docs for what you ask, did you try it?
What do you mean? What are you trying to do?
I want to add custom text
I am trying to add a tracking code to the check-out page
But i dont know how to acces this page, where i can add the tracking script
Do you have an existing checkout integration you're trying to modify?
Or are you trying to build this new?
I dont have a existing
It is a new
This say i have to install the libaries to acces. Do you know how i install "the libaries"
That's what the snippet below shows, adding the stripe SDK dependency to your java app
Taking a step back, there's a lot to build here if you currently have no app
While it does not currently support the custom text you asked about, have you looked at Payment Links?
https://stripe.com/docs/payments/payment-links
I only want to add a tracking code to the check out page
Sure, but you don't currently have a checkout page
So what you're actually trying to do is build a checkout integration
TEST KONTO
Which you can do! But you do need to be familiar with the app development, and it seems like you're having trouble with that
I have created this payment link. And i want to add a javascript tracking code to the confirmation page
Does it make sense?
I dont want to create an app or any app development
And i want to add a javascript tracking code
Ok this is different than what I though you meant from the initial link
When you set up payment links, you can choose to redirect to your own custom success page, and you can perform any tracking you want there
Note that you can optionally add UTM codes to your payment link URLs:
https://stripe.com/docs/payments/payment-links#utm-codes
Look in this youtube video he is adding google analytics tracking code to the check out page
And thank you page
But i dont know how to get acces to this point, where i can add the tracking code
Where do you see them adding such tracking? You've shared a screenshot of a video that shows a filename.
I would guess they are creating a customized success page, and tying whatever tracking they want to the resulting session ID using this approach:
https://stripe.com/docs/payments/checkout/custom-success-page#modify-success-url
You can get the session ID on your success page and use it how you like
But as I said: you are jumping ahead when really you need to decide whether to build this integration at all
If you merely want to apply an internal tracking ID from your system to Stripe Checkout sessions, then you can do that using payment links eg by setting the client_reference_id via URL parameters too:
https://stripe.com/docs/payments/payment-links#more-payment-links-tasks
So there is no way i can just add this tracking code to the confirmation page?
Not on checkout directly, no, this is something you'd need to build yourself
Have you checked the screenshot i have send you with the tracking code
Yes, that's something that would go in your own integration
So do i have to download a plugin to add it?
You need to build a website/application to create checkout sessions and/or receive redirects from successful checkout sessions and do what you like there
You need to provide a lot more clarity on what you're using for payments today and what you're trying to change. You're asking about very specific things you want to do when it sounds like you don't have an integration in place at all yet.
I am using stripe as payment
Because usually on other platforms it is easy just to add a tracking code to the check-out page
That is why i am very confused with this
I'm going to suggest you evaluate Payment Links as a suitable option giventhe features noted above, or if you really want to build your own Checkout flow, you need to carefully work through the guides you're looking at to build that integration. By doing this it should become more clear how to add the things you're asking about.
I am using stripe as payment
How are you doing this, currently?
Currently i am using simplero, where the payment is happening. And as you can see it is much easier just to add the tracking code here at the "thank you page"
And i wanted to use the stripe payment link to make the customers pay. But unfortunately it is not possible to add tracking code