Hello team, I'm Renato. I'm using rudder_sdk-v1 An...
# support
p
Hello team, I'm Renato. I'm using rudder_sdk-v1 And I use rudderstack to track my page, and I can't save the click and navigation events in my database. OBS: The event takes place in rudderstack's Live Events, it crashes when it goes to insert it in the bank, I was searching on the internet and I saw that there is an option to manage the events of my destinations, but in my interface it does not appear, only the live events appear. I would like to know if you have any solution for this, or some way to pass some parameter through javascript.
m
Hi Renato, first question why are you using a http source to send data from your website. Why not use a JS source? Also can you share the sample event payload that your are sending?
p
I'm going to save click events in my HTML pages, and form submissions.
image.png
These are my relationships between sources and destinies
m
But won't this be easy with a JS source? Can you share your website? Also the sample payload? So for a standard event whatever is within the properties object is sent to the destination.
p
How does postgresql model linking work? I created user, gave permission and external access. When I go to save, I get this error... I just wanted to configure the model and configure the events with the models , and automate and save the event returns in my database
m
Hi Renato do you want to add postgres as a source or destination?
p
destination
m
Is it possible to tries to setup Postgres as a source instead of a destination because the schema permission _rudderstack is related to Postgres as a source.
p
But how, being that I want to track my page and the result of that tracking save in my postgres ? In this case, postgres would be my destination and not my source
m
That is correct, but can you try setting up Postgres once more. I will raise a ticket with the team if you continue to face this issue.
p
I did it, I create the model and it works. There's a step of setting up a query. My question is: where do I get the send payload and save it in my model?
m
My question is: where do I get the send payload and save it in my model?
I did not understand this. You get the payload from the source
p
How does rudderstack receive this payload and save it to Postgres? Would it be through the model? I created the model, but I didn't really understand how it works in this process.
m
No it is through tables. So event-wise tables are created and the Schema name is source name (or you can define the schema). See docs
g
@polite-dusk-11065 can you help me understand 1. What is the use case you have? 2. Why don't you use rudderstack-sdk-v3 to collect events from your website? 3. If you can also mention which documentation page are you following, that will be helpful